35#ifndef NRF_802154_COMMON_UTILS_H__
36#define NRF_802154_COMMON_UTILS_H__
uint64_t nrf_802154_first_symbol_timestamp_get(uint64_t end_timestamp, uint8_t psdu_length)
Calculates the timestamp of the first symbol of the preamble in a received frame.
uint64_t nrf_802154_timestamp_end_to_phr_convert(uint64_t end_timestamp, uint8_t psdu_length)
Converts the timestamp of the frame's end to the timestamp of the start of its PHR.
uint8_t nrf_802154_ccaedthres_from_dbm_calculate(int8_t dbm)
Converts a given dBm level to a CCA energy detection threshold value.
uint8_t nrf_802154_energy_level_from_dbm_calculate(int8_t ed_dbm)
Converts energy level received during the energy detection procedure to IEEE Std. 802....
uint64_t nrf_802154_timestamp_phr_to_mhr_convert(uint64_t phr_timestamp)
Converts the timestamp of the frame's PHR to the timestamp of the start of its MHR.
uint64_t nrf_802154_timestamp_phr_to_shr_convert(uint64_t phr_timestamp)
Converts the timestamp of the frame's PHR to the timestamp of the start of its SHR.
uint64_t nrf_802154_mhr_timestamp_get(uint64_t end_timestamp, uint8_t psdu_length)
Calculates the timestamp of the MAC Header in a received frame.