]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: iwlwifi: update the PHY_CONTEXT_CMD API
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 23 Apr 2025 06:16:39 +0000 (09:16 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Apr 2025 13:37:40 +0000 (15:37 +0200)
A new field is added, no impact on the current flows.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250423091408.0e1324ae07b7.I6d8ffda2b00c817d3f784241dd61cfe533e12d93@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/phy-ctxt.h

index 4d8a12799c4d8ff0d2bc6b7efcde975bddf3827c..4594a7c94bd6f57800c035494e374180194768f9 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
 /*
- * Copyright (C) 2012-2014, 2018, 2020-2024 Intel Corporation
+ * Copyright (C) 2012-2014, 2018, 2020-2025 Intel Corporation
  * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
  * Copyright (C) 2016-2017 Intel Deutschland GmbH
  */
@@ -146,6 +146,7 @@ struct iwl_phy_context_cmd_v1 {
  * @sbb_ctrl_channel_loc: location of the control channel
  * @puncture_mask: bitmap of punctured subchannels
  * @dsp_cfg_flags: set to 0
+ * @secondary_ctrl_chnl_loc: location of secondary control channel
  * @reserved: reserved to align to 64 bit
  */
 struct iwl_phy_context_cmd {
@@ -164,11 +165,13 @@ struct iwl_phy_context_cmd {
                };
        };
        __le32 dsp_cfg_flags;
-       __le32 reserved;
+       u8 secondary_ctrl_chnl_loc;
+       u8 reserved[3];
 } __packed; /* PHY_CONTEXT_CMD_API_VER_3,
             * PHY_CONTEXT_CMD_API_VER_4,
             * PHY_CONTEXT_CMD_API_VER_5,
-            * PHY_CONTEXT_CMD_API_VER_6
+            * PHY_CONTEXT_CMD_API_VER_6,
+            * PHY_CONTEXT_CMD_API_S_VER_7
             */
 
 #endif /* __iwl_fw_api_phy_ctxt_h__ */