Thread (4 messages) flat view 4 messages, 2 authors, 2017-05-04

Re: [PATCH] cfg80211: make RATE_INFO_BW_20 the default

From: David Miller <davem@davemloft.net>
Date: 2017-05-04 17:15:59
Also in: linux-wireless

From: Johannes Berg <johannes@sipsolutions.net>
Date: Thu,  4 May 2017 08:42:30 +0200
From: Johannes Berg <redacted>

Due to the way I did the RX bitrate conversions in mac80211 with
spatch, going setting flags to setting the value, many drivers now
don't set the bandwidth value for 20 MHz, since with the flags it
wasn't necessary to (there was no 20 MHz flag, only the others.)

Rather than go through and try to fix up all the drivers, instead
renumber the enum so that 20 MHz, which is the typical bandwidth,
actually has the value 0, making those drivers all work again.

If VHT was hit used with a driver not reporting it, e.g. iwlmvm,
this manifested in hitting the bandwidth warning in
cfg80211_calculate_bitrate_vht().

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Johannes Berg <redacted>
Since Jens Axboe had the same problem and tested this patch, I'm
tossing it into my tree.

Just FYI...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help