]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: add bitrate for 20MHz MCS 9
authorPedersen, Thomas <twp@qca.qualcomm.com>
Mon, 31 Oct 2016 18:28:40 +0000 (11:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 15 Nov 2016 13:34:00 +0000 (14:34 +0100)
commitb72c8ecf2ffe5bca4cc1b0c027c73bb437494c82
tree9bcdd85914933f52d52145f368b50e8c19d6cb0d
parent3621ddc951ddfc926ea2d8d3f967816e7a0d7b14
cfg80211: add bitrate for 20MHz MCS 9

Some drivers (ath10k) report MCS 9 @ 20MHz, which
technically isn't defined. To get more meaningful value
than 0 out of this however, just extrapolate a bitrate
from ratio of MCS 7 and 9 in channels where it is allowed.

Signed-off-by: Thomas Pedersen <twp@qca.qualcomm.com>
[add a comment about it in the code]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c