]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: iwlwifi: mark that we support TX_CMD_API_S_VER_10
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Sat, 28 Dec 2024 20:34:14 +0000 (22:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 14:26:40 +0000 (15:26 +0100)
Usually each struct that represent an API needs to have a comment
specifying all the versions of the API that this struct corresponds to.
iwl_tx_cmd_gen3 was long supporting also version 10. Say that.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20241228223206.83d681dc9cf7.I355270fb20b23978d9402cb70caf52a0108b8cd4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/tx.h

index 1f23bde5720c3ad9d830878b741b6c9bf8130736..b9807dd4f25564761724c1c1857cfc419d053f64 100644 (file)
@@ -298,8 +298,7 @@ struct iwl_tx_cmd_gen3 {
        __le32 rate_n_flags;
        u8 reserved[8];
        struct ieee80211_hdr hdr[];
-} __packed; /* TX_CMD_API_S_VER_8,
-              TX_CMD_API_S_VER_10 */
+} __packed; /* TX_CMD_API_S_VER_8, TX_CMD_API_S_VER_10 */
 
 /*
  * TX response related data
@@ -601,7 +600,8 @@ struct iwl_tx_resp {
        __le16 reserved2;
        struct agg_tx_status status;
 } __packed; /* TX_RSP_API_S_VER_6,
-              TX_RSP_API_S_VER_7 */
+              TX_RSP_API_S_VER_7,
+              TX_RSP_API_S_VER_8 */
 
 /**
  * struct iwl_mvm_ba_notif - notifies about reception of BA