mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-20 14:07:00 +00:00
hostapd: allow reduced neighbor report configuration
Reduced neighbor reports can be enabled by setting the "rnr" uci option to 1. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
c35ff41ccc
commit
c46df4f1e2
@ -867,8 +867,9 @@ hostapd_set_bss_options() {
|
||||
[ "$bss_transition" -eq "1" ] && append bss_conf "bss_transition=1" "$N"
|
||||
[ "$mbo" -eq 1 ] && append bss_conf "mbo=1" "$N"
|
||||
|
||||
json_get_vars ieee80211k rrm_neighbor_report rrm_beacon_report
|
||||
json_get_vars ieee80211k rrm_neighbor_report rrm_beacon_report rnr
|
||||
set_default ieee80211k 0
|
||||
set_default rnr 0
|
||||
if [ "$ieee80211k" -eq "1" ]; then
|
||||
set_default rrm_neighbor_report 1
|
||||
set_default rrm_beacon_report 1
|
||||
@ -879,6 +880,7 @@ hostapd_set_bss_options() {
|
||||
|
||||
[ "$rrm_neighbor_report" -eq "1" ] && append bss_conf "rrm_neighbor_report=1" "$N"
|
||||
[ "$rrm_beacon_report" -eq "1" ] && append bss_conf "rrm_beacon_report=1" "$N"
|
||||
[ "$rnr" -eq "1" ] && append bss_conf "rnr=1" "$N"
|
||||
|
||||
json_get_vars ftm_responder stationary_ap lci civic
|
||||
set_default ftm_responder 0
|
||||
|
Loading…
Reference in New Issue
Block a user