Difference between OT_RADIO_CAPS_TRANSMIT_RETRIES & OT_RADIO_CAPS_CSMA_BACKOFF Radio capability #9676
-
Hello OT team, The below description for OT_RADIO_CAPS_TRANSMIT_RETRIES & OT_RADIO_CAPS_CSMA_BACKOFF capabilities are mentioned in API reference and Radio .h I understand from this description that OT_RADIO_CAPS_CSMA_BACKOFF should be set for the radio driver that supports backoff but doesn't implement the CSMA retry. while OT_RADIO_CAPS_TRANSMIT_RETRIES should be set for radio driver that implements CSMA retries. Based on that, only of these capabilities should be set for certain radio driver. i.e if OT_RADIO_CAPS_TRANSMIT_RETRIES is supported then this implies that OT_RADIO_CAPS_CSMA_BACKOFF is supported as part on it and the OT_RADIO_CAPS_CSMA_BACKOFF shouldn't be set. Could you please confirm my understanding Thanks in advance, Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
A radio supporting I recommend including all these capabilities in the The OT stack may not explicitly check for |
Beta Was this translation helpful? Give feedback.
-
Thanks for the info |
Beta Was this translation helpful? Give feedback.
A radio supporting
OT_RADIO_CAPS_TRANSMIT_RETRIES
should also already supportOT_RADIO_CAPS_CSMA_BACKOFF
(andOT_RADIO_CAPS_ACK_TIMEOUT
).I recommend including all these capabilities in the
otPlatRadioGetCaps()
return value for such a case. This ensures thatGetCaps()
accurately represents all supported capabilities.The OT stack may not explicitly check for
OT_RADIO_CAPS_CSMA_BACKOFF
ifOT_RADIO_CAPS_TRANSMIT_RETRIES
is present, but it won't be a good idea to assume this in radio platform implementation (and exclude theOT_RADIO_CAPS_CSMA_BACKOFF
inGetCaps()
).