net: openthread: radio: Added sleep to tx as hw radio cap.
OT_RADIO_CAPS_SLEEP_TO_TX was added as a radio capability for ieee802154 radio. Waiting on RX state before transmission is alternative condition to OT_RADIO_CAPS_SLEEP_TO_TX support as it was a result of OpenThread architecture and is actually not needed in the Zephyr. Such change lets to start transmission faster and lower SED device power consumption in active state about 30%. Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>
This commit is contained in:
parent
70dae094ba
commit
be372872ea
4 changed files with 21 additions and 5 deletions
|
@ -159,7 +159,8 @@ static enum ieee802154_hw_caps nrf5_get_capabilities(struct device *dev)
|
|||
{
|
||||
return IEEE802154_HW_FCS | IEEE802154_HW_FILTER |
|
||||
IEEE802154_HW_CSMA | IEEE802154_HW_2_4_GHZ |
|
||||
IEEE802154_HW_TX_RX_ACK | IEEE802154_HW_ENERGY_SCAN;
|
||||
IEEE802154_HW_TX_RX_ACK | IEEE802154_HW_ENERGY_SCAN |
|
||||
IEEE802154_HW_SLEEP_TO_TX;
|
||||
}
|
||||
|
||||
static int nrf5_cca(struct device *dev)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue