mt76: mt7921: accept rx frames with non-standard VHT MCS10-11
authorFelix Fietkau <nbd@nbd.name>
Fri, 25 Mar 2022 20:15:15 +0000 (21:15 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 13 May 2022 07:39:34 +0000 (09:39 +0200)
The hardware receives them properly, they should not be dropped

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mac.c

index b676154..42d2795 100644 (file)
@@ -696,7 +696,7 @@ mt7921_mac_fill_rx(struct mt7921_dev *dev, struct sk_buff *skb)
                        status->nss =
                                FIELD_GET(MT_PRXV_NSTS, v0) + 1;
                        status->encoding = RX_ENC_VHT;
-                       if (i > 9)
+                       if (i > 11)
                                return -EINVAL;
                        break;
                case MT_PHY_TYPE_HE_MU: