git: 425fb06c8f7e - stable/13 - LinuxKPI: 80211: add ieee80211_stop_tx_ba_session()

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Wed, 21 Sep 2022 14:01:36 UTC
The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=425fb06c8f7e4bedafdfd644b3f89682df39fb64

commit 425fb06c8f7e4bedafdfd644b3f89682df39fb64
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-09-09 16:30:00 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-09-21 11:46:47 +0000

    LinuxKPI: 80211: add ieee80211_stop_tx_ba_session()
    
    rtw89 needs ieee80211_stop_tx_ba_session().
    Add the skeleton function for now so we can implement BA functions all
    together.
    
    (cherry picked from commit d6d687daaa4531c4a84b82cde46c9906c3c02f55)
---
 sys/compat/linuxkpi/common/include/net/mac80211.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/net/mac80211.h b/sys/compat/linuxkpi/common/include/net/mac80211.h
index 03bef9fbb97d..b6f5bce9f726 100644
--- a/sys/compat/linuxkpi/common/include/net/mac80211.h
+++ b/sys/compat/linuxkpi/common/include/net/mac80211.h
@@ -2041,6 +2041,13 @@ ieee80211_start_tx_ba_session(struct ieee80211_sta *sta, uint8_t tid, int x)
 	return (-EINVAL);
 }
 
+static __inline int
+ieee80211_stop_tx_ba_session(struct ieee80211_sta *sta, uint8_t tid)
+{
+	TODO();
+	return (-EINVAL);
+}
+
 static __inline void
 ieee80211_tx_info_clear_status(struct ieee80211_tx_info *info)
 {