Patch "mt76: mt7915: fix ht mcs in mt7915_mac_add_txs_skb()" has been added to the 5.17-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

    mt76: mt7915: fix ht mcs in mt7915_mac_add_txs_skb()

to the 5.17-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:
     mt76-mt7915-fix-ht-mcs-in-mt7915_mac_add_txs_skb.patch
and it can be found in the queue-5.17 subdirectory.

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



commit 3215b2386dd19d9b3dc77e1885b7dc00cdc3949e
Author: Peter Chiu <chui-hao.chiu@xxxxxxxxxxxx>
Date:   Thu Jan 6 14:20:56 2022 +0800

    mt76: mt7915: fix ht mcs in mt7915_mac_add_txs_skb()
    
    [ Upstream commit d8e4e8d148fb68858d6a997d88a87a2c615629ce ]
    
    The mcs value of HT mode reported by mt7915_mac_add_txs_skb()
    has already been converted to the expected format.
    
    Fixes: 9908d98ae72cd ("mt76: mt7915: report tx rate directly from tx status")
    Signed-off-by: Peter Chiu <chui-hao.chiu@xxxxxxxxxxxx>
    Signed-off-by: Felix Fietkau <nbd@xxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c
index 48f115502282..d18a2e93cff5 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c
@@ -1512,7 +1512,6 @@ mt7915_mac_add_txs_skb(struct mt7915_dev *dev, struct mt76_wcid *wcid, int pid,
 		break;
 	case MT_PHY_TYPE_HT:
 	case MT_PHY_TYPE_HT_GF:
-		rate.mcs += (rate.nss - 1) * 8;
 		if (rate.mcs > 31)
 			goto out;
 



[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