]> 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)
commit88bc1752a6d347d231946a417a522aa08ccd5048
treef2b0056f9d71ceca3613c1a3ef3657c0533eaa7d
parent9d48885a79bff8ab0b3af040727f9fdb369deecf
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