git: 67efa8b29930 - stable/13 - net80211: add a driver-private pointer to struct ieee80211_node
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Nov 2021 00:02:47 UTC
The branch stable/13 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=67efa8b29930f12dae2bf237fa7c2ce1dafbd6b1
commit 67efa8b29930f12dae2bf237fa7c2ce1dafbd6b1
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2021-10-31 19:08:28 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2021-11-19 00:01:27 +0000
net80211: add a driver-private pointer to struct ieee80211_node
Add a void *ni_drv_data field to struct ieee80211_node that drivers
can use to backtrack to their internal state from a net80211 node.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 917181dddf66a02958cf0a28e0c7c69e13e21af0)
---
sys/net80211/ieee80211_node.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h
index 07144fa0adb3..0e885440687c 100644
--- a/sys/net80211/ieee80211_node.h
+++ b/sys/net80211/ieee80211_node.h
@@ -260,6 +260,8 @@ struct ieee80211_node {
/* U-APSD */
uint8_t ni_uapsd; /* U-APSD per-node flags matching WMM STA QoS Info field */
+ void *ni_drv_data; /* driver specific */
+
uint64_t ni_spare[3];
};
MALLOC_DECLARE(M_80211_NODE);