aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_node.h
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2005-07-06 01:51:44 +0000
committerSam Leffler <sam@FreeBSD.org>2005-07-06 01:51:44 +0000
commitebdda46c84b001763cf1999ef19be2c36eeeacc6 (patch)
tree8fb1a3a6f93825235c6f6e42b500f71674b41489 /sys/net80211/ieee80211_node.h
parent720bd46e9f29aac43bd990c02db62f138874672c (diff)
downloadsrc-ebdda46c84b001763cf1999ef19be2c36eeeacc6.tar.gz
src-ebdda46c84b001763cf1999ef19be2c36eeeacc6.zip
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)
Notes
Notes: svn path=/head/; revision=147788
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 9c8079996b91..c7ac7c11a483 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 */