]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: cfg80211: fix MCS divisor value
authorTamizh Chelvam Raja <quic_tamizhr@quicinc.com>
Thu, 8 Sep 2022 18:10:34 +0000 (23:40 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 27 Sep 2022 08:26:55 +0000 (10:26 +0200)
commit75a5e4905e52f6d0600b2517188b36030aa7b171
treeacdd546d969a8f83b640e1f7ae9915fc3b99990e
parent98a4eab3ab60d6ea7eb25eee5732037094d215ae
wifi: cfg80211: fix MCS divisor value

The Bitrate for HE/EHT MCS6 is calculated wrongly due to the
incorrect MCS divisor value for mcs6. Fix it with the proper
value.

previous mcs_divisor value = (11769/6144) = 1.915527

fixed mcs_divisor value = (11377/6144) = 1.851725

Fixes: 847fdf165572 ("cfg80211: Add support to calculate and report 4096-QAM HE rates")
Signed-off-by: Tamizh Chelvam Raja <quic_tamizhr@quicinc.com>
Link: https://lore.kernel.org/r/20220908181034.9936-1-quic_tamizhr@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c