> @@ -55,12 +56,70 @@ mac80211_hostapd_setup_base() {
> append base_cfg "ieee80211n=1" "$N"
>
> ht_capab=
> - [ -n "$htmode" ] && ht_capab="[$htmode]"
> + case "$htmode" in
> + HT20|HT40-|HT40+) ht_capab="[$htmode]";;
> + VHT40|VHT80|VHT160) ht_capab="[HT40+]";;
> + esac
> for cap in $ht_capab_list; do
> ht_capab="$ht_capab[$cap]"
> done
I don't think that you can set ht_capab="[HT40+]" indiscriminately here.
If I pick channel 40, for example, it must be [HT40-] or otherwise
hostapd will refuse to start.
Matti
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel