]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 14 Nov 2022 10:25:44 +0000 (11:25 +0100)
commitd731fede3131825b234167e3826e8fb4b85576df
treefdcfa9a1e863438fe5cf1ecfaff28fea627560c6
parent304f52cf14ca3b6952ff108b081669bbecfaf05d
wifi: cfg80211: fix MCS divisor value

BugLink: https://bugs.launchpad.net/bugs/1995637
[ Upstream commit 64e966d1e84b29c9fa916cfeaabbf4013703942e ]

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: 9c97c88d2f4b ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
net/wireless/util.c