summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_node.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-07-06 01:51:44 +0000
committersam <sam@FreeBSD.org>2005-07-06 01:51:44 +0000
commit42be4e8353aebfc3cf73c7001101f6addf2df279 (patch)
tree8fb1a3a6f93825235c6f6e42b500f71674b41489 /sys/net80211/ieee80211_node.h
parent9fb6cc8fde85360ec292c60cb811ea4c9bbd701f (diff)
downloadFreeBSD-src-42be4e8353aebfc3cf73c7001101f6addf2df279.zip
FreeBSD-src-42be4e8353aebfc3cf73c7001101f6addf2df279.tar.gz
Fix race condition in handling node reference counts for authenticating
stations in ap mode. Track when a node's first auth frame is received and use this to decide whether or not to bump the refcnt. This insures we only ever bump the refcnt once. Reviewed by: avatar Approved by: re (scottl)
Diffstat (limited to 'sys/net80211/ieee80211_node.h')
-rw-r--r--sys/net80211/ieee80211_node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h
index 9c80799..c7ac7c1 100644
--- a/sys/net80211/ieee80211_node.h
+++ b/sys/net80211/ieee80211_node.h
@@ -100,6 +100,7 @@ struct ieee80211_node {
#define IEEE80211_NODE_ERP 0x0004 /* ERP enabled */
/* NB: this must have the same value as IEEE80211_FC1_PWR_MGT */
#define IEEE80211_NODE_PWR_MGT 0x0010 /* power save mode enabled */
+#define IEEE80211_NODE_AREF 0x0020 /* authentication ref held */
u_int16_t ni_associd; /* assoc response */
u_int16_t ni_txpower; /* current transmit power */
u_int16_t ni_vlan; /* vlan tag */
OpenPOWER on IntegriCloud