]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: iwlwifi: mld: use the correct struct size for tracing
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 12 Jun 2025 11:48:50 +0000 (14:48 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 25 Jun 2025 07:57:33 +0000 (10:57 +0300)
For the iwlmld driver the RX command is using struct iwl_rx_mpdu_desc
and not the much older struct iwl_rx_mpdu_res_start. Adjust the value of
rx_mpdu_cmd_hdr_size accordingly so that the trace data is correct.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250612144708.688d95d99ff3.Id3055ca6c19cf8c821cbbd80c09ca2a21d9acec7@changeid
drivers/net/wireless/intel/iwlwifi/mld/mld.c

index 103912c4e4cc08f1542d49e54e13fbd60f3ccb04..73bb32ec8076138bd1ea71b5ef107bf44b25e5ab 100644 (file)
@@ -356,7 +356,7 @@ iwl_mld_configure_trans(struct iwl_op_mode *op_mode)
        trans->conf.n_no_reclaim_cmds = ARRAY_SIZE(no_reclaim_cmds);
 
        trans->conf.rx_mpdu_cmd = REPLY_RX_MPDU_CMD;
-       trans->conf.rx_mpdu_cmd_hdr_size = sizeof(struct iwl_rx_mpdu_res_start);
+       trans->conf.rx_mpdu_cmd_hdr_size = sizeof(struct iwl_rx_mpdu_desc);
        trans->conf.wide_cmd_header = true;
 
        iwl_trans_op_mode_enter(trans, op_mode);