On Friday 31 January 2014 08:38:40 Matti Laakso wrote:
> > @@ -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

How do you want to proceed to avoid this channel autoconfig from your patch?

Kind regards,
        Sven

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to