Skip to content

Commit 7fff8d6

Browse files
committed
nrf_802154: rev 7ad2d539ca888dc24b3695c1258b2c62e5814154
This commit updates revision of the nrf_802154 component. Signed-off-by: Rafal Kuznia <[email protected]>
1 parent 8cca087 commit 7fff8d6

File tree

11 files changed

+12
-22
lines changed

11 files changed

+12
-22
lines changed

nrf_802154/README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ The libraries are compatible with the following SoCs:
4545
* nRF54L15
4646
* nRF54L10
4747
* nRF54L05
48+
* nRF54LM20A
4849

4950
.. toctree::
5051
:maxdepth: 2

nrf_802154/doc/CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ Notable changes
2020
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)
2121
* The Energy Detection (ED) sample, Received Signal Strength Indicator (RSSI), and Clear Channel Assessment (CCA) threshold now account for Low-Noise Amplifier (LNA) gain.
2222
These values now represent the power at the antenna connector, rather than at the radio. (KRKNWK-19974)
23+
* The reliability of timestamping on nRF52 and nRF53 Series SoCs was improved.
24+
The driver no longer reports :c:macro:`NRF_802154_NO_TIMESTAMP` for received
25+
frames and ACKs in rare cases. (KRKNWK-20539)
2326

2427
Added
2528
=====

nrf_802154/doc/rd_service_layer_lib.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ The service layer is available as a binary for the following SoCs:
2424
* nRF54L15
2525
* nRF54L10
2626
* nRF54L05
27+
* nRF54LM20A
2728

2829
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.
2930
For the other SOCs/SiPs, it is available only in the soft-float build version.

nrf_802154/driver/src/nrf_802154.c

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -90,24 +90,6 @@ static uint8_t m_tx_buffer[RAW_PAYLOAD_OFFSET + MAX_PACKET_SIZE];
9090

9191
#endif // NRF_802154_CARRIER_FUNCTIONS_ENABLED
9292

93-
#if NRF_802154_CARRIER_FUNCTIONS_ENABLED
94-
/**
95-
* @brief Fill the transmit buffer with given data in order to use it with the
96-
* modulated carrier functionality.
97-
*
98-
* @param[in] p_data Pointer to array containing modulating data.
99-
*/
100-
static void tx_buffer_fill_for_modulated_carrier(const uint8_t * p_data)
101-
{
102-
uint8_t length = p_data[RAW_LENGTH_OFFSET];
103-
104-
NRF_802154_ASSERT(length <= MAX_PACKET_SIZE);
105-
106-
memcpy(m_tx_buffer, p_data, RAW_PAYLOAD_OFFSET + length);
107-
}
108-
109-
#endif // NRF_802154_CARRIER_FUNCTIONS_ENABLED
110-
11193
static inline bool are_frame_properties_valid(const nrf_802154_transmitted_frame_props_t * p_props)
11294
{
11395
return p_props->dynamic_data_is_set || !(p_props->is_secured);
@@ -620,13 +602,16 @@ bool nrf_802154_continuous_carrier(void)
620602

621603
bool nrf_802154_modulated_carrier(const uint8_t * p_data)
622604
{
623-
bool result;
624-
625605
nrf_802154_log_function_enter(NRF_802154_LOG_VERBOSITY_LOW);
626606

627-
tx_buffer_fill_for_modulated_carrier(p_data);
607+
bool result = false;
608+
uint8_t length = p_data[RAW_LENGTH_OFFSET];
628609

629-
result = nrf_802154_request_modulated_carrier(NRF_802154_TERM_NONE, m_tx_buffer);
610+
if (length <= MAX_PACKET_SIZE)
611+
{
612+
memcpy(m_tx_buffer, p_data, RAW_PAYLOAD_OFFSET + length);
613+
result = nrf_802154_request_modulated_carrier(NRF_802154_TERM_NONE, m_tx_buffer);
614+
}
630615

631616
nrf_802154_log_function_exit(NRF_802154_LOG_VERBOSITY_LOW);
632617
return result;
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)