Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions nrf_802154/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ The libraries are compatible with the following SoCs:
* nRF54L15
* nRF54L10
* nRF54L05
* nRF54LM20A

.. toctree::
:maxdepth: 2
Expand Down
3 changes: 3 additions & 0 deletions nrf_802154/doc/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Notable changes
It is superseded by the :c:macro:`NRF_802154_CCA_ED_THRESHOLD_DBM_DEFAULT` macro, which specifies the absolute value of the CCA ED threshold in dBm. (KRKNWK-19974)
* The Energy Detection (ED) sample, Received Signal Strength Indicator (RSSI), and Clear Channel Assessment (CCA) threshold now account for Low-Noise Amplifier (LNA) gain.
These values now represent the power at the antenna connector, rather than at the radio. (KRKNWK-19974)
* The reliability of timestamping on nRF52 and nRF53 Series SoCs was improved.
The driver no longer reports :c:macro:`NRF_802154_NO_TIMESTAMP` for received
frames and ACKs in rare cases. (KRKNWK-20539)

Added
=====
Expand Down
1 change: 1 addition & 0 deletions nrf_802154/doc/rd_service_layer_lib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ The service layer is available as a binary for the following SoCs:
* nRF54L15
* nRF54L10
* nRF54L05
* nRF54LM20A

For the SOCs equipped with a floating-point unit (nRF52840 and nRF52833), the service layer is available in the soft-float, softfp-float, and hard-float build versions.
For the other SOCs/SiPs, it is available only in the soft-float build version.
Expand Down
29 changes: 7 additions & 22 deletions nrf_802154/driver/src/nrf_802154.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,24 +90,6 @@ static uint8_t m_tx_buffer[RAW_PAYLOAD_OFFSET + MAX_PACKET_SIZE];

#endif // NRF_802154_CARRIER_FUNCTIONS_ENABLED

#if NRF_802154_CARRIER_FUNCTIONS_ENABLED
/**
* @brief Fill the transmit buffer with given data in order to use it with the
* modulated carrier functionality.
*
* @param[in] p_data Pointer to array containing modulating data.
*/
static void tx_buffer_fill_for_modulated_carrier(const uint8_t * p_data)
{
uint8_t length = p_data[RAW_LENGTH_OFFSET];

NRF_802154_ASSERT(length <= MAX_PACKET_SIZE);

memcpy(m_tx_buffer, p_data, RAW_PAYLOAD_OFFSET + length);
}

#endif // NRF_802154_CARRIER_FUNCTIONS_ENABLED

static inline bool are_frame_properties_valid(const nrf_802154_transmitted_frame_props_t * p_props)
{
return p_props->dynamic_data_is_set || !(p_props->is_secured);
Expand Down Expand Up @@ -620,13 +602,16 @@ bool nrf_802154_continuous_carrier(void)

bool nrf_802154_modulated_carrier(const uint8_t * p_data)
{
bool result;

nrf_802154_log_function_enter(NRF_802154_LOG_VERBOSITY_LOW);

tx_buffer_fill_for_modulated_carrier(p_data);
bool result = false;
uint8_t length = p_data[RAW_LENGTH_OFFSET];

result = nrf_802154_request_modulated_carrier(NRF_802154_TERM_NONE, m_tx_buffer);
if (length <= MAX_PACKET_SIZE)
{
memcpy(m_tx_buffer, p_data, RAW_PAYLOAD_OFFSET + length);
result = nrf_802154_request_modulated_carrier(NRF_802154_TERM_NONE, m_tx_buffer);
}

nrf_802154_log_function_exit(NRF_802154_LOG_VERBOSITY_LOW);
return result;
Expand Down
Binary file modified nrf_802154/sl/sl/lib/nrf52833/hard-float/libnrf-802154-sl.a
Binary file not shown.
Binary file modified nrf_802154/sl/sl/lib/nrf52833/soft-float/libnrf-802154-sl.a
Binary file not shown.
Binary file modified nrf_802154/sl/sl/lib/nrf52833/softfp-float/libnrf-802154-sl.a
Binary file not shown.
Binary file modified nrf_802154/sl/sl/lib/nrf52840/hard-float/libnrf-802154-sl.a
Binary file not shown.
Binary file modified nrf_802154/sl/sl/lib/nrf52840/soft-float/libnrf-802154-sl.a
Binary file not shown.
Binary file modified nrf_802154/sl/sl/lib/nrf52840/softfp-float/libnrf-802154-sl.a
Binary file not shown.
Binary file not shown.