iwlwifi: pcie: switch to correct RBD/CD layout for 22560
authorJohannes Berg <johannes.berg@intel.com>
Wed, 30 Jan 2019 10:09:22 +0000 (11:09 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 22 Mar 2019 10:59:41 +0000 (12:59 +0200)
commitf826faaa1f3ab59458d43ced68dda30946844802
tree86346212c2f8b19ea7fac3dab6dfbaa36cf1a4b5
parentfd1190b68a27b0ebd7c693f0ca99d7fd46f460a1
iwlwifi: pcie: switch to correct RBD/CD layout for 22560

The layout of the RBD (receive buffer descriptor) isn't quite right,
the hardware ended up being implemented differently. Switch to the
correct RBD layout. While at it, remove the now useless extra defines.

Also, switch the CD (completion descriptor) to the right format, which
is basically just a code cleanup because the only field we really used
(rbid) is still in the same place. We may need fragmentation later if
we ever want to use it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/rx.h
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/rx.c