Skip to content

Commit c6dbd5b

Browse files
Ming Yen Hsiehgregkh
authored andcommitted
wifi: mt76: mt7925u: use connac3 tx aggr check in tx complete
commit c22769d upstream. MT7925 is a connac3 device; using the connac2 helper mis-parses TXWI and breaks AMPDU/BA accounting. Use the connac3-specific helper mt7925_tx_check_aggr() instead, Cc: stable@vger.kernel.org Fixes: c948b5d ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips") Reported-by: Nick Morrow <morrownr@gmail.com> Tested-by: Nick Morrow <morrownr@gmail.com> Tested-on: Netgear A9000 USB WiFi adapter Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com> Link: https://patch.msgid.link/20250818020203.992338-1-mingyen.hsieh@mediatek.com Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5285b70 commit c6dbd5b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

drivers/net/wireless/mediatek/mt76/mt7925/mac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1449,7 +1449,7 @@ void mt7925_usb_sdio_tx_complete_skb(struct mt76_dev *mdev,
14491449
sta = wcid_to_sta(wcid);
14501450

14511451
if (sta && likely(e->skb->protocol != cpu_to_be16(ETH_P_PAE)))
1452-
mt76_connac2_tx_check_aggr(sta, txwi);
1452+
mt7925_tx_check_aggr(sta, e->skb, wcid);
14531453

14541454
skb_pull(e->skb, headroom);
14551455
mt76_tx_complete_skb(mdev, e->wcid, e->skb);

0 commit comments

Comments
 (0)