]> 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)
commit14273027736f0b70def67639624133c18ce007ee
tree5977c9ea918c211135bdb935f3d15ba5e4e2d20d
parent4a3304a8101a6efbe98e38dffdbc23aa805cdf35
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