aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/b43/main.c3
-rw-r--r--drivers/net/wireless/b43legacy/main.c3
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c2
-rw-r--r--drivers/net/wireless/p54/p54common.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.c5
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00.h2
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00mac.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00queue.h7
10 files changed, 12 insertions, 18 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index cf546e367d3e..c6e79a15d3cb 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2996,8 +2996,7 @@ static void b43_qos_update_work(struct work_struct *work)
2996 mutex_unlock(&wl->mutex); 2996 mutex_unlock(&wl->mutex);
2997} 2997}
2998 2998
2999static int b43_op_conf_tx(struct ieee80211_hw *hw, 2999static int b43_op_conf_tx(struct ieee80211_hw *hw, u16 _queue,
3000 int _queue,
3001 const struct ieee80211_tx_queue_params *params) 3000 const struct ieee80211_tx_queue_params *params)
3002{ 3001{
3003 struct b43_wl *wl = hw_to_b43_wl(hw); 3002 struct b43_wl *wl = hw_to_b43_wl(hw);
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c
index 14a5eea2573e..1ccc51e90a8e 100644
--- a/drivers/net/wireless/b43legacy/main.c
+++ b/drivers/net/wireless/b43legacy/main.c
@@ -2383,8 +2383,7 @@ out:
2383 return NETDEV_TX_OK; 2383 return NETDEV_TX_OK;
2384} 2384}
2385 2385
2386static int b43legacy_op_conf_tx(struct ieee80211_hw *hw, 2386static int b43legacy_op_conf_tx(struct ieee80211_hw *hw, u16 queue,
2387 int queue,
2388 const struct ieee80211_tx_queue_params *params) 2387 const struct ieee80211_tx_queue_params *params)
2389{ 2388{
2390 return 0; 2389 return 0;
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index 27e5f496bc12..c4b5c1a100f2 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -568,7 +568,7 @@ static void iwlcore_init_hw(struct iwl_priv *priv)
568 hw->queues = 4; 568 hw->queues = 4;
569#ifdef CONFIG_IWL4965_HT 569#ifdef CONFIG_IWL4965_HT
570 /* Enhanced value; more queues, to support 11n aggregation */ 570 /* Enhanced value; more queues, to support 11n aggregation */
571 hw->queues = 16; 571 hw->ampdu_queues = 12;
572#endif /* CONFIG_IWL4965_HT */ 572#endif /* CONFIG_IWL4965_HT */
573} 573}
574 574
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index bad367cfbee3..7040cde8bc28 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -7143,7 +7143,7 @@ static int iwl3945_mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
7143 return rc; 7143 return rc;
7144} 7144}
7145 7145
7146static int iwl3945_mac_conf_tx(struct ieee80211_hw *hw, int queue, 7146static int iwl3945_mac_conf_tx(struct ieee80211_hw *hw, u16 queue,
7147 const struct ieee80211_tx_queue_params *params) 7147 const struct ieee80211_tx_queue_params *params)
7148{ 7148{
7149 struct iwl3945_priv *priv = hw->priv; 7149 struct iwl3945_priv *priv = hw->priv;
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index 5363be7a305e..4406fc72d881 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -6339,7 +6339,7 @@ static int iwl4965_mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
6339 return ret; 6339 return ret;
6340} 6340}
6341 6341
6342static int iwl4965_mac_conf_tx(struct ieee80211_hw *hw, int queue, 6342static int iwl4965_mac_conf_tx(struct ieee80211_hw *hw, u16 queue,
6343 const struct ieee80211_tx_queue_params *params) 6343 const struct ieee80211_tx_queue_params *params)
6344{ 6344{
6345 struct iwl_priv *priv = hw->priv; 6345 struct iwl_priv *priv = hw->priv;
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c
index 59a26978f877..34b91ccd8aec 100644
--- a/drivers/net/wireless/p54/p54common.c
+++ b/drivers/net/wireless/p54/p54common.c
@@ -935,7 +935,7 @@ static void p54_configure_filter(struct ieee80211_hw *dev,
935 } 935 }
936} 936}
937 937
938static int p54_conf_tx(struct ieee80211_hw *dev, int queue, 938static int p54_conf_tx(struct ieee80211_hw *dev, u16 queue,
939 const struct ieee80211_tx_queue_params *params) 939 const struct ieee80211_tx_queue_params *params)
940{ 940{
941 struct p54_common *priv = dev->priv; 941 struct p54_common *priv = dev->priv;
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
1445static int rt2400pci_conf_tx(struct ieee80211_hw *hw, 1445static 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))
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index 48a9af47921e..79bd9c9f8963 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -997,7 +997,7 @@ void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw,
997 struct ieee80211_vif *vif, 997 struct ieee80211_vif *vif,
998 struct ieee80211_bss_conf *bss_conf, 998 struct ieee80211_bss_conf *bss_conf,
999 u32 changes); 999 u32 changes);
1000int rt2x00mac_conf_tx(struct ieee80211_hw *hw, int queue, 1000int rt2x00mac_conf_tx(struct ieee80211_hw *hw, u16 queue,
1001 const struct ieee80211_tx_queue_params *params); 1001 const struct ieee80211_tx_queue_params *params);
1002 1002
1003/* 1003/*
diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c
index 7bc5129484f2..767e0ffce04e 100644
--- a/drivers/net/wireless/rt2x00/rt2x00mac.c
+++ b/drivers/net/wireless/rt2x00/rt2x00mac.c
@@ -517,7 +517,7 @@ void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw,
517} 517}
518EXPORT_SYMBOL_GPL(rt2x00mac_bss_info_changed); 518EXPORT_SYMBOL_GPL(rt2x00mac_bss_info_changed);
519 519
520int rt2x00mac_conf_tx(struct ieee80211_hw *hw, int queue_idx, 520int rt2x00mac_conf_tx(struct ieee80211_hw *hw, u16 queue_idx,
521 const struct ieee80211_tx_queue_params *params) 521 const struct ieee80211_tx_queue_params *params)
522{ 522{
523 struct rt2x00_dev *rt2x00dev = hw->priv; 523 struct rt2x00_dev *rt2x00dev = hw->priv;
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h
index 29fe26525550..d1707a7ca41f 100644
--- a/drivers/net/wireless/rt2x00/rt2x00queue.h
+++ b/drivers/net/wireless/rt2x00/rt2x00queue.h
@@ -86,12 +86,9 @@ enum data_queue_qid {
86static inline enum data_queue_qid mac80211_queue_to_qid(unsigned int queue) 86static inline enum data_queue_qid mac80211_queue_to_qid(unsigned int queue)
87{ 87{
88 /* Regular TX queues are mapped directly */ 88 /* Regular TX queues are mapped directly */
89 if (queue < NUM_TX_DATA_QUEUES) 89 if (queue < 4)
90 return queue; 90 return queue;
91 else if (queue == IEEE80211_TX_QUEUE_BEACON) 91 WARN_ON(1);
92 return QID_BEACON;
93 else if (queue == IEEE80211_TX_QUEUE_AFTER_BEACON)
94 return QID_ATIM;
95 return QID_OTHER; 92 return QID_OTHER;
96} 93}
97 94