This is useful for tuning some more exotic parameters where it doesn't
make sense to attempt to cover everything in uci directly
Signed-off-by: Felix Fietkau <nbd@nbd.name>
config_add_boolean legacy_rates
config_add_string acs_chan_bias
+ config_add_array hostapd_options
hostapd_add_log_config
}
[ -n "$brlist" ] && append base_cfg "basic_rates=$brlist" "$N"
append base_cfg "beacon_int=$beacon_int" "$N"
+ json_get_values opts hostapd_options
+ for val in $opts; do
+ append base_cfg "$val" "$N"
+ done
+
cat > "$config" <<EOF
driver=$driver
$base_cfg