git: 917181dddf66 - main - net80211: add a driver-private pointer to struct ieee80211_node
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Oct 2021 19:12:14 UTC
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=917181dddf66a02958cf0a28e0c7c69e13e21af0 commit 917181dddf66a02958cf0a28e0c7c69e13e21af0 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2021-10-31 19:08:28 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2021-10-31 19:08:28 +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 MFC after: 1 week X-Differential Revision: https://reviews.freebsd.org/D30654 (abandoned) --- 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);