iwlwifi: pcie: generalize and increase the size of scratchbuf
authorSara Sharon <sara.sharon@intel.com>
Thu, 9 Jun 2016 14:56:38 +0000 (17:56 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 6 Jul 2016 07:21:29 +0000 (10:21 +0300)
commit8de437c71eb924cc86e4265ab575289b85de2bf5
treef2b0056f9d71ceca3613c1a3ef3657c0533eaa7d
parentb1753c62c72fe70035498b28901f9a4bdcf2b92a
iwlwifi: pcie: generalize and increase the size of scratchbuf

Currently the scratch buffer is set to 16 bytes and indicates
the size of the bi-directional DMA.
However, next HW generation will perform additional offloading,
and will write the result in the key location of the TX command,
so the size of the bi-directional consistent memory should grow
accordingly - increase it to 40.
Generalize the code to get rid of now irrelevant scratch references.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/tx.c