OSDN Git Service

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)
commit095650c0541e1898751a25073f1a57cfd309f7eb
treeeb69e20d184492a514abb56ee541a34f4ee736d4
parent6815e3d0bbee886dfd13bba485066ff830ed7f14
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