]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: iwlwifi: remove mvm prefix from marker command
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 27 May 2026 20:05:00 +0000 (23:05 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 3 Jun 2026 14:02:54 +0000 (17:02 +0300)
This command is sent in other opmodes as well. Remove the mvm prefix.

Link: https://patch.msgid.link/20260527230313.290e4d9db14a.Ia4edc64dacc8e298ab7817ab5c37843e92698b8d@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
drivers/net/wireless/intel/iwlwifi/fw/api/debug.h
drivers/net/wireless/intel/iwlwifi/fw/dbg.c

index abd259350589576aa1131f8f9ec8edbcdcde52cd..f76f76e54c4e522fc5c2961bba060deff95250be 100644 (file)
@@ -466,8 +466,8 @@ enum iwl_legacy_cmds {
        MCC_CHUB_UPDATE_CMD = 0xc9,
 
        /**
-        * @MARKER_CMD: trace marker command, uses &struct iwl_mvm_marker
-        * with &struct iwl_mvm_marker_rsp
+        * @MARKER_CMD: trace marker command, uses &struct iwl_marker
+        * with &struct iwl_marker_rsp
         */
        MARKER_CMD = 0xcb,
 
index 61a850de26fcc41987c4ce4138c5e288f54a523c..382d1c2581ad5b2ea8e1e87616098c88de403983 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /*
- * Copyright (C) 2005-2014, 2018-2025 Intel Corporation
+ * Copyright (C) 2005-2014, 2018-2026 Intel Corporation
  * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
  * Copyright (C) 2016-2017 Intel Deutschland GmbH
  */
@@ -262,20 +262,20 @@ struct iwl_mfu_assert_dump_notif {
 } __packed; /* MFU_DUMP_ASSERT_API_S_VER_1 */
 
 /**
- * enum iwl_mvm_marker_id - marker ids
+ * enum iwl_marker_id - marker ids
  *
  * The ids for different type of markers to insert into the usniffer logs
  *
  * @MARKER_ID_TX_FRAME_LATENCY: TX latency marker
  * @MARKER_ID_SYNC_CLOCK: sync FW time and systime
  */
-enum iwl_mvm_marker_id {
+enum iwl_marker_id {
        MARKER_ID_TX_FRAME_LATENCY = 1,
        MARKER_ID_SYNC_CLOCK = 2,
 }; /* MARKER_ID_API_E_VER_2 */
 
 /**
- * struct iwl_mvm_marker - mark info into the usniffer logs
+ * struct iwl_marker - mark info into the usniffer logs
  *
  * (MARKER_CMD = 0xcb)
  *
@@ -284,12 +284,12 @@ enum iwl_mvm_marker_id {
  * In the command response the ucode will return the GP2 time.
  *
  * @dw_len: The amount of dwords following this byte including this byte.
- * @marker_id: A unique marker id (iwl_mvm_marker_id).
+ * @marker_id: A unique marker id (iwl_marker_id).
  * @reserved: reserved.
  * @timestamp: in milliseconds since 1970-01-01 00:00:00 UTC
  * @metadata: additional meta data that will be written to the unsiffer log
  */
-struct iwl_mvm_marker {
+struct iwl_marker {
        u8 dw_len;
        u8 marker_id;
        __le16 reserved;
@@ -298,11 +298,11 @@ struct iwl_mvm_marker {
 } __packed; /* MARKER_API_S_VER_1 */
 
 /**
- * struct iwl_mvm_marker_rsp - Response to marker cmd
+ * struct iwl_marker_rsp - Response to marker cmd
  *
  * @gp2: The gp2 clock value in the FW
  */
-struct iwl_mvm_marker_rsp {
+struct iwl_marker_rsp {
        __le32 gp2;
 } __packed;
 
index 337e312c2f43dc8deffe502229e7f0365e347bf7..6621ef9358bce2119467a54ffa180560a3e82c20 100644 (file)
@@ -2383,8 +2383,8 @@ static int iwl_fw_dbg_restart_recording(struct iwl_trans *trans,
 
 int iwl_fw_send_timestamp_marker_cmd(struct iwl_fw_runtime *fwrt)
 {
-       struct iwl_mvm_marker marker = {
-               .dw_len = sizeof(struct iwl_mvm_marker) / 4,
+       struct iwl_marker marker = {
+               .dw_len = sizeof(struct iwl_marker) / 4,
                .marker_id = MARKER_ID_SYNC_CLOCK,
        };
        struct iwl_host_cmd hcmd = {
@@ -2392,7 +2392,7 @@ int iwl_fw_send_timestamp_marker_cmd(struct iwl_fw_runtime *fwrt)
                .id = WIDE_ID(LONG_GROUP, MARKER_CMD),
                .dataflags = {},
        };
-       struct iwl_mvm_marker_rsp *resp;
+       struct iwl_marker_rsp *resp;
        int cmd_ver = iwl_fw_lookup_cmd_ver(fwrt->fw,
                                            WIDE_ID(LONG_GROUP, MARKER_CMD),
                                            IWL_FW_CMD_VER_UNKNOWN);