Prepares MAC headers based on `Info` fields in a given `TxFrame`. This method uses the `Info` structure to construct the MAC address and security headers in @p aTxFrame. It determines the Frame Control Field (FCF), including setting the appropriate frame type, security level, and addressing mode flags. It populates the source and destination addresses and PAN IDs within the MAC header based on the information provided in the `Info` structure. It sets the Ack Request bit in the FCF if the following criteria are met: - A destination address is present - The destination address is not the broadcast address - The frame type is not an ACK frame The header IE entries are prepared based on `mAppendTimeIe` and `mAppendCslIe` flags and the IE Present flag in FCF is determined accordingly. The Frame Pending flag in FCF is not set. It may need to be set separately depending on the specific requirements of the frame being transmitted.
Notifies user of `SubMac` of the status of a frame transmission attempt. This is intended for updating counters, logging, and/or collecting statistics.
The method notifies user of `SubMac` that the transmit operation has completed, providing, if applicable, the received ACK frame.
This callback method requests a frame to be prepared for CSL transmission to a given SSED.
This callback method notifies the end of CSL frame transmission to a child.
This callback method notifies the end of indirect frame transmission to a child.
Starts the transmit sequence on the radio. The caller must form the IEEE 802.15.4 frame in the buffer provided by `GetTransmitBuffer()` before requesting transmission. The channel and transmit power are also included in the frame.
Is called to handle transmit events.
Informs the data poll sender of success/error status of a previously requested poll frame transmission. In case of transmit failure, the data poll sender may choose to send the next data poll more quickly (up to some fixed number of attempts).
Informs the data poll sender to process a transmitted MAC frame.
Copies the PSDU and all attributes (except for frame link type) from another frame.
This callback method handles a "Transmit Started" event from radio platform.
This callback method handles a "Transmit Done" event from radio platform.
This callback method handles a "Transmit Done" event from radio platform when diagnostics mode is enabled.
Records the status of a frame transmission attempt, updating MAC counters. Unlike `HandleTransmitDone` which is called after all transmission attempts of frame to indicate final status of a frame transmission request, this method is invoked on all frame transmission attempts.
Invokes the mTransmitDoneCallback, if set.
Sets the current MAC frame counter value from the value from a `TxFrame`.