From: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> Date: Thu, 4 May 2017 08:42:30 +0200 > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > 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@xxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> Since Jens Axboe had the same problem and tested this patch, I'm tossing it into my tree. Just FYI...