wifi: mt76: mt7996: add max mpdu len capability
authorPeter Chiu <chui-hao.chiu@mediatek.com>
Tue, 14 Jan 2025 10:10:18 +0000 (18:10 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 14 Jan 2025 12:42:30 +0000 (13:42 +0100)
commit1816ad9381e0c150e4c44ce6dd6ee2c52008a052
tree8d3f9ee82f17b9a0e443cf386d746c09042de477
parent2425dc7beaadc39c2636f97f8bdc22dc3cf88149
wifi: mt76: mt7996: add max mpdu len capability

Set max mpdu len to 11454 according to hardware capability.
Without this patch, the max ampdu length would be 3895 and count not get
expected performance.

Fixes: 348533eb968d ("wifi: mt76: mt7996: add EHT capability init")
Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Link: https://patch.msgid.link/20250114101026.3587702-1-shayne.chen@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/init.c