diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-prph.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-prph.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-prph.h b/drivers/net/wireless/iwlwifi/iwl-prph.h index b1f101caf19d..5469655646ae 100644 --- a/drivers/net/wireless/iwlwifi/iwl-prph.h +++ b/drivers/net/wireless/iwlwifi/iwl-prph.h | |||
@@ -306,7 +306,7 @@ | |||
306 | * at a time, until receiving ACK from receiving station, or reaching | 306 | * at a time, until receiving ACK from receiving station, or reaching |
307 | * retry limit and giving up. | 307 | * retry limit and giving up. |
308 | * | 308 | * |
309 | * The command queue (#4) must use this mode! | 309 | * The command queue (#4/#9) must use this mode! |
310 | * This mode does not require use of the Byte Count table in host DRAM. | 310 | * This mode does not require use of the Byte Count table in host DRAM. |
311 | * | 311 | * |
312 | * Driver controls scheduler operation via 3 means: | 312 | * Driver controls scheduler operation via 3 means: |
@@ -322,7 +322,7 @@ | |||
322 | * (1024 bytes for each queue). | 322 | * (1024 bytes for each queue). |
323 | * | 323 | * |
324 | * After receiving "Alive" response from uCode, driver must initialize | 324 | * After receiving "Alive" response from uCode, driver must initialize |
325 | * the scheduler (especially for queue #4, the command queue, otherwise | 325 | * the scheduler (especially for queue #4/#9, the command queue, otherwise |
326 | * the driver can't issue commands!): | 326 | * the driver can't issue commands!): |
327 | */ | 327 | */ |
328 | 328 | ||
@@ -555,8 +555,9 @@ | |||
555 | #define IWLAGN_SCD_TRANSLATE_TBL_OFFSET_QUEUE(x) \ | 555 | #define IWLAGN_SCD_TRANSLATE_TBL_OFFSET_QUEUE(x) \ |
556 | ((IWLAGN_SCD_TRANSLATE_TBL_OFFSET + ((x) * 2)) & 0xfffc) | 556 | ((IWLAGN_SCD_TRANSLATE_TBL_OFFSET + ((x) * 2)) & 0xfffc) |
557 | 557 | ||
558 | #define IWLAGN_SCD_QUEUECHAIN_SEL_ALL(x) (((1<<(x)) - 1) &\ | 558 | #define IWLAGN_SCD_QUEUECHAIN_SEL_ALL(priv) \ |
559 | (~(1<<IWL_CMD_QUEUE_NUM))) | 559 | (((1<<(priv)->hw_params.max_txq_num) - 1) &\ |
560 | (~(1<<(priv)->cmd_queue))) | ||
560 | 561 | ||
561 | #define IWLAGN_SCD_BASE (PRPH_BASE + 0xa02c00) | 562 | #define IWLAGN_SCD_BASE (PRPH_BASE + 0xa02c00) |
562 | 563 | ||