mapagent: activate ap_follow_sta_dfs for QCA

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@iopsys.eu>
This commit is contained in:
Janusz Dziedzic 2023-11-08 21:26:47 +00:00
parent 9410758de0
commit db578ec144

View file

@ -80,6 +80,7 @@ generate_multiap_config() {
ifprefix="wlan0%-" ifprefix="wlan0%-"
ifname="wlan${devidx}" ifname="wlan${devidx}"
ifname_bh="wlan${devidx}-1" ifname_bh="wlan${devidx}-1"
ap_follow_sta_dfs="1"
else else
ifprefix="wlan%-" ifprefix="wlan%-"
ifname="wlan$devidx" ifname="wlan$devidx"
@ -89,6 +90,7 @@ generate_multiap_config() {
if [ $generate_mapagent_config -eq 1 ]; then if [ $generate_mapagent_config -eq 1 ]; then
uci set mapagent.agent.ifprefix="$ifprefix" uci set mapagent.agent.ifprefix="$ifprefix"
uci set mapagent.agent.brcm_setup="$brcm_setup" uci set mapagent.agent.brcm_setup="$brcm_setup"
uci set mapagent.agent.ap_follow_sta_dfs="$ap_follow_sta_dfs"
uci add mapagent radio uci add mapagent radio
uci set mapagent.@radio[-1].device="$device" uci set mapagent.@radio[-1].device="$device"
uci set mapagent.@radio[-1].band="$mode_band" uci set mapagent.@radio[-1].band="$mode_band"