mirror of
https://github.com/espressif/openthread.git
synced 2026-08-19 08:59:52 +00:00
Mac: Increase beacon frame tx attempts (#1618)
This commit changes/increases the max attempts for a beacon frame to `kDirectFrameMacTxAttempts` (direct frame tx attempts).
This commit is contained in:
committed by
Jonathan Hui
parent
7372571276
commit
2f1ebdf40c
@@ -759,7 +759,7 @@ void Mac::HandleBeginTransmit(void)
|
||||
sendFrame.SetChannel(mChannel);
|
||||
SendBeacon(sendFrame);
|
||||
sendFrame.SetSequence(mBeaconSequence++);
|
||||
sendFrame.SetMaxTxAttempts(kIndirectFrameMacTxAttempts);
|
||||
sendFrame.SetMaxTxAttempts(kDirectFrameMacTxAttempts);
|
||||
break;
|
||||
|
||||
case kStateTransmitData:
|
||||
|
||||
Reference in New Issue
Block a user