Home
last modified time | relevance | path

Searched refs:ack_frame (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/ieee802154/
Dieee802154_nrf5.c412 if (nrf5_radio->ack_frame.time == NRF_802154_NO_TIMESTAMP) { in handle_ack()
423 ack_len = nrf5_radio->ack_frame.psdu[0]; in handle_ack()
425 ack_len = nrf5_radio->ack_frame.psdu[0] - IEEE802154_FCS_LENGTH; in handle_ack()
439 if (net_pkt_write(ack_pkt, nrf5_radio->ack_frame.psdu + 1, in handle_ack()
446 net_pkt_set_ieee802154_lqi(ack_pkt, nrf5_radio->ack_frame.lqi); in handle_ack()
447 net_pkt_set_ieee802154_rssi_dbm(ack_pkt, nrf5_radio->ack_frame.rssi); in handle_ack()
450 net_pkt_set_timestamp_ns(ack_pkt, nrf5_radio->ack_frame.time * NSEC_PER_USEC); in handle_ack()
463 nrf_802154_buffer_free_raw(nrf5_radio->ack_frame.psdu); in handle_ack()
464 nrf5_radio->ack_frame.psdu = NULL; in handle_ack()
655 if (nrf5_radio->ack_frame.psdu == NULL) { in nrf5_tx()
[all …]
Dieee802154_nrf5.h74 struct nrf5_802154_rx_frame ack_frame; member
/Zephyr-latest/modules/openthread/platform/
Dradio.c90 static otRadioFrame ack_frame; variable
188 if (ack_frame.mLength != 0) { in ieee802154_handle_ack()
197 ack_frame.mPsdu = ack_psdu; in ieee802154_handle_ack()
198 ack_frame.mLength = ack_len; in ieee802154_handle_ack()
199 ack_frame.mInfo.mRxInfo.mLqi = net_pkt_ieee802154_lqi(pkt); in ieee802154_handle_ack()
200 ack_frame.mInfo.mRxInfo.mRssi = net_pkt_ieee802154_rssi_dbm(pkt); in ieee802154_handle_ack()
203 ack_frame.mInfo.mRxInfo.mTimestamp = net_pkt_timestamp_ns(pkt) / NSEC_PER_USEC; in ieee802154_handle_ack()
495 otPlatRadioTxDone(aInstance, &sTransmitFrame, ack_frame.mLength ? &ack_frame : NULL, in handle_tx_done()
497 ack_frame.mLength = 0; in handle_tx_done()