]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: iwlwifi: mld: remove P2P powersave tracking
authorJohannes Berg <johannes.berg@intel.com>
Wed, 23 Apr 2025 06:16:31 +0000 (09:16 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Apr 2025 13:37:38 +0000 (15:37 +0200)
Since the FW is tracking the CT window by itself, we don't need
to update the MAC context or even fill in the value. We just had
added that because a firmware bug had broken it for a while.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250423091408.ee164b464c21.I29de491b4d74b2b8084e54bfbd28646b15dee196@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mld/iface.c

index e49e2260ac05ebb8501aafbd1f309ed6ca1ca0f5..47b5b31b5b9173e51b21fae04e5ca506df6e77dd 100644 (file)
@@ -226,11 +226,6 @@ static void iwl_mld_fill_mac_cmd_sta(struct iwl_mld *mld,
        if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p)
                cmd->filter_flags |=
                        cpu_to_le32(MAC_CFG_FILTER_ACCEPT_PROBE_REQ);
-
-       if (vif->p2p)
-               cmd->client.ctwin =
-                       cpu_to_le32(vif->bss_conf.p2p_noa_attr.oppps_ctwindow &
-                                   IEEE80211_P2P_OPPPS_CTWINDOW_MASK);
 }
 
 static void iwl_mld_fill_mac_cmd_ap(struct iwl_mld *mld,