[PATCH] hw_features: Fix check of supported 802.11ac channel width

Jouni Malinen j at w1.fi
Tue Jul 18 04:11:23 PDT 2017


On Fri, Jun 09, 2017 at 11:39:51AM +0200, Sven Eckelmann wrote:
> The two channel width bits in the VHT capability field can be decoded in
> following values (IEEE 802.11ac-2013 8.4.2.160.2 VHT Capabilities Info
> field):
> 
>  * 0: no 160 or 80+80 MHz support
>  * 1: 160 MHz support
>  * 2: 160 and 80+80 MHz support
>  * 3: (reserved)
> 
> The check must therefore not be done bitwise but instead it must checked
> whether the capabilities announced by the driver are at least the ones
> requested by the user.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list