[csl] enable cca for CSL transmission (#11027)

This commit enables CCA for CSL transmission. CCA is expected for CSL
transmissions. The platform layer may skip CCA if mCsmaCaEnabled is not
set. This commit ensures mCsmaCaEnabled is correctly delivered to the
platform layer.
This commit is contained in:
Yakun Xu
2025-03-03 11:18:21 -08:00
committed by GitHub
parent 75c8aed8f6
commit ab7a874b2a
+1 -1
View File
@@ -224,7 +224,7 @@ Mac::TxFrame *CslTxScheduler::HandleFrameRequest(Mac::TxFrames &aTxFrames)
frame->SetTxDelay(txDelay);
frame->SetTxDelayBaseTime(
static_cast<uint32_t>(mCslTxNeighbor->GetLastRxTimestamp())); // Only LSB part of the time is required.
frame->SetCsmaCaEnabled(false);
frame->SetCsmaCaEnabled(true);
exit:
return frame;