mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-14 21:10:11 +01:00
-------------------------------------------------------------------------------
* f23b71a cntlr: log radar detection at default loglevel
* 420e54a improve scanning for watchlist nodes
* 71c4a7a cntlr: add return status for cntlr_cmd
* 7fe863b cntlr: channel switch in 'local' agent upon radar event
* 8452d42 cntlr: handle radar events in network
* d010d49 wip: radar detect functionality added to cntlr
-------------------------------------------------------------------------------
commit f23b71acd4312fa4eacca61cc4170b164da60c9a
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-01-02 15:01:47 +0100
cntlr: log radar detection at default loglevel
Base directory -> /
src/agent.c | 2 ++
src/cntlr.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 420e54a2f51364f7411da01016b2b0b33596eb40
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-01-02 14:03:58 +0100
improve scanning for watchlist nodes
Base directory -> /
src/agent.c | 5 +++--
src/cntlr.c | 28 ++++++++++++++++++++--------
2 files changed, 23 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 71c4a7ac5a39d158557700b87097d2a575a815f9
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2019-01-02 14:01:01 +0100
cntlr: add return status for cntlr_cmd
Base directory -> /
src/cntlr_comm.h | 2 +-
src/cntlr_comm_ubus.c | 3 ++-
src/comm.c | 9 ++++++---
3 files changed, 9 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7fe863b59356c144f622b9dec125aaf6fc294cd5
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-28 16:54:27 +0100
cntlr: channel switch in 'local' agent upon radar event
Base directory -> /
src/agent.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/cntlr.c | 37 ++++++++++++++++++++++++++++------
src/comm.c | 15 ++------------
src/comm.h | 9 +++++++++
4 files changed, 109 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
commit 8452d42d454e11fbb774d21fc85e4f0255d4888d
Author: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: 2018-12-27 15:53:49 +0100
cntlr: handle radar events in network
Base directory -> /
src/agent.c | 67 +++++++++++++-
src/cntlr.c | 300 +++++++++++++++++++++++++++++++-----------------------------
src/cntlr.h | 13 ++-
src/comm.h | 2 +
4 files changed, 232 insertions(+), 150 deletions(-)
-------------------------------------------------------------------------------
commit d010d49d3935e9ec243c8f0225dfdd491067bd40
Author: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: 2018-12-21 16:36:09 +0100
wip: radar detect functionality added to cntlr
Base directory -> /
src/cntlr.c | 241 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
src/cntlr.h | 11 +++
2 files changed, 242 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
64 lines
1.7 KiB
Makefile
64 lines
1.7 KiB
Makefile
#
|
|
# Copyright (C) 2018 Iopsys
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=wifilife
|
|
PKG_VERSION:=1.0.2
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_SOURCE_VERSION:=f23b71acd4312fa4eacca61cc4170b164da60c9a
|
|
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@iopsys.eu>
|
|
|
|
ifeq ($(CONFIG_WIFILIFE_OPEN),y)
|
|
TARGET_PROD=$(shell echo $(CONFIG_TARGET_BOARD) | sed s/\"//g)
|
|
PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/
|
|
PKG_SOURCE:=$(PKG_NAME)-$(TARGET_PROD)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
|
|
else
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=git@dev.iopsys.eu:iopsys/wifilife.git
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
|
|
endif
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/wifilife
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=WiFi multi-AP Controller/Agent
|
|
DEPENDS:=+libwifi +libuci +libubox +ubus
|
|
endef
|
|
|
|
define Package/wifilife/description
|
|
This package manages wifi in multi-AP deployment.
|
|
Supports smart steering of WiFi clients based on
|
|
802.11k,v and r.
|
|
endef
|
|
|
|
define Package/wifilife/config
|
|
source "$(SOURCE)/Config.in"
|
|
endef
|
|
|
|
ifeq ($(CONFIG_WIFILIFE_OPEN),y)
|
|
define Build/Compile
|
|
endef
|
|
endif
|
|
|
|
TARGET_CFLAGS += \
|
|
-I$(STAGING_DIR)/usr/include \
|
|
-I$(STAGING_DIR)/usr/include/libnl3 \
|
|
-D_GNU_SOURCE
|
|
|
|
MAKE_PATH:=src
|
|
|
|
define Package/wifilife/install
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/wifilife.init $(1)/etc/init.d/wifilife
|
|
$(INSTALL_DIR) $(1)/etc/uci-defaults
|
|
$(INSTALL_BIN) ./files/etc/uci-defaults/997-wifilife-add-owsd-wifi \
|
|
$(1)/etc/uci-defaults/997-wifilife-add-owsd-wifi
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wifiagent $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,wifilife))
|