]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: iwlwifi: remove mvm prefix from iwl_mvm_esr_mode_notif
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 12 Feb 2025 05:43:24 +0000 (07:43 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 26 Feb 2025 14:48:54 +0000 (15:48 +0100)
This is not specific to mvm.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250212073923.c536eeaae129.I848307be6df21913c0ce3eb6baef715cd401db1a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/datapath.h
drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c

index 570a3f72251039df72286db6afe7b886aa8b7651..34a562d6c2085c8335d0a7952049abf0c09b9f2b 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /*
- * Copyright (C) 2024 Intel Corporation
+ * Copyright (C) 2024-2025 Intel Corporation
  * Copyright (C) 2012-2014, 2018-2022 Intel Corporation
  * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
  * Copyright (C) 2016-2017 Intel Deutschland GmbH
@@ -92,7 +92,7 @@ enum iwl_data_path_subcmd_ids {
 
        /**
         * @ESR_MODE_NOTIF: notification to recommend/force a wanted esr mode,
-        *      uses &struct iwl_mvm_esr_mode_notif
+        *      uses &struct iwl_esr_mode_notif
         */
        ESR_MODE_NOTIF = 0xF3,
 
index 511e86ea11d442d8b16fcdddd163aa3ec1ba8818..b511e3aa6bb2f441edab3b2899ae188d549963d4 100644 (file)
@@ -697,11 +697,11 @@ enum iwl_mvm_fw_esr_recommendation {
 }; /* ESR_MODE_RECOMMENDATION_CODE_API_E_VER_1 */
 
 /**
- * struct iwl_mvm_esr_mode_notif - FWs recommendation/force for esr mode
+ * struct iwl_esr_mode_notif - FWs recommendation/force for esr mode
  *
  * @action: the action to apply on esr state. See &iwl_mvm_fw_esr_recommendation
  */
-struct iwl_mvm_esr_mode_notif {
+struct iwl_esr_mode_notif {
        __le32 action;
 } __packed; /* ESR_MODE_RECOMMENDATION_NTFY_API_S_VER_1 */
 
index 984f407f70272ab8d329012e6acec6426ebacde9..76603ef02704a6ff05608952f61ae4d1462476f5 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 /*
- * Copyright (C) 2012-2014, 2018-2024 Intel Corporation
+ * Copyright (C) 2012-2014, 2018-2025 Intel Corporation
  * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
  * Copyright (C) 2016-2017 Intel Deutschland GmbH
  */
@@ -145,7 +145,7 @@ static void iwl_mvm_rx_esr_mode_notif(struct iwl_mvm *mvm,
                                      struct iwl_rx_cmd_buffer *rxb)
 {
        struct iwl_rx_packet *pkt = rxb_addr(rxb);
-       struct iwl_mvm_esr_mode_notif *notif = (void *)pkt->data;
+       struct iwl_esr_mode_notif *notif = (void *)pkt->data;
        struct ieee80211_vif *vif = iwl_mvm_get_bss_vif(mvm);
 
        /* FW recommendations is only for entering EMLSR */
@@ -495,7 +495,7 @@ static const struct iwl_rx_handlers iwl_mvm_rx_handlers[] = {
        RX_HANDLER_GRP(DATA_PATH_GROUP, ESR_MODE_NOTIF,
                       iwl_mvm_rx_esr_mode_notif,
                       RX_HANDLER_ASYNC_LOCKED_WIPHY,
-                      struct iwl_mvm_esr_mode_notif),
+                      struct iwl_esr_mode_notif),
 
        RX_HANDLER_GRP(DATA_PATH_GROUP, MONITOR_NOTIF,
                       iwl_mvm_rx_monitor_notif, RX_HANDLER_ASYNC_LOCKED,