blob: a8ecdb706e51946c47d68959ca253c0af13c1b37 [file] [log] [blame]
From 962ea174654c240aacc4e83b2000846c796cf1fc Mon Sep 17 00:00:00 2001
From: ye he <ye.he@mediatek.com>
Date: Wed, 22 Feb 2023 16:09:32 +0800
Subject: [PATCH 1002/1006] mac80211: mtk: add send bar action when recieve
addba rsp
Signed-off-by: ye he <ye.he@mediatek.com>
---
net/mac80211/agg-tx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c
index b8b8e22..285433a 100644
--- a/net/mac80211/agg-tx.c
+++ b/net/mac80211/agg-tx.c
@@ -1098,7 +1098,8 @@ next:
tid_tx->buf_size = buf_size;
tid_tx->amsdu = amsdu;
-
+ ieee80211_send_bar(&sta->sdata->vif, sta->sta.addr,
+ tid, 0);
if (test_bit(HT_AGG_STATE_DRV_READY, &tid_tx->state))
ieee80211_agg_tx_operational(local, sta, tid);
--
2.39.2