aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211.c
diff options
context:
space:
mode:
authorRon Rindjunsky <ron.rindjunsky@intel.com>2008-01-28 07:07:18 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:19:17 -0500
commit9e7234923789897858e1a475c579b5e2e6ad5b74 (patch)
tree69e97df9ff34f9237bfddee6e99100e8e16e1da1 /net/mac80211/ieee80211.c
parenteadc8d9e9047266a8914eb2ed4d36e797ce540d1 (diff)
mac80211: A-MPDU Tx adding qdisc support
This patch allows qdisc support in A-MPDU Tx. a method to handle QoS <-> TID switches is present in this patch. Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211.c')
-rw-r--r--net/mac80211/ieee80211.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c
index c323c9af9b8f..f8e734f0da1a 100644
--- a/net/mac80211/ieee80211.c
+++ b/net/mac80211/ieee80211.c
@@ -462,7 +462,7 @@ int ieee80211_start_tx_ba_session(struct ieee80211_hw *hw, u8 *ra, u16 tid)
462 spin_lock_bh(&local->mdev->queue_lock); 462 spin_lock_bh(&local->mdev->queue_lock);
463 463
464 /* create a new queue for this aggregation */ 464 /* create a new queue for this aggregation */
465 /* ret = ieee80211_ht_agg_queue_add(local, sta, tid); */ 465 ret = ieee80211_ht_agg_queue_add(local, sta, tid);
466 466
467 /* case no queue is available to aggregation 467 /* case no queue is available to aggregation
468 * don't switch to aggregation */ 468 * don't switch to aggregation */
@@ -488,7 +488,7 @@ int ieee80211_start_tx_ba_session(struct ieee80211_hw *hw, u8 *ra, u16 tid)
488 /* No need to requeue the packets in the agg queue, since we 488 /* No need to requeue the packets in the agg queue, since we
489 * held the tx lock: no packet could be enqueued to the newly 489 * held the tx lock: no packet could be enqueued to the newly
490 * allocated queue */ 490 * allocated queue */
491 /* ieee80211_ht_agg_queue_remove(local, sta, tid, 0); */ 491 ieee80211_ht_agg_queue_remove(local, sta, tid, 0);
492#ifdef CONFIG_MAC80211_HT_DEBUG 492#ifdef CONFIG_MAC80211_HT_DEBUG
493 printk(KERN_DEBUG "BA request denied - HW or queue unavailable" 493 printk(KERN_DEBUG "BA request denied - HW or queue unavailable"
494 " for tid %d\n", tid); 494 " for tid %d\n", tid);
@@ -499,7 +499,7 @@ int ieee80211_start_tx_ba_session(struct ieee80211_hw *hw, u8 *ra, u16 tid)
499 } 499 }
500 500
501 /* Will put all the packets in the new SW queue */ 501 /* Will put all the packets in the new SW queue */
502 /* ieee80211_requeue(local, ieee802_1d_to_ac[tid]); */ 502 ieee80211_requeue(local, ieee802_1d_to_ac[tid]);
503 spin_unlock_bh(&local->mdev->queue_lock); 503 spin_unlock_bh(&local->mdev->queue_lock);
504 504
505 /* We have most probably almost emptied the legacy queue */ 505 /* We have most probably almost emptied the legacy queue */
@@ -675,7 +675,7 @@ void ieee80211_stop_tx_ba_cb(struct ieee80211_hw *hw, u8 *ra, u8 tid)
675 * the content of the qdiscs */ 675 * the content of the qdiscs */
676 spin_lock_bh(&local->mdev->queue_lock); 676 spin_lock_bh(&local->mdev->queue_lock);
677 /* remove the queue for this aggregation */ 677 /* remove the queue for this aggregation */
678 /* ieee80211_ht_agg_queue_remove(local, sta, tid, 1); */ 678 ieee80211_ht_agg_queue_remove(local, sta, tid, 1);
679 spin_unlock_bh(&local->mdev->queue_lock); 679 spin_unlock_bh(&local->mdev->queue_lock);
680 680
681 /* we just requeued the all the frames that were in the removed 681 /* we just requeued the all the frames that were in the removed