Re: [PATCH] mac80211: ignore VHT membership selector when parsing rates

2017-03-07 Thread Arend Van Spriel
On 6-3-2017 23:01, Johannes Berg wrote: > From: Johannes Berg > > There isn't really much harm in not ignoring, since it doesn't > represent a valid rate, but since we already ignore the HT one > also ignore VHT. Also simplify the code a bit. > > Signed-off-by: Johannes Berg > --- > net/mac802

Re: [PATCH] mac80211: ignore VHT membership selector when parsing rates

2017-03-07 Thread Arend Van Spriel
On 7-3-2017 9:42, Johannes Berg wrote: > >>> >>> /* >>> -* BSS_MEMBERSHIP_SELECTOR_HT_PHY is defined in >>> 802.11n-2009 >>> -* 7.3.2.2 as a magic value instead of a rate. >>> Hence, skip it. >>> +* Skip HT and VHT BSS membership selectors since

Re: [PATCH] mac80211: ignore VHT membership selector when parsing rates

2017-03-07 Thread Johannes Berg
> >   > >   /* > > -  * BSS_MEMBERSHIP_SELECTOR_HT_PHY is defined in > > 802.11n-2009 > > -  * 7.3.2.2 as a magic value instead of a rate. > > Hence, skip it. > > +  * Skip HT and VHT BSS membership selectors since > > they're not > > +  * rates. >

[PATCH] mac80211: ignore VHT membership selector when parsing rates

2017-03-06 Thread Johannes Berg
From: Johannes Berg There isn't really much harm in not ignoring, since it doesn't represent a valid rate, but since we already ignore the HT one also ignore VHT. Also simplify the code a bit. Signed-off-by: Johannes Berg --- net/mac80211/mlme.c | 8 1 file changed, 4 insertions(+), 4