]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5c134ece524f5668c00f5322b0e779184879538
treef2b0056f9d71ceca3613c1a3ef3657c0533eaa7d
parent465e284999df8e61112f2eea1eef38e0f7c4c3b0
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