]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: add VHT rate entries for MCS-10 and MCS-11
authorArend van Spriel <arend.vanspriel@broadcom.com>
Tue, 5 Jan 2021 10:58:39 +0000 (11:58 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jan 2021 08:11:36 +0000 (09:11 +0100)
commit0c6dd3df51ab3f4b82b1f065a6cf0be52e3b95f6
tree468f356a7bc982d48946ceadc12ea777b6a901a2
parentda99d073734c75d658a5ae846a2b8e962e6f2e7f
cfg80211: add VHT rate entries for MCS-10 and MCS-11

Observed the warning in cfg80211_calculate_bitrate_vht() using an
11ac chip reporting MCS-11. Since devices reporting non-standard
MCS-9 is already supported add similar entries for MCS-10 and MCS-11.
Actually, the value of MCS-9@20MHz is slightly off so corrected that.

Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Link: https://lore.kernel.org/r/20210105105839.3795-1-arend.vanspriel@broadcom.com
[fix array size]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c