Skip to content

Commit 4ec17ce

Browse files
gabaydjmberg-intel
authored andcommitted
wifi: iwlwifi: properly set WIPHY_FLAG_SUPPORTS_EXT_KEK_KCK
The WIPHY_FLAG_SUPPORTS_EXT_KEK_KCK should be set based on the WOWLAN_KEK_KCK_MATERIAL command version. Currently, the command version in the firmware has advanced to 4, which prevents the flag from being set correctly, fix that. Signed-off-by: Daniel Gabay <daniel.gabay@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20240703064026.a0f162108575.If1a9785727d2a1b0197a396680965df1b53d4096@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 39ab8ff commit 4ec17ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm)
654654
hw->wiphy->features |= NL80211_FEATURE_WFA_TPC_IE_IN_PROBES;
655655

656656
if (iwl_fw_lookup_cmd_ver(mvm->fw, WOWLAN_KEK_KCK_MATERIAL,
657-
IWL_FW_CMD_VER_UNKNOWN) == 3)
657+
IWL_FW_CMD_VER_UNKNOWN) >= 3)
658658
hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_EXT_KEK_KCK;
659659

660660
if (fw_has_api(&mvm->fw->ucode_capa,

0 commit comments

Comments
 (0)