Developing lightweight computation at the DSG edge

Commit d93cd4c2 authored by hitz's avatar hitz
Browse files

Added /etc/init.d/firewall

parent 820a762d
......@@ -23,10 +23,6 @@ nano feeds.conf # adapt path to .../13f/packages
./scripts/feeds update -a
./scripts/feeds install -a
## Only for HT40+ (MiMo) and ath9k
mv ../qmp/files/etc/config/wireless ../qmp/files/etc/config/wireless_g
mv ../qmp/files/etc/config/wireless_n ../qmp/files/etc/config/wireless
## Configuring system
make menuconfig
* Target System (BCM947xxx, x86, atheros,...)
......@@ -45,11 +41,13 @@ make menuconfig
cp ../qmp/patches/004-ibss.patch package/mac80211/patches/
cp ../qmp/patches/002-ibss_ht40.patch package/iw/patches/
patch -p1 -i ../qmp/patches/mac80211.sh_ht40.patch package/mac80211/files/lib/wifi/mac80211.sh
rm package/mac80211/patches/542-mac80211_enable_iftype_wds_aggregation.patch
## Compiling
make kernel_menuconfig
(* General Setup -> Small Systems -> ELF Core dumps )
(* Networking -> options -> IPv6 -> routing-tables )
(* File systems -> Dnotify support && Inotify file change notification support && Inotify support for userspace )
time make V=99
......
......@@ -10,10 +10,9 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=qmp-small-node
PKG_RELEASE:=1
PKG_SOURCE_URL:=@SF/qmp-small-node
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
#PKG_SOURCE_URL:=@SF/qmp-small-node
#PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
......@@ -54,6 +53,20 @@ define Package/qmp-small-node/description
Addons for small qmp nodes (4MByte flash)
endef
define Package/qmp-small-node/conffiles
/etc/config/qmp
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/qmp-small-node/install
$(CP) ./files/* $(1)/
chmod 755 $(1)/etc/init.d/qmp_autoconf
......@@ -61,3 +74,4 @@ endef
$(eval $(call BuildPackage,qmp-small-node))
......@@ -13,7 +13,7 @@ diff -Nrup a/ibss.c b/ibss.c
argv++;
argc--;
+ if (argc && parse_channel_typ.e(argv[0], &htval)) {
+ if (argc && parse_channel_type(argv[0], &htval)) {
+ NLA_PUT_U32(msg, NL80211_ATTR_WIPHY_CHANNEL_TYPE, htval);
+ argv++;
+ argc--;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment