Lines Matching refs:rx_frame
154 struct nrf5_802154_rx_frame *rx_frame; in nrf5_rx_thread() local
163 rx_frame = NULL; in nrf5_rx_thread()
167 rx_frame = k_fifo_get(&nrf5_radio->rx_fifo, K_FOREVER); in nrf5_rx_thread()
169 __ASSERT_NO_MSG(rx_frame->psdu); in nrf5_rx_thread()
176 pkt_len = rx_frame->psdu[0]; in nrf5_rx_thread()
178 pkt_len = rx_frame->psdu[0] - IEEE802154_FCS_LENGTH; in nrf5_rx_thread()
196 if (net_pkt_write(pkt, rx_frame->psdu + 1, pkt_len)) { in nrf5_rx_thread()
200 net_pkt_set_ieee802154_lqi(pkt, rx_frame->lqi); in nrf5_rx_thread()
201 net_pkt_set_ieee802154_rssi_dbm(pkt, rx_frame->rssi); in nrf5_rx_thread()
202 net_pkt_set_ieee802154_ack_fpb(pkt, rx_frame->ack_fpb); in nrf5_rx_thread()
205 net_pkt_set_timestamp_ns(pkt, rx_frame->time * NSEC_PER_USEC); in nrf5_rx_thread()
209 net_pkt_set_ieee802154_ack_seb(pkt, rx_frame->ack_seb); in nrf5_rx_thread()
213 pkt_len, rx_frame->lqi); in nrf5_rx_thread()
220 psdu = rx_frame->psdu; in nrf5_rx_thread()
221 rx_frame->psdu = NULL; in nrf5_rx_thread()
231 psdu = rx_frame->psdu; in nrf5_rx_thread()
232 rx_frame->psdu = NULL; in nrf5_rx_thread()