summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_node.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-07-05 18:17:37 +0000
committersam <sam@FreeBSD.org>2009-07-05 18:17:37 +0000
commit9f7eae50beb38e763f8614fed575eec619707621 (patch)
treeffdb2fa7b2375a389404116eb68c653e193a6558 /sys/net80211/ieee80211_node.h
parent488931f6d96dba8045a1f97876133c24072f46e9 (diff)
downloadFreeBSD-src-9f7eae50beb38e763f8614fed575eec619707621.zip
FreeBSD-src-9f7eae50beb38e763f8614fed575eec619707621.tar.gz
Add ieee80211_ageq; a facility for staging packets that require
long-term work before they can be serviced. Packets are tagged and assigned an age (in seconds) at the point they are added to the queue. If a packet is not retrieved before it's age expires it is reclaimed. Tagging can take two forms: a reference to an ieee80211_node (as happens in the tx path) or an opaque token in cases where there is no reference or the node structure is not stable (i.e. it's going to be destroyed). o add ic_stageq to replace the per-node wds staging queue used for dynamic wds o add ieee80211_mac_hash for building ageq tokens; this computes a 32-bit hash from an 802.11 mac address (copied from the bridge) o while here fix a stray ';' noticed in IEEE80211_PSQ_INIT Reviewed by: rpaulo Approved by: re (kensmith)
Diffstat (limited to 'sys/net80211/ieee80211_node.h')
-rw-r--r--sys/net80211/ieee80211_node.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h
index 0b09453..6d26759 100644
--- a/sys/net80211/ieee80211_node.h
+++ b/sys/net80211/ieee80211_node.h
@@ -193,8 +193,6 @@ struct ieee80211_node {
struct ieee80211_nodestats ni_stats; /* per-node statistics */
struct ieee80211vap *ni_wdsvap; /* associated WDS vap */
- /* XXX move to vap? */
- struct ifqueue ni_wdsq; /* wds pending queue */
uint64_t ni_spare[4];
};
MALLOC_DECLARE(M_80211_NODE);
OpenPOWER on IntegriCloud