config_add_string hwmode
config_add_int beacon_int chanbw frag rts
config_add_int rxantenna txantenna antenna_gain txpower distance
- config_add_boolean noscan
+ config_add_boolean noscan ht_coex
config_add_array ht_capab
config_add_boolean \
rxldpc \
[ "$auto_channel" -gt 0 ] && channel=acs_survey
- json_get_vars noscan
+ json_get_vars noscan ht_coex
json_get_values ht_capab_list ht_capab
ieee80211n=1
[ -n "$ieee80211n" ] && {
append base_cfg "ieee80211n=1" "$N"
+ set_default ht_coex 0
+ append base_cfg "ht_coex=$ht_coex" "$N"
+
json_get_vars \
ldpc:1 \
greenfield:0 \
config_add_array supported_rates
config_add_string country
- config_add_boolean country_ie doth ht_coex
+ config_add_boolean country_ie doth
config_add_string require_mode
hostapd_add_log_config
local base="${config%%.conf}"
local base_cfg=
- json_get_vars country country_ie beacon_int doth require_mode ht_coex
+ json_get_vars country country_ie beacon_int doth require_mode
hostapd_set_log_options base_cfg
set_default country_ie 1
set_default doth 1
- set_default ht_coex 0
- append base_cfg "ht_coex=$ht_coex" "$N"
[ -n "$country" ] && {
append base_cfg "country_code=$country" "$N"