diff options
author | Sara Sharon <sara.sharon@intel.com> | 2016-07-04 14:34:26 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2016-09-16 09:10:22 +0300 |
commit | 4fe10bc6038a6b3f6a025aca8fc9c6c23e046b1e (patch) | |
tree | aa433f96f9bee668c15047b5384aebddfe0f2fee /drivers/net/wireless/intel/iwlwifi/iwl-fh.h | |
parent | 6983ba6951139c99f0692c94f83d8d75ea559bcc (diff) | |
download | linux-4fe10bc6038a6b3f6a025aca8fc9c6c23e046b1e.tar.gz linux-4fe10bc6038a6b3f6a025aca8fc9c6c23e046b1e.tar.bz2 linux-4fe10bc6038a6b3f6a025aca8fc9c6c23e046b1e.zip |
iwlwifi: change byte count table for a000 devices
Since TFD was enlarged to 256 bytes, the fetch of the TFD
itself is very expensive.
To make DRAM to SRAM more efficient, bits 12-13 will indicate
the number of 64 byte chunks that should be transferred to
SRAM.
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-fh.h')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/iwl-fh.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-fh.h b/drivers/net/wireless/intel/iwlwifi/iwl-fh.h index 98d2ff240ea5..33ef5372d195 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-fh.h +++ b/drivers/net/wireless/intel/iwlwifi/iwl-fh.h @@ -734,8 +734,13 @@ struct iwl_tfh_tfd { /** * struct iwlagn_schedq_bc_tbl scheduler byte count table * base physical address provided by SCD_DRAM_BASE_ADDR + * For devices up to a000: * @tfd_offset 0-12 - tx command byte count - * 12-16 - station index + * 12-16 - station index + * For a000 and on: + * @tfd_offset 0-12 - tx command byte count + * 12-13 - number of 64 byte chunks + * 14-16 - reserved */ struct iwlagn_scd_bc_tbl { __le16 tfd_offset[TFD_QUEUE_BC_SIZE]; |