mt76: mt7921: accept rx frames with non-standard VHT MCS10-11

[ Upstream commit 3128ea016965ce9f91ddf4e1dd944724462d1698 ]

The hardware receives them properly, they should not be dropped

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Felix Fietkau 2022-03-25 21:15:15 +01:00 committed by Greg Kroah-Hartman
parent 03755410a8
commit bf5572fb3f

View File

@ -563,7 +563,7 @@ int 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: