]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: handle switching killer Qu B0 NICs to C0
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 21 Aug 2019 17:17:32 +0000 (20:17 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 29 Aug 2019 14:38:34 +0000 (16:38 +0200)
commitf6eb5830fe0eff71dec48e5963a0c79ec915477e
tree5977c9ea918c211135bdb935f3d15ba5e4e2d20d
parent75e3aa24bb847330cd8c467d0abd7b52267cecab
iwlwifi: pcie: handle switching killer Qu B0 NICs to C0

We need to use a different firmware for C0 versions of killer Qu NICs.
Add structures for them and handle them in the if block that detects
C0 revisions.

Additionally, instead of having an inclusive check for QnJ devices,
make the selection exclusive, so that switching to QnJ is the
exception, not the default.  This prevents us from having to add all
the non-QnJ cards to an exclusion list.  To do so, only go into the
QnJ block if the device has an RF ID type HR and HW revision QnJ.

Cc: stable@vger.kernel.org # 5.2
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/20190821171732.2266-1-luca@coelho.fi
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/cfg/22000.c
drivers/net/wireless/intel/iwlwifi/iwl-config.h
drivers/net/wireless/intel/iwlwifi/pcie/drv.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c