config_add_int rssi_reject_assoc_rssi
config_add_int rssi_ignore_probe_request
config_add_int maxassoc
+ config_add_int reg_power_type
+ config_add_boolean stationary_ap
config_add_string acs_chan_bias
config_add_array hostapd_options
json_get_vars country country3 country_ie beacon_int:100 doth require_mode legacy_rates \
acs_chan_bias local_pwr_constraint spectrum_mgmt_required airtime_mode cell_density \
rts_threshold beacon_rate rssi_reject_assoc_rssi rssi_ignore_probe_request maxassoc \
- mbssid:0
+ mbssid:0 band reg_power_type stationary_ap
hostapd_set_log_options base_cfg
[ -n "$maxassoc" ] && append base_cfg "iface_max_num_sta=$maxassoc" "$N"
[ "$mbssid" -gt 0 ] && [ "$mbssid" -le 2 ] && append base_cfg "mbssid=$mbssid" "$N"
+ [ "$band" = "6g" ] && {
+ set_default reg_power_type 0
+ append base_cfg "he_6ghz_reg_pwr_type=$reg_power_type" "$N"
+ }
+
+ set_default stationary_ap 1
+ append base_cfg "stationary_ap=$stationary_ap" "$N"
+
json_get_values opts hostapd_options
for val in $opts; do
append base_cfg "$val" "$N"