]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: add support for version 2 of SOC_CONFIGURATION_CMD
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 6 Nov 2019 07:27:51 +0000 (09:27 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 27 Mar 2020 06:12:49 +0000 (08:12 +0200)
commit25d9cf77ab12975ede2786855888606ac704e780
treeeb69e20d184492a514abb56ee541a34f4ee736d4
parent5c3c12ace7348719adae4ca47f1c3862160b5252
iwlwifi: add support for version 2 of SOC_CONFIGURATION_CMD

This new command is mostly backwards compatible, with the exception
that the device_type element was changed into a bitmask.  The device
type bit remains the same (because we only had 0 and 1 anyway), but
when using v1 we can't set any other bits, because that would change
the integer.

Other than that, the struct remains the same and the driver can set
the device_type bit in both cases, but it can only set the low_latency
bit if VER_2 is used.

Change-Id: Ib68d4c821ebcce253b42ed0ea15881fb4e3e01da
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/soc.h
drivers/net/wireless/intel/iwlwifi/iwl-config.h
drivers/net/wireless/intel/iwlwifi/mvm/fw.c