mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
hostapd: add script support for acs_exclude_6ghz_non_psc
Fixes: WIFI-14187 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -34,7 +34,7 @@ drv_mac80211_init_device_config() {
|
||||
config_add_int radio beacon_int chanbw frag rts
|
||||
config_add_int rxantenna txantenna txpower min_tx_power
|
||||
config_add_int num_global_macaddr multiple_bssid
|
||||
config_add_boolean noscan ht_coex acs_exclude_dfs background_radar
|
||||
config_add_boolean noscan ht_coex acs_exclude_dfs acs_exclude_6ghz_non_psc background_radar
|
||||
config_add_array ht_capab
|
||||
config_add_array channels
|
||||
config_add_array scan_list
|
||||
@@ -144,6 +144,11 @@ mac80211_hostapd_setup_base() {
|
||||
[ -n "$acs_exclude_dfs" ] && [ "$acs_exclude_dfs" -gt 0 ] &&
|
||||
append base_cfg "acs_exclude_dfs=1" "$N"
|
||||
|
||||
[ "$auto_channel" -gt 0 ] && json_get_vars acs_exclude_6ghz_non_psc
|
||||
[ -n "$acs_exclude_6ghz_non_psc" ] && [ "$acs_exclude_6ghz_non_psc" -gt 0 ] &&
|
||||
[ "$band" = 6g ] &&
|
||||
append base_cfg "acs_exclude_6ghz_non_psc=1" "$N"
|
||||
|
||||
json_get_vars noscan ht_coex min_tx_power:0 tx_burst
|
||||
json_get_values ht_capab_list ht_capab
|
||||
json_get_values channel_list channels
|
||||
|
||||
Reference in New Issue
Block a user