wifi: iwlwifi: Remove mvm prefix from iwl_mvm_compressed_ba_notif
authorDaniel Gabay <daniel.gabay@intel.com>
Thu, 26 Dec 2024 15:44:44 +0000 (17:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 13:00:54 +0000 (14:00 +0100)
This is not MVM specific.

Signed-off-by: Daniel Gabay <daniel.gabay@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20241226174257.9b35dfce796b.Ie61e17a488f6a34bcbe814dd89a138fe1f55585c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
drivers/net/wireless/intel/iwlwifi/fw/api/tx.h
drivers/net/wireless/intel/iwlwifi/mvm/tx.c

index 2f40e69..34a1f97 100644 (file)
@@ -447,7 +447,7 @@ enum iwl_legacy_cmds {
 
        /**
         * @BA_NOTIF:
-        * BlockAck notification, uses &struct iwl_mvm_compressed_ba_notif
+        * BlockAck notification, uses &struct iwl_compressed_ba_notif
         * or &struct iwl_mvm_ba_notif depending on the HW
         */
        BA_NOTIF = 0xc5,
index f3bf2e0..04b177b 100644 (file)
@@ -638,14 +638,14 @@ struct iwl_mvm_ba_notif {
 } __packed;
 
 /**
- * struct iwl_mvm_compressed_ba_tfd - progress of a TFD queue
+ * struct iwl_compressed_ba_tfd - progress of a TFD queue
  * @q_num: TFD queue number
  * @tfd_index: Index of first un-acked frame in the  TFD queue
  * @scd_queue: For debug only - the physical queue the TFD queue is bound to
  * @tid: TID of the queue (0-7)
  * @reserved: reserved for alignment
  */
-struct iwl_mvm_compressed_ba_tfd {
+struct iwl_compressed_ba_tfd {
        __le16 q_num;
        __le16 tfd_index;
        u8 scd_queue;
@@ -654,12 +654,12 @@ struct iwl_mvm_compressed_ba_tfd {
 } __packed; /* COMPRESSED_BA_TFD_API_S_VER_1 */
 
 /**
- * struct iwl_mvm_compressed_ba_ratid - progress of a RA TID queue
+ * struct iwl_compressed_ba_ratid - progress of a RA TID queue
  * @q_num: RA TID queue number
  * @tid: TID of the queue
  * @ssn: BA window current SSN
  */
-struct iwl_mvm_compressed_ba_ratid {
+struct iwl_compressed_ba_ratid {
        u8 q_num;
        u8 tid;
        __le16 ssn;
@@ -685,7 +685,7 @@ enum iwl_mvm_ba_resp_flags {
 };
 
 /**
- * struct iwl_mvm_compressed_ba_notif - notifies about reception of BA
+ * struct iwl_compressed_ba_notif - notifies about reception of BA
  * ( BA_NOTIF = 0xc5 )
  * @flags: status flag, see the &iwl_mvm_ba_resp_flags
  * @sta_id: Index of recipient (BA-sending) station in fw's station table
@@ -704,12 +704,12 @@ enum iwl_mvm_ba_resp_flags {
  * @tx_rate: the rate the aggregation was sent at
  * @tfd_cnt: number of TFD-Q elements
  * @ra_tid_cnt: number of RATID-Q elements
- * @tfd: array of TFD queue status updates. See &iwl_mvm_compressed_ba_tfd
+ * @tfd: array of TFD queue status updates. See &iwl_compressed_ba_tfd
  *     for details. Length in @tfd_cnt.
  * @ra_tid: array of RA-TID queue status updates. For debug purposes only. See
- *     &iwl_mvm_compressed_ba_ratid for more details. Length in @ra_tid_cnt.
+ *     &iwl_compressed_ba_ratid for more details. Length in @ra_tid_cnt.
  */
-struct iwl_mvm_compressed_ba_notif {
+struct iwl_compressed_ba_notif {
        __le32 flags;
        u8 sta_id;
        u8 reduced_txp;
@@ -726,8 +726,8 @@ struct iwl_mvm_compressed_ba_notif {
        __le16 tfd_cnt;
        __le16 ra_tid_cnt;
        union {
-               DECLARE_FLEX_ARRAY(struct iwl_mvm_compressed_ba_ratid, ra_tid);
-               DECLARE_FLEX_ARRAY(struct iwl_mvm_compressed_ba_tfd, tfd);
+               DECLARE_FLEX_ARRAY(struct iwl_compressed_ba_ratid, ra_tid);
+               DECLARE_FLEX_ARRAY(struct iwl_compressed_ba_tfd, tfd);
        };
 } __packed; /* COMPRESSED_BA_RES_API_S_VER_4,
               COMPRESSED_BA_RES_API_S_VER_5 */
index c9867d2..f1a8f4a 100644 (file)
@@ -2193,7 +2193,7 @@ void iwl_mvm_rx_ba_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb)
        ba_info.flags = IEEE80211_TX_STAT_AMPDU;
 
        if (iwl_mvm_has_new_tx_api(mvm)) {
-               struct iwl_mvm_compressed_ba_notif *ba_res =
+               struct iwl_compressed_ba_notif *ba_res =
                        (void *)pkt->data;
                u8 lq_color = TX_RES_RATE_TABLE_COL_GET(ba_res->tlc_rate_info);
                u16 tfd_cnt;
@@ -2241,8 +2241,7 @@ void iwl_mvm_rx_ba_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb)
 
                /* Free per TID */
                for (i = 0; i < tfd_cnt; i++) {
-                       struct iwl_mvm_compressed_ba_tfd *ba_tfd =
-                               &ba_res->tfd[i];
+                       struct iwl_compressed_ba_tfd *ba_tfd = &ba_res->tfd[i];
 
                        tid = ba_tfd->tid;
                        if (tid == IWL_MGMT_TID)