OSDN Git Service

mt76: connac: enable hw amsdu @ 6GHz
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 24 Aug 2021 10:22:25 +0000 (12:22 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Oct 2021 08:36:46 +0000 (10:36 +0200)
This is a preliminary patch to enable 6GHz band for mt7921 devices.

Tested-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c

index 3b9c418..10198c0 100644 (file)
@@ -766,7 +766,7 @@ void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb,
        if (!is_mt7921(dev))
                return;
 
-       if (sta->ht_cap.ht_supported)
+       if (sta->ht_cap.ht_supported || sta->he_cap.has_he)
                mt76_connac_mcu_sta_amsdu_tlv(skb, sta, vif);
 
        /* starec he */