forked from freifunk-franken/firmware
Add support for TP-Link CPE210 v2
With our dynamic resetting of WiFi interfaces, the rssileds of OpenWrt do not work correctly. This disables them as a workaround, since they otherwise create about 20 % CPU load. Since the MACH file for all CPE210/510 is the same, no adjustment of the OpenWrt-tiny patch is needed. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Christian Dresel <fff@chrisi01.de>
This commit is contained in:
parent
d0d6f5335f
commit
8f322c253a
|
@ -12,6 +12,8 @@ CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_archer-c7-v2=y
|
|||
CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_archer-c7-v2="-kmod-ath10k kmod-ath10k-ct"
|
||||
CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_cpe210-220-v1=y
|
||||
CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_cpe210-220-v1=""
|
||||
CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_cpe210-v2=y
|
||||
CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_cpe210-v2=""
|
||||
CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_cpe510-520-v1=y
|
||||
CONFIG_TARGET_DEVICE_PACKAGES_ar71xx_tiny_DEVICE_cpe510-520-v1=""
|
||||
CONFIG_TARGET_DEVICE_ar71xx_tiny_DEVICE_gl-ar150=y
|
||||
|
|
|
@ -6,6 +6,7 @@ images=("openwrt-${chipset}-${subtarget}-archer-c25-v1-squashfs-sysupgrade.bin"
|
|||
"openwrt-${chipset}-${subtarget}-archer-c60-v1-squashfs-sysupgrade.bin"
|
||||
"openwrt-${chipset}-${subtarget}-archer-c7-v2-squashfs-sysupgrade.bin"
|
||||
"openwrt-${chipset}-${subtarget}-cpe210-220-v1-squashfs-sysupgrade.bin"
|
||||
"openwrt-${chipset}-${subtarget}-cpe210-v2-squashfs-sysupgrade.bin"
|
||||
"openwrt-${chipset}-${subtarget}-cpe510-520-v1-squashfs-sysupgrade.bin"
|
||||
"openwrt-${chipset}-${subtarget}-gl-ar150-squashfs-sysupgrade.bin"
|
||||
"openwrt-${chipset}-${subtarget}-tl-mr3020-v1-squashfs-sysupgrade.bin"
|
||||
|
|
7
src/packages/fff/fff-network/ar71xx/network.cpe210-v2
Normal file
7
src/packages/fff/fff-network/ar71xx/network.cpe210-v2
Normal file
|
@ -0,0 +1,7 @@
|
|||
WANDEV=eth0
|
||||
SWITCHDEV=eth0
|
||||
ONE_PORT="YES"
|
||||
|
||||
. /etc/network.mode
|
||||
|
||||
ROUTERMAC=$(cat /sys/class/ieee80211/phy0/macaddress)
|
2
src/packages/fff/fff-wireless/files/etc/wifi.cpe210-v2
Normal file
2
src/packages/fff/fff-wireless/files/etc/wifi.cpe210-v2
Normal file
|
@ -0,0 +1,2 @@
|
|||
uci -q set system.rssid_wlan0.dev=radio0
|
||||
uci -q commit system
|
Loading…
Reference in New Issue
Block a user