]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: pcie: support rx structures for 22560 devices
authorGolan Ben Ami <golan.ben.ami@intel.com>
Mon, 5 Feb 2018 10:01:36 +0000 (12:01 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 2 Aug 2018 07:50:05 +0000 (10:50 +0300)
commit0307c839613e17b052c53e2c80a6c76fd1cd0320
tree70730433cd92ca4e649a0e594cb7f3b91bb3d095
parentbfdbe1323253a3f829d59c2566bb3c9452b84651
iwlwifi: pcie: support rx structures for 22560 devices

The rfh for 22560 devices has changed so it supports now
the same arch of using used and free lists, but different
structures to support the last.
Use the new structures, hw dependent, to manage the lists.

bd, the free list, uses the iwl_rx_transfer_desc,
in which the vid is stored in the structs' rbid
field, and the page address in the addr field.

used_bd, the used list, uses the iwl_rx_completion_desc
struct, in which the vid is stored in the structs' rbid
field.

rb_stts, the hw "write" pointer of rx is stored in a
__le16 array, in which each entry represents the write
pointer per queue.

Signed-off-by: Golan Ben Ami <golan.ben.ami@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/rx.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c