dcwifi: Add Dual Channel Wi-Fi component packages

dcstad: Dual Channel Wi-Fi Station Daemon
dcwapd: Dual Channel Wi-Fi Access Point Daemon
libdcwproto: Dual Channel Wi-Fi Protocol Library
libdcwsocket: Dual Channel Wi-Fi Socket Library
macremapper: MAC Address Remapper Linux Kernel Module
mrmctl: Userland tool to get/set remap rules

Signed-off-by: Carey Sonsino <careys@edgewaterwireless.com>
Signed-off-by: Carey Sonsino <csonsino@gmail.com>

Much help from @neheb
This commit is contained in:
Carey Sonsino
2019-10-02 13:34:11 +00:00
parent 4f717a6f65
commit 9129b75fff
23 changed files with 1549 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
#
# Copyright (C) 2019 EWSI
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=dcstad
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/ewsi/$(PKG_NAME)/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=3b146ea22bc5480d8264c5ea269831d25993673aa90a9e82dc2dc601a111da55
PKG_MAINTAINER:=Carey Sonsino <careys@edgewaterwireless.com>
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
define Package/dcstad
SECTION:=net
CATEGORY:=Network
SUBMENU:=Routing and Redirection
TITLE:=Dual-Channel WiFi client daemon
URL:=https://www.edgewaterwireless.com
DEPENDS:=+libdcwsocket +libdcwproto
endef
define Package/dcstad/description
Implementation of the Dual-Channel WiFi client daemon
endef
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
TARGET_LDFLAGS += -Wl,--gc-sections
define Package/dcstad/install
$(INSTALL_DIR) $(1)/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dcstad $(1)/bin/
endef
$(eval $(call BuildPackage,dcstad))
@@ -0,0 +1,11 @@
--- a/src/main.c
+++ b/src/main.c
@@ -190,7 +190,7 @@ main( int argc, char *argv[] ) {
rv = 1; /* failure unless proven otherwise */
/* first initialize and parse the command line */
- bzero(&cfg, sizeof(cfg));
+ memset(&cfg, 0, sizeof(cfg));
parse_cmdline(&cfg, argc, argv);
dcwloginfof("%s\n", "DCW Station Daemon Starting Up...");