From patchwork Tue Nov 19 14:06:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [2/2] fff-wireless: improve treatment of dysfunctional rssileds From: Adrian Schmutzler X-Patchwork-Id: 1216 Message-Id: <20191119140627.2593-2-freifunk@adrianschmutzler.de> To: franken-dev@freifunk.net Date: Tue, 19 Nov 2019 15:06:27 +0100 The rssileds set up by OpenWrt cannot be used in our firmware. Despite that those are bound to "wlan0" initially, we also cannot change them to one of our interfaces, as the interface recreation due to configurehood seems to break something in rssileds, causing high load. This patch now disables the rssileds entirely, which has been found to be the only solution reliably solving the problem of high load under all circumstances. While at it, add all remaining devices with rssileds enabled in openwrt-18.06. (When updating to openwrt-19.07, most of the ubnt will have to be added.) Signed-off-by: Adrian Schmutzler Reviewed-by: Christian Dresel Reviewed-by: Fabian Bläse Reviewed-by: Fabian Bläse > --- This is the result of testing by several people and has been used successfully for several months. --- src/packages/fff/fff-wireless/Makefile | 2 +- .../files/etc/uci-defaults/62-config-wireless | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/packages/fff/fff-wireless/Makefile b/src/packages/fff/fff-wireless/Makefile index 9b7b4d3f..5ae864ab 100644 --- a/src/packages/fff/fff-wireless/Makefile +++ b/src/packages/fff/fff-wireless/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=fff-wireless -PKG_RELEASE:=9 +PKG_RELEASE:=10 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) diff --git a/src/packages/fff/fff-wireless/files/etc/uci-defaults/62-config-wireless b/src/packages/fff/fff-wireless/files/etc/uci-defaults/62-config-wireless index cb057c2d..a51fe7ab 100644 --- a/src/packages/fff/fff-wireless/files/etc/uci-defaults/62-config-wireless +++ b/src/packages/fff/fff-wireless/files/etc/uci-defaults/62-config-wireless @@ -43,9 +43,11 @@ esac # rssileds case "$BOARD" in + cpe210|\ cpe210-v2|\ - cpe210-v3) - uci -q set system.rssid_wlan0.dev=radio0 - uci -q commit system + cpe210-v3|\ + cpe510|\ + tl-wa850re-v1) + /etc/init.d/rssileds disable ;; esac