Date: Sun, 5 Jul 2009 18:17:37 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net80211 ieee80211.c ieee80211_ageq.c ieee80211_ageq.h ieee80211_freebsd.h ieee80211_node.c ieee80211_node.h ieee80211_var.h ieee80211_wds.c Message-ID: <200907051817.n65IHu3E005052@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2009-07-05 18:17:37 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211.c ieee80211_freebsd.h ieee80211_node.c ieee80211_node.h ieee80211_var.h ieee80211_wds.c Added files: sys/net80211 ieee80211_ageq.c ieee80211_ageq.h Log: SVN rev 195379 on 2009-07-05 18:17:37Z by sam 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) Revision Changes Path 1.81 +37 -0 src/sys/net80211/ieee80211.c 1.1 +236 -0 src/sys/net80211/ieee80211_ageq.c (new) 1.1 +54 -0 src/sys/net80211/ieee80211_ageq.h (new) 1.33 +11 -32 src/sys/net80211/ieee80211_freebsd.h 1.132 +11 -8 src/sys/net80211/ieee80211_node.c 1.52 +0 -2 src/sys/net80211/ieee80211_node.h 1.93 +5 -0 src/sys/net80211/ieee80211_var.h 1.15 +37 -98 src/sys/net80211/ieee80211_wds.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907051817.n65IHu3E005052>