blob: 099071c53fb74fa13a0da48fed2de475fe69392b [file] [log] [blame]
developer692ed9b2023-06-19 12:03:50 +08001From a9b8e0e62b19fbd7c1dd865330ceb5a943e5cbb2 Mon Sep 17 00:00:00 2001
developerf552fec2023-03-27 11:22:06 +08002From: ye he <ye.he@mediatek.com>
3Date: Wed, 22 Feb 2023 16:09:32 +0800
developer692ed9b2023-06-19 12:03:50 +08004Subject: [PATCH 1002/1003] mac80211: mtk: add send bar action when recieve
5 addba rsp
developerf552fec2023-03-27 11:22:06 +08006
7Signed-off-by: ye he <ye.he@mediatek.com>
8---
9 net/mac80211/agg-tx.c | 3 ++-
10 1 file changed, 2 insertions(+), 1 deletion(-)
developerf552fec2023-03-27 11:22:06 +080011
12diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c
developer692ed9b2023-06-19 12:03:50 +080013index 7f0e72a..3ce2226 100644
developerf552fec2023-03-27 11:22:06 +080014--- a/net/mac80211/agg-tx.c
15+++ b/net/mac80211/agg-tx.c
developer692ed9b2023-06-19 12:03:50 +080016@@ -1080,7 +1080,8 @@ next:
developerf552fec2023-03-27 11:22:06 +080017
18 tid_tx->buf_size = buf_size;
19 tid_tx->amsdu = amsdu;
20-
21+ ieee80211_send_bar(&sta->sdata->vif, sta->sta.addr,
22+ tid, 0);
23 if (test_bit(HT_AGG_STATE_DRV_READY, &tid_tx->state))
24 ieee80211_agg_tx_operational(local, sta, tid);
25
26--
developer692ed9b2023-06-19 12:03:50 +0800272.39.2
developerf552fec2023-03-27 11:22:06 +080028