Skip to content

Commit 37e0dee

Browse files
committed
wifi: mt76: mt7996: add max mpdu len capability
JIRA: https://issues.redhat.com/browse/RHEL-79791 commit 1816ad9 Author: Peter Chiu <chui-hao.chiu@mediatek.com> Date: Tue Jan 14 18:10:18 2025 +0800 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: 348533e ("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> Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
1 parent 9fd659b commit 37e0dee

File tree

1 file changed

+3
-1
lines changed
  • drivers/net/wireless/mediatek/mt76/mt7996

1 file changed

+3
-1
lines changed

drivers/net/wireless/mediatek/mt76/mt7996/init.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,9 @@ mt7996_init_eht_caps(struct mt7996_phy *phy, enum nl80211_band band,
13071307

13081308
eht_cap_elem->mac_cap_info[0] =
13091309
IEEE80211_EHT_MAC_CAP0_EPCS_PRIO_ACCESS |
1310-
IEEE80211_EHT_MAC_CAP0_OM_CONTROL;
1310+
IEEE80211_EHT_MAC_CAP0_OM_CONTROL |
1311+
u8_encode_bits(IEEE80211_EHT_MAC_CAP0_MAX_MPDU_LEN_11454,
1312+
IEEE80211_EHT_MAC_CAP0_MAX_MPDU_LEN_MASK);
13111313

13121314
eht_cap_elem->phy_cap_info[0] =
13131315
IEEE80211_EHT_PHY_CAP0_NDP_4_EHT_LFT_32_GI |

0 commit comments

Comments
 (0)