diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-08-23 04:46:33 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-08-27 11:27:29 -0400 |
commit | 13bb9483e190b95b04b22280ec9efa6b48469fd6 (patch) | |
tree | fdc39df48473db0ed02193eeb92d0e6a06a33ff8 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 246ed355221076884d225f9d8a4c30a048be8162 (diff) |
iwlwifi: prepare for PAN queue/fifo assignment
PAN ucode will require a different queue assignment,
in particular queue 9 instead of 4 should be used for
commands.
This is required because the ucode will stop/start
queues 4 and 8 depending on the PAN state, since
queue 8 will be used for PAN multicast (after DTIM).
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 6b188926014b..7cafb26a5f52 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -265,11 +265,10 @@ struct iwl_channel_info { | |||
265 | #define IWL_MIN_NUM_QUEUES 10 | 265 | #define IWL_MIN_NUM_QUEUES 10 |
266 | 266 | ||
267 | /* | 267 | /* |
268 | * Queue #4 is the command queue for 3945/4965/5x00/1000/6x00, | 268 | * Command queue depends on iPAN support. |
269 | * the driver maps it into the appropriate device FIFO for the | ||
270 | * uCode. | ||
271 | */ | 269 | */ |
272 | #define IWL_CMD_QUEUE_NUM 4 | 270 | #define IWL_DEFAULT_CMD_QUEUE_NUM 4 |
271 | #define IWL_IPAN_CMD_QUEUE_NUM 9 | ||
273 | 272 | ||
274 | /* Power management (not Tx power) structures */ | 273 | /* Power management (not Tx power) structures */ |
275 | 274 | ||
@@ -1197,6 +1196,9 @@ struct iwl_priv { | |||
1197 | /* microcode/device supports multiple contexts */ | 1196 | /* microcode/device supports multiple contexts */ |
1198 | u8 valid_contexts; | 1197 | u8 valid_contexts; |
1199 | 1198 | ||
1199 | /* command queue number */ | ||
1200 | u8 cmd_queue; | ||
1201 | |||
1200 | /* EEPROM MAC addresses */ | 1202 | /* EEPROM MAC addresses */ |
1201 | struct mac_address addresses[2]; | 1203 | struct mac_address addresses[2]; |
1202 | 1204 | ||