diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h index 76c52378f8f7..47bbe399c068 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans.h +++ b/drivers/net/wireless/iwlwifi/iwl-trans.h | |||
@@ -225,10 +225,13 @@ struct iwl_device_cmd { | |||
225 | * ring. The transport layer doesn't map the command's buffer to DMA, but | 225 | * ring. The transport layer doesn't map the command's buffer to DMA, but |
226 | * rather copies it to an previously allocated DMA buffer. This flag tells | 226 | * rather copies it to an previously allocated DMA buffer. This flag tells |
227 | * the transport layer not to copy the command, but to map the existing | 227 | * the transport layer not to copy the command, but to map the existing |
228 | * buffer. This can save memcpy and is worth with very big comamnds. | 228 | * buffer (that is passed in) instead. This saves the memcpy and allows |
229 | * commands that are bigger than the fixed buffer to be submitted. | ||
230 | * Note that a TFD entry after a NOCOPY one cannot be a normal copied one. | ||
229 | * @IWL_HCMD_DFL_DUP: Only valid without NOCOPY, duplicate the memory for this | 231 | * @IWL_HCMD_DFL_DUP: Only valid without NOCOPY, duplicate the memory for this |
230 | * chunk internally and free it again after the command completes. This | 232 | * chunk internally and free it again after the command completes. This |
231 | * can (currently) be used only once per command. | 233 | * can (currently) be used only once per command. |
234 | * Note that a TFD entry after a DUP one cannot be a normal copied one. | ||
232 | */ | 235 | */ |
233 | enum iwl_hcmd_dataflag { | 236 | enum iwl_hcmd_dataflag { |
234 | IWL_HCMD_DFL_NOCOPY = BIT(0), | 237 | IWL_HCMD_DFL_NOCOPY = BIT(0), |