git: 9cac7351868d - main - LinuxKPI: 802.11: add ieee80211_purge_tx_queue()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Jun 2025 18:37:47 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=9cac7351868d0e896a648ffe354b001ced55acfa
commit 9cac7351868d0e896a648ffe354b001ced55acfa
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-05-26 00:31:36 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-06-03 18:35:11 +0000
LinuxKPI: 802.11: add ieee80211_purge_tx_queue()
Add ieee80211_purge_tx_queue() dummy function needed by rtw88 SDIO.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
---
sys/compat/linuxkpi/common/include/net/mac80211.h | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/sys/compat/linuxkpi/common/include/net/mac80211.h b/sys/compat/linuxkpi/common/include/net/mac80211.h
index f8eb180d63a1..6ce6a6384c12 100644
--- a/sys/compat/linuxkpi/common/include/net/mac80211.h
+++ b/sys/compat/linuxkpi/common/include/net/mac80211.h
@@ -1,6 +1,6 @@
/*-
* Copyright (c) 2020-2025 The FreeBSD Foundation
- * Copyright (c) 2020-2022 Bjoern A. Zeeb
+ * Copyright (c) 2020-2025 Bjoern A. Zeeb
*
* This software was developed by Björn Zeeb under sponsorship from
* the FreeBSD Foundation.
@@ -1454,6 +1454,13 @@ ieee80211_handle_wake_tx_queue(struct ieee80211_hw *hw,
linuxkpi_ieee80211_handle_wake_tx_queue(hw, txq);
}
+static inline void
+ieee80211_purge_tx_queue(struct ieee80211_hw *hw,
+ struct sk_buff_head *skbs)
+{
+ TODO();
+}
+
/* -------------------------------------------------------------------------- */
static __inline uint8_t