summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_node.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-09-26 17:00:44 +0000
committersam <sam@FreeBSD.org>2003-09-26 17:00:44 +0000
commit04780f09b987e2ef533889f0c8b72c83eeadf3c3 (patch)
treeb1c9d39f8d12ac9b255ebf7ad82967552c1efad0 /sys/net80211/ieee80211_node.h
parentd39b84f6ea494a7cbeef6071986a4793b0103e77 (diff)
downloadFreeBSD-src-04780f09b987e2ef533889f0c8b72c83eeadf3c3.zip
FreeBSD-src-04780f09b987e2ef533889f0c8b72c83eeadf3c3.tar.gz
Try yet again to deal with timing out nodes. We cannot hold the
node lock while sending a management frame as this will potentially result in a LOR with a driver lock. This doesn't happen for the Atheros driver but does for the wi driver. Use a generation number to help process each node once when scanning the node table and drop the node lock if we need to timeout a node and send a frame.
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 de300fa..d61ff7b 100644
--- a/sys/net80211/ieee80211_node.h
+++ b/sys/net80211/ieee80211_node.h
@@ -62,6 +62,7 @@ struct ieee80211_node {
TAILQ_ENTRY(ieee80211_node) ni_list;
LIST_ENTRY(ieee80211_node) ni_hash;
u_int ni_refcnt;
+ u_int ni_scangen; /* gen# for timeout scan */
/* hardware */
u_int32_t ni_rstamp; /* recv timestamp */
OpenPOWER on IntegriCloud