diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-04-30 12:51:21 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-07 15:02:26 -0400 |
commit | e100bb64bf7cdeae7f742a65ee1985649a7fd1b4 (patch) | |
tree | 87ed4147c4dc583aba7c27b0717febb6fabdc76a /drivers/net/wireless/rt2x00/rt2400pci.c | |
parent | 36fc6757fe711def63ea3686bf6ed475d714e114 (diff) |
mac80211: QoS related cleanups
This
* makes the queue number passed to drivers a u16
(as it will be with skb_get_queue_mapping)
* removes the useless queue number defines
* splits hw->queues into hw->queues/ampdu_queues
* removes the debugfs files for per-queue counters
* removes some dead QoS code
* removes the beacon queue configuration for IBSS
so that the drivers now never get a queue number
bigger than (hw->queues + hw->ampdu_queues - 1)
for tx and only in the range 0..hw->queues-1 for
conf_tx.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index 705bc2d41dc1..247fbbfb0f2b 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -1442,8 +1442,7 @@ static int rt2400pci_set_retry_limit(struct ieee80211_hw *hw, | |||
1442 | return 0; | 1442 | return 0; |
1443 | } | 1443 | } |
1444 | 1444 | ||
1445 | static int rt2400pci_conf_tx(struct ieee80211_hw *hw, | 1445 | static int rt2400pci_conf_tx(struct ieee80211_hw *hw, u16 queue, |
1446 | int queue, | ||
1447 | const struct ieee80211_tx_queue_params *params) | 1446 | const struct ieee80211_tx_queue_params *params) |
1448 | { | 1447 | { |
1449 | struct rt2x00_dev *rt2x00dev = hw->priv; | 1448 | struct rt2x00_dev *rt2x00dev = hw->priv; |
@@ -1453,7 +1452,7 @@ static int rt2400pci_conf_tx(struct ieee80211_hw *hw, | |||
1453 | * per queue. So by default we only configure the TX queue, | 1452 | * per queue. So by default we only configure the TX queue, |
1454 | * and ignore all other configurations. | 1453 | * and ignore all other configurations. |
1455 | */ | 1454 | */ |
1456 | if (queue != IEEE80211_TX_QUEUE_DATA0) | 1455 | if (queue != 0) |
1457 | return -EINVAL; | 1456 | return -EINVAL; |
1458 | 1457 | ||
1459 | if (rt2x00mac_conf_tx(hw, queue, params)) | 1458 | if (rt2x00mac_conf_tx(hw, queue, params)) |