Skip to content

Commit 54f382d

Browse files
Tamizh Chelvam Rajagregkh
authored andcommitted
wifi: cfg80211: fix MCS divisor value
[ Upstream commit 64e966d ] 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: 9c97c88 ("cfg80211: Add support to calculate and report 4096-QAM HE rates") Signed-off-by: Tamizh Chelvam Raja <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 0fa2494 commit 54f382d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/wireless/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ static u32 cfg80211_calculate_bitrate_he(struct rate_info *rate)
13531353
25599, /* 4.166666... */
13541354
17067, /* 2.777777... */
13551355
12801, /* 2.083333... */
1356-
11769, /* 1.851851... */
1356+
11377, /* 1.851725... */
13571357
10239, /* 1.666666... */
13581358
8532, /* 1.388888... */
13591359
7680, /* 1.250000... */

0 commit comments

Comments
 (0)