Patch "wifi: cfg80211: fix MCS divisor value" has been added to the 5.15-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    wifi: cfg80211: fix MCS divisor value

to the 5.15-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     wifi-cfg80211-fix-mcs-divisor-value.patch
and it can be found in the queue-5.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 7eb17f13467d0199d165c22ce030d9f5c27b02fb
Author: Tamizh Chelvam Raja <quic_tamizhr@xxxxxxxxxxx>
Date:   Thu Sep 8 23:40:34 2022 +0530

    wifi: cfg80211: fix MCS divisor value
    
    [ 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@xxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20220908181034.9936-1-quic_tamizhr@xxxxxxxxxxx
    Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/net/wireless/util.c b/net/wireless/util.c
index 4ddc269164f8..cb15d7f4eb05 100644
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -1353,7 +1353,7 @@ static u32 cfg80211_calculate_bitrate_he(struct rate_info *rate)
 		 25599, /*  4.166666... */
 		 17067, /*  2.777777... */
 		 12801, /*  2.083333... */
-		 11769, /*  1.851851... */
+		 11377, /*  1.851725... */
 		 10239, /*  1.666666... */
 		  8532, /*  1.388888... */
 		  7680, /*  1.250000... */



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux