Skip to content

Commit

Permalink
mt76: mt7921: accept rx frames with non-standard VHT MCS10-11
Browse files Browse the repository at this point in the history
The hardware receives them properly, they should not be dropped

Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
nbd168 committed May 13, 2022
1 parent 77045a3 commit 3128ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/mediatek/mt76/mt7921/mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3128ea0

Please sign in to comment.