]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: support LONG_GROUP for WOWLAN_GET_STATUSES version
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 18 Jun 2021 08:01:15 +0000 (11:01 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 22 Jun 2021 13:57:56 +0000 (16:57 +0300)
commit00d22852f70af13ee51dba5b88d989eca96de360
tree2abafeaf1848a812e94bb9e26fde236784e05b5c
parent2caaa1556dd310e7b298c3d5d06563bf2afb2e39
iwlwifi: mvm: support LONG_GROUP for WOWLAN_GET_STATUSES version

It's been a while that the firmware uses LONG_GROUP by default
and not LEGACY_GROUP.
Until now the firmware wrongly advertise the WOWLAN_GET_STATUS
command's version with LEGACY_GROUP, but it is now being fixed.
In order to support both firmwares, first try to get the version
number of the command with the LONG_GROUP and if the firmware
didn't advertise the command version with LONG_GROUP, try to get
the command version with LEGACY_GROUP.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210618105614.cd6f4e421430.Iec07c746c8e65bc267e4750f38e4f74f2010ca45@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c