wifi: iwlwifi: mld: support for COMPRESSED_BA_RES_API_S_VER_7
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 30 Apr 2025 12:57:22 +0000 (15:57 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Tue, 6 May 2025 19:22:11 +0000 (22:22 +0300)
The rate format changed but since we don't use the rate, just claim
support for this new API.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250430155443.c4be90e242ff.Ie8a0f0d6320613bd8c5cb6c82a063069fffa3b67@changeid
drivers/net/wireless/intel/iwlwifi/fw/api/tx.h
drivers/net/wireless/intel/iwlwifi/mld/notif.c

index 0a39e4b6eb62f473d6014f4db5c8a26f96abceaa..50d1c590044f04317fb70b0826cc6cd029838b5a 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) 2016-2017 Intel Deutschland GmbH
  */
 #ifndef __iwl_fw_api_tx_h__
@@ -701,7 +701,8 @@ enum iwl_mvm_ba_resp_flags {
  * @rts_retry_cnt: RTS retry count
  * @reserved: reserved (for alignment)
  * @wireless_time: Wireless-media time
- * @tx_rate: the rate the aggregation was sent at
+ * @tx_rate: the rate the aggregation was sent at. Format depends on command
+ *     version.
  * @tfd_cnt: number of TFD-Q elements
  * @ra_tid_cnt: number of RATID-Q elements
  * @tfd: array of TFD queue status updates. See &iwl_compressed_ba_tfd
@@ -730,7 +731,8 @@ struct iwl_compressed_ba_notif {
                DECLARE_FLEX_ARRAY(struct iwl_compressed_ba_tfd, tfd);
        };
 } __packed; /* COMPRESSED_BA_RES_API_S_VER_4,
-              COMPRESSED_BA_RES_API_S_VER_5 */
+              COMPRESSED_BA_RES_API_S_VER_6,
+              COMPRESSED_BA_RES_API_S_VER_7 */
 
 /**
  * struct iwl_mac_beacon_cmd_v6 - beacon template command
index 10f1bee89205adc673c7a017e413c69766ce587e..76b1a21135a88dd5e6e9b139a74d1c076751c397 100644 (file)
@@ -307,7 +307,8 @@ CMD_VERSIONS(tx_resp_notif,
             CMD_VER_ENTRY(8, iwl_tx_resp))
 CMD_VERSIONS(compressed_ba_notif,
             CMD_VER_ENTRY(5, iwl_compressed_ba_notif)
-            CMD_VER_ENTRY(6, iwl_compressed_ba_notif))
+            CMD_VER_ENTRY(6, iwl_compressed_ba_notif)
+            CMD_VER_ENTRY(7, iwl_compressed_ba_notif))
 CMD_VERSIONS(tlc_notif,
             CMD_VER_ENTRY(3, iwl_tlc_update_notif))
 CMD_VERSIONS(mu_mimo_grp_notif,