iwlwifi: pcie: use shadow registers for updating write pointer
authorSara Sharon <sara.sharon@intel.com>
Sun, 17 Apr 2016 12:08:59 +0000 (15:08 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:34:09 +0000 (22:34 +0300)
commit1554ed20882798b1da3d9830b0d996a0bc1aaecd
treea3b01f8f8aea476448f056452bd42e7c837682c6
parentcf961e16620f88686e0662753bd92d8383f36862
iwlwifi: pcie: use shadow registers for updating write pointer

The RX queues have a shadow register for the write pointer
that enables updates without grabbing NIC access. Use them
instead of the periphery registers because accessing those
is much more expensive.

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