mt76: mt7915: accept rx frames with non-standard VHT MCS10-11
authorFelix Fietkau <nbd@nbd.name>
Fri, 25 Mar 2022 20:14:26 +0000 (21:14 +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/mt7915/mac.c

index bab70cf..957895f 100644 (file)
@@ -521,7 +521,7 @@ mt7915_mac_fill_rx_rate(struct mt7915_dev *dev,
                status->encoding = RX_ENC_VHT;
                if (gi)
                        status->enc_flags |= RX_ENC_FLAG_SHORT_GI;
-               if (i > 9)
+               if (i > 11)
                        return -EINVAL;
                break;
        case MT_PHY_TYPE_HE_MU: