diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2021-10-31 19:08:28 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2021-10-31 19:08:28 +0000 |
commit | 917181dddf66a02958cf0a28e0c7c69e13e21af0 (patch) | |
tree | 633890ef38ea076bc1ade286327bfe06f09f9c11 /sys/net80211/ieee80211_node.h | |
parent | f38bef2ce417d6270f32b4ed17cec84bfd95d548 (diff) | |
download | src-917181dddf66a02958cf0a28e0c7c69e13e21af0.tar.gz src-917181dddf66a02958cf0a28e0c7c69e13e21af0.zip |
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)
Diffstat (limited to 'sys/net80211/ieee80211_node.h')
-rw-r--r-- | sys/net80211/ieee80211_node.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |