drivers: ieee802154: Enable CSMA-CA on serialized host
This commit enables CSMA-CA on the serialized host. Signed-off-by: Pawel Kwiek <pawel.kwiek@nordicsemi.no>
This commit is contained in:
parent
b9c1903d24
commit
f88cc17627
1 changed files with 2 additions and 4 deletions
|
@ -193,8 +193,7 @@ static enum ieee802154_hw_caps nrf5_get_capabilities(const struct device *dev)
|
||||||
{
|
{
|
||||||
return IEEE802154_HW_FCS |
|
return IEEE802154_HW_FCS |
|
||||||
IEEE802154_HW_FILTER |
|
IEEE802154_HW_FILTER |
|
||||||
#if !defined(CONFIG_NRF_802154_SL_OPENSOURCE) && \
|
#if !defined(CONFIG_NRF_802154_SL_OPENSOURCE)
|
||||||
!defined(CONFIG_NRF_802154_SER_HOST)
|
|
||||||
IEEE802154_HW_CSMA |
|
IEEE802154_HW_CSMA |
|
||||||
#ifdef CONFIG_IEEE802154_NRF5_PKT_TXTIME
|
#ifdef CONFIG_IEEE802154_NRF5_PKT_TXTIME
|
||||||
IEEE802154_HW_TXTIME |
|
IEEE802154_HW_TXTIME |
|
||||||
|
@ -434,8 +433,7 @@ static int nrf5_tx(const struct device *dev,
|
||||||
case IEEE802154_TX_MODE_CCA:
|
case IEEE802154_TX_MODE_CCA:
|
||||||
ret = nrf_802154_transmit_raw(nrf5_radio->tx_psdu, true);
|
ret = nrf_802154_transmit_raw(nrf5_radio->tx_psdu, true);
|
||||||
break;
|
break;
|
||||||
#if !defined(CONFIG_NRF_802154_SL_OPENSOURCE) && \
|
#if !defined(CONFIG_NRF_802154_SL_OPENSOURCE)
|
||||||
!defined(CONFIG_NRF_802154_SER_HOST)
|
|
||||||
case IEEE802154_TX_MODE_CSMA_CA:
|
case IEEE802154_TX_MODE_CSMA_CA:
|
||||||
nrf_802154_transmit_csma_ca_raw(nrf5_radio->tx_psdu);
|
nrf_802154_transmit_csma_ca_raw(nrf5_radio->tx_psdu);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue