mirror of
https://github.com/espressif/openthread.git
synced 2026-07-22 03:54:07 +00:00
Enhance transmit done callback by passing up the ACK frame (#1790)
* Add new otPlatRadioTxDone() callback which will pass up ACK frame
* The passed up ACK messages are also used for link quality evaluation
* The new feature are supported by the following platforms with this commit:
- posix
- cc2538
- efr32
- da15000
* The new feature are not supported by the following platforms at this moment,
since their radio drivers do not pass up ACK frame:
- cc2650
- nrf52840
- kw41z
- emsk
This commit is contained in:
@@ -151,7 +151,7 @@ void TestFuzz(uint32_t aSeconds)
|
||||
if (g_fTransmit)
|
||||
{
|
||||
g_fTransmit = false;
|
||||
otPlatRadioTransmitDone(aInstance, &g_TransmitRadioPacket, true, OT_ERROR_NONE);
|
||||
otPlatRadioTxDone(aInstance, &g_TransmitRadioPacket, NULL, OT_ERROR_NONE);
|
||||
#ifdef DBG_FUZZ
|
||||
Log("<== transmit");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user