From 0343886af97c9336aa177b64982bbff00b577799 Mon Sep 17 00:00:00 2001 From: YifanFan17 Date: Fri, 10 Jan 2025 12:31:10 +0000 Subject: [PATCH] wifi: (fixes #1175) Fix mismatched callback function signature types --- src/wifi/model/wifi-phy-state-helper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wifi/model/wifi-phy-state-helper.h b/src/wifi/model/wifi-phy-state-helper.h index f9d7e0ed8..2e05c2fde 100644 --- a/src/wifi/model/wifi-phy-state-helper.h +++ b/src/wifi/model/wifi-phy-state-helper.h @@ -309,7 +309,7 @@ class WifiPhyStateHelper : public Object /** * TracedCallback signature for the outcome of a received packet. * - * @param [in] psdu The received PSDU (Physical Layer Service Data Unit). + * @param [in] ppdu The received PPDU (Physical Layer Protocol Data Unit). * @param [in] signalInfo Information about the received signal, including its power and other * characteristics. * @param [in] txVector The transmission vector used for the packet, detailing @@ -317,7 +317,7 @@ class WifiPhyStateHelper : public Object * @param [in] outcomes A vector of boolean values indicating the * success or failure of receiving individual MPDUs within the PSDU. */ - typedef void (*RxOutcomeTracedCallback)(Ptr psdu, + typedef void (*RxOutcomeTracedCallback)(Ptr ppdu, RxSignalInfo signalInfo, const WifiTxVector& txVector, const std::vector& outcomes);