summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_ht.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-09-06 17:29:11 +0000
committersam <sam@FreeBSD.org>2008-09-06 17:29:11 +0000
commit5379b08ec2c65ff99f5f94d2dde0686755a93b0d (patch)
tree01b8bcfeb1d248f389370966bf1522e3dc405569 /sys/net80211/ieee80211_ht.c
parent4df9b50afc714fa92acdbe0ae2e76cd2ac6d6d7e (diff)
downloadFreeBSD-src-5379b08ec2c65ff99f5f94d2dde0686755a93b0d.zip
FreeBSD-src-5379b08ec2c65ff99f5f94d2dde0686755a93b0d.tar.gz
moreve the aggregation q; it's not being used and
there's a better way to do this
Diffstat (limited to 'sys/net80211/ieee80211_ht.c')
-rw-r--r--sys/net80211/ieee80211_ht.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/net80211/ieee80211_ht.c b/sys/net80211/ieee80211_ht.c
index 22d5de3..acbb0a7 100644
--- a/sys/net80211/ieee80211_ht.c
+++ b/sys/net80211/ieee80211_ht.c
@@ -804,7 +804,6 @@ ieee80211_ht_node_cleanup(struct ieee80211_node *ni)
* to reclaim any resources it might have allocated.
*/
ic->ic_addba_stop(ni, &ni->ni_tx_ampdu[i]);
- IEEE80211_TAPQ_DESTROY(tap);
tap->txa_lastsample = 0;
tap->txa_avgpps = 0;
/* NB: clearing NAK means we may re-send ADDBA */
@@ -1370,8 +1369,6 @@ ieee80211_addba_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap)
/* XXX locking */
addba_stop_timeout(tap);
if (tap->txa_flags & IEEE80211_AGGR_RUNNING) {
- /* clear aggregation queue */
- ieee80211_drain_ifq(&tap->txa_q);
tap->txa_flags &= ~IEEE80211_AGGR_RUNNING;
}
tap->txa_attempts = 0;
@@ -1637,7 +1634,6 @@ ieee80211_ampdu_request(struct ieee80211_node *ni,
/* XXX locking */
if ((tap->txa_flags & IEEE80211_AGGR_SETUP) == 0) {
/* do deferred setup of state */
- IEEE80211_TAPQ_INIT(tap);
callout_init(&tap->txa_timer, CALLOUT_MPSAFE);
tap->txa_flags |= IEEE80211_AGGR_SETUP;
}
OpenPOWER on IntegriCloud