[radio] add OT_RADIO_CAPS_RX_ON_WHEN_IDLE capability (#9554) (#9554)

Add a new `OT_RADIO_CAPS_RX_ON_WHEN_IDLE` radio capability which lets
OpenThread know what the radio idle state operation will be: receive
or sleep.

This allows to save power on sleepy devices since the active --> idle
transition is much faster, specially for the cases in which there is
some kind of serialization between OpenThread core and the radio
driver.
This commit is contained in:
Eduardo Montoya
2023-11-14 11:46:10 +01:00
committed by GitHub
parent 86215fc31c
commit 193e77e40e
18 changed files with 175 additions and 22 deletions
+6
View File
@@ -260,6 +260,12 @@ void otPlatRadioSetPromiscuous(otInstance *aInstance, bool aEnabled)
OT_UNUSED_VARIABLE(aEnabled);
}
void otPlatRadioSetRxOnWhenIdle(otInstance *aInstance, bool aEnabled)
{
OT_UNUSED_VARIABLE(aInstance);
OT_UNUSED_VARIABLE(aEnabled);
}
bool otPlatRadioIsEnabled(otInstance *aInstance)
{
OT_UNUSED_VARIABLE(aInstance);