aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-07-23 13:24:40 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-08 16:04:00 -0400
commit72c04ce0164aad6da5dc7d0b7267a84c60970165 (patch)
tree924b027e1a9e2d06e205d65c96aba005b740c9d5 /drivers/net/wireless/iwlwifi/iwl-dev.h
parent32c254645f90a5a5486788c0deb30531fdb609c2 (diff)
iwlagn: reserve queue 10 for TX during scan dwell
New uCode images will use queue 10 for TX during scan (for P2P offchannel operation scan). We'll bump the API version of those, but before we need to reserve queue 10 and stop using it for aggregation. To simplify the code, always reserve it, we could continue using it on older uCode images but that'd be rather complicated. Also, we'll set it up to map to the right FIFO as needed later, but as we don't use the queue now that doesn't hurt. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 6c9790cac8d..233baf60ed6 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -230,12 +230,23 @@ struct iwl_channel_info {
230#define IWL_TX_FIFO_BE_IPAN 4 230#define IWL_TX_FIFO_BE_IPAN 4
231#define IWL_TX_FIFO_VI_IPAN IWL_TX_FIFO_VI 231#define IWL_TX_FIFO_VI_IPAN IWL_TX_FIFO_VI
232#define IWL_TX_FIFO_VO_IPAN 5 232#define IWL_TX_FIFO_VO_IPAN 5
233/* re-uses the VO FIFO, uCode will properly flush/schedule */
234#define IWL_TX_FIFO_AUX 5
233#define IWL_TX_FIFO_UNUSED -1 235#define IWL_TX_FIFO_UNUSED -1
234 236
235/* Minimum number of queues. MAX_NUM is defined in hw specific files. 237/* AUX (TX during scan dwell) queue */
236 * Set the minimum to accommodate the 4 standard TX queues, 1 command 238#define IWL_AUX_QUEUE 10
237 * queue, 2 (unused) HCCA queues, and 4 HT queues (one for each AC) */ 239
238#define IWL_MIN_NUM_QUEUES 10 240/*
241 * Minimum number of queues. MAX_NUM is defined in hw specific files.
242 * Set the minimum to accommodate
243 * - 4 standard TX queues
244 * - the command queue
245 * - 4 PAN TX queues
246 * - the PAN multicast queue, and
247 * - the AUX (TX during scan dwell) queue.
248 */
249#define IWL_MIN_NUM_QUEUES 11
239 250
240/* 251/*
241 * Command queue depends on iPAN support. 252 * Command queue depends on iPAN support.