Skip to content

Commit

Permalink
wifi: (fixes #1175) Fix mismatched callback function signature types
Browse files Browse the repository at this point in the history
  • Loading branch information
YifanFan17 authored and Stefano Avallone committed Jan 11, 2025
1 parent 13eb53f commit 0343886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wifi/model/wifi-phy-state-helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -309,15 +309,15 @@ 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
* the transmission parameters.
* @param [in] outcomes A vector of boolean values indicating the
* success or failure of receiving individual MPDUs within the PSDU.
*/
typedef void (*RxOutcomeTracedCallback)(Ptr<const WifiPsdu> psdu,
typedef void (*RxOutcomeTracedCallback)(Ptr<const WifiPpdu> ppdu,
RxSignalInfo signalInfo,
const WifiTxVector& txVector,
const std::vector<bool>& outcomes);
Expand Down

0 comments on commit 0343886

Please sign in to comment.