diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/pcie/internal.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/pcie/internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/internal.h b/drivers/net/wireless/iwlwifi/pcie/internal.h index aa2a39a637d..3d62e805535 100644 --- a/drivers/net/wireless/iwlwifi/pcie/internal.h +++ b/drivers/net/wireless/iwlwifi/pcie/internal.h | |||
@@ -182,6 +182,15 @@ struct iwl_queue { | |||
182 | #define TFD_TX_CMD_SLOTS 256 | 182 | #define TFD_TX_CMD_SLOTS 256 |
183 | #define TFD_CMD_SLOTS 32 | 183 | #define TFD_CMD_SLOTS 32 |
184 | 184 | ||
185 | /* | ||
186 | * The FH will write back to the first TB only, so we need | ||
187 | * to copy some data into the buffer regardless of whether | ||
188 | * it should be mapped or not. This indicates how much to | ||
189 | * copy, even for HCMDs it must be big enough to fit the | ||
190 | * DRAM scratch from the TX cmd, at least 16 bytes. | ||
191 | */ | ||
192 | #define IWL_HCMD_MIN_COPY_SIZE 16 | ||
193 | |||
185 | struct iwl_pcie_txq_entry { | 194 | struct iwl_pcie_txq_entry { |
186 | struct iwl_device_cmd *cmd; | 195 | struct iwl_device_cmd *cmd; |
187 | struct iwl_device_cmd *copy_cmd; | 196 | struct iwl_device_cmd *copy_cmd; |