Skip to content

Commit c863408

Browse files
ankunsmbolivar-nordic
authored andcommitted
nrf_802154: rev e3831e5ac1c753d8cf1b79dd448fc8b9e2e86b9b
This commit updates revision of the nrf_802154 component to commit e3831e5ac1c753d8cf1b79dd448fc8b9e2e86b9b of the sdk-nrf-802154repository. Signed-off-by: Andrzej Kuros <[email protected]>
1 parent dddd133 commit c863408

37 files changed

+197
-134
lines changed

nrf_802154/driver/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ if (SL_OPENSOURCE OR NRF53_SERIES)
101101
NRF_802154_DELAYED_TRX_ENABLED=0
102102
# Disable IFS
103103
NRF_802154_IFS_ENABLED=0
104-
# Disable IE writer
105-
NRF_802154_IE_WRITER_ENABLED=0
106104
)
107105
endif()
108106

nrf_802154/driver/include/nrf_802154.h

Lines changed: 135 additions & 65 deletions
Large diffs are not rendered by default.

nrf_802154/driver/include/nrf_802154_config.h

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ extern "C" {
106106
* In this case, the internal handling must be disabled.
107107
*
108108
*/
109-
110109
#ifndef NRF_802154_INTERNAL_RADIO_IRQ_HANDLING
111110
#define NRF_802154_INTERNAL_RADIO_IRQ_HANDLING 0
112111
#endif
@@ -120,7 +119,6 @@ extern "C" {
120119
* In this case, the internal handling must be disabled.
121120
*
122121
*/
123-
124122
#ifndef NRF_802154_INTERNAL_SWI_IRQ_HANDLING
125123
#define NRF_802154_INTERNAL_SWI_IRQ_HANDLING 1
126124
#endif
@@ -162,7 +160,7 @@ extern "C" {
162160
* When this flag is set, the RAW API is available for the MAC layer. It is recommended to use
163161
* the RAW API because it provides more optimized functions.
164162
*
165-
* @note If the RAW API is not available for the MAC layer, only less optimized functions performing
163+
* @note If the RAW API is not enabled for the MAC layer, only less optimized functions performing
166164
* copy are available.
167165
*
168166
*/
@@ -231,8 +229,10 @@ extern "C" {
231229
*
232230
* If timestamps are to be added to the frames received.
233231
* Enabling this feature enables the functions @ref nrf_802154_received_timestamp_raw,
234-
* @ref nrf_802154_received_timestamp, @ref nrf_802154_transmitted_timestamp_raw, and
235-
* @ref nrf_802154_transmitted_timestamp, which add timestamps to the frames received.
232+
* @ref nrf_802154_received_timestamp which add timestamps to the frames received.
233+
* Enables also proper value of frame timestamp
234+
* ( @c nrf_802154_transmit_done_metadata_t::data.transmitted.time ) passed as metadata to
235+
* @ref nrf_802154_transmitted and @ref nrf_802154_transmitted_raw,
236236
* This option also enables timestamping in stats.
237237
*
238238
*/
@@ -287,7 +287,7 @@ extern "C" {
287287
* (see IEEE 802.15.4-2015: 6.2.5.1).
288288
*
289289
* @note The minimum value of the backoff exponent may be changed from default by calling the
290-
* @ref nrf_802154_pib_csmaca_min_be_set function.
290+
* @ref nrf_802154_csma_ca_min_be_set function.
291291
*
292292
*/
293293
#ifdef NRF_802154_CSMA_CA_MIN_BE
@@ -304,7 +304,7 @@ extern "C" {
304304
* (see IEEE 802.15.4-2015: 6.2.5.1).
305305
*
306306
* @note The maximum value of the backoff exponent may be changed from default by calling the
307-
* @ref nrf_802154_pib_csmaca_max_be_set function.
307+
* @ref nrf_802154_csma_ca_max_be_set function.
308308
*
309309
*/
310310
#ifdef NRF_802154_CSMA_CA_MAX_BE
@@ -321,7 +321,7 @@ extern "C" {
321321
* a channel access failure.
322322
*
323323
* @note The maximum number of backoffs may be changed from default by calling the
324-
* @ref nrf_802154_pib_csmaca_max_backoffs_set function.
324+
* @ref nrf_802154_csma_ca_max_backoffs_set function.
325325
*
326326
*/
327327
#ifdef NRF_802154_CSMA_CA_MAX_CSMA_BACKOFFS
@@ -376,7 +376,7 @@ extern "C" {
376376
#endif
377377

378378
/**
379-
* @def NRF_802154_ACK_TIMEOUT_DEFAULT_TIMEOUT
379+
* @def NRF_802154_PRECISE_ACK_TIMEOUT_DEFAULT_TIMEOUT
380380
*
381381
* The default timeout in microseconds (us) for the precise ACK timeout feature.
382382
*
@@ -435,7 +435,7 @@ extern "C" {
435435

436436
/**
437437
* @}
438-
* @defgroup nrf_802154_coex WiFi coexistence feature configuration
438+
* @defgroup nrf_802154_config_coex WiFi coexistence feature configuration
439439
* @{
440440
*/
441441

@@ -450,7 +450,7 @@ extern "C" {
450450

451451
/**
452452
* @}
453-
* @defgroup nrf_802154_stats Statistics configuration
453+
* @defgroup nrf_802154_config_stats Statistics configuration
454454
* @{
455455
*/
456456

@@ -482,7 +482,7 @@ extern "C" {
482482

483483
/**
484484
* @}
485-
* @defgroup nrf_802154_security Security configuration
485+
* @defgroup nrf_802154_config_security Security configuration
486486
* @{
487487
*/
488488

@@ -533,12 +533,16 @@ extern "C" {
533533
#define NRF_802154_IE_WRITER_ENABLED 1
534534
#endif
535535

536+
/**
537+
*@}
538+
**/
539+
540+
/**
541+
*@}
542+
**/
543+
536544
#ifdef __cplusplus
537545
}
538546
#endif
539547

540548
#endif // NRF_802154_CONFIG_H__
541-
542-
/**
543-
*@}
544-
**/

nrf_802154/driver/include/nrf_802154_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ typedef uint8_t nrf_802154_ack_data_t;
170170
* @brief Methods of source address matching.
171171
*
172172
* You can use one of the following methods that can be set during the initialization phase
173-
* by calling @ref nrf_802154_src_matching_method:
173+
* by calling @ref nrf_802154_src_addr_matching_method_set :
174174
* - For Thread: @ref NRF_802154_SRC_ADDR_MATCH_THREAD -- The pending bit is set only for the addresses found in the list.
175175
* - For Zigbee: @ref NRF_802154_SRC_ADDR_MATCH_ZIGBEE -- The pending bit is cleared only for the short addresses found in the list.\n
176176
* This method does not set pending bit in non-command and non-data-request frames.

nrf_802154/driver/include/platform/nrf_802154_random.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extern "C" {
5050
/**
5151
* @defgroup nrf_802154_random Random Abstraction Layer for the 802.15.4 driver
5252
* @{
53-
* @ingroup nrf_802154_random
53+
* @ingroup nrf_802154
5454
* @brief The pseudo-random number generator Abstraction Layer interface for the 802.15.4 driver.
5555
*
5656
* The Random Abstraction Layer is an abstraction layer of a pseudo-random number generator that is

nrf_802154/driver/src/mac_features/ack_generator/nrf_802154_ack_data.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void nrf_802154_ack_data_reset(bool extended, nrf_802154_ack_data_t data_type);
115115
*
116116
* When calling @ref nrf_802154_ack_data_pending_bit_should_be_set, one of several algorithms
117117
* for source address matching will be chosen. To ensure a specific algorithm is selected,
118-
* call this function before @ref rf_802154_ack_data_pending_bit_should_be_set.
118+
* call this function before @ref nrf_802154_ack_data_pending_bit_should_be_set.
119119
*
120120
* @param[in] match_method Source matching method to be used.
121121
*/

nrf_802154/driver/src/mac_features/nrf_802154_ack_timeout.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#include "nrf_802154_types.h"
4343

4444
/**
45-
* @defgroup nrf_802154_csma_ca 802.15.4 driver ACK timeout support
45+
* @defgroup nrf_802154_ack_timeout 802.15.4 driver ACK timeout support
4646
* @{
4747
* @ingroup nrf_802154
4848
* @brief ACK timeout feature.

nrf_802154/driver/src/mac_features/nrf_802154_csma_ca.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,8 @@
5252
#include "nrf_802154_debug.h"
5353
#include "nrf_802154_notification.h"
5454
#include "nrf_802154_pib.h"
55-
#include "nrf_802154_procedures_duration.h"
5655
#include "nrf_802154_request.h"
5756
#include "nrf_802154_stats.h"
58-
#include "mac_features/nrf_802154_frame_parser.h"
5957
#include "platform/nrf_802154_random.h"
6058
#include "rsch/nrf_802154_rsch.h"
6159
#include "timer/nrf_802154_timer_sched.h"

nrf_802154/driver/src/mac_features/nrf_802154_ie_writer.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
#include "nrf_802154_core.h"
4646
#include "nrf_802154_nrfx_addons.h"
4747
#include "nrf_802154_tx_work_buffer.h"
48-
#include "nrf_802154_utils.h"
4948
#include "nrf_802154_utils_byteorder.h"
5049

5150
#include <assert.h>

nrf_802154/driver/src/mac_features/nrf_802154_ie_writer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#include "nrf_802154_types.h"
4242

4343
/**
44-
* @defgroup nrf_802154_ie_writer 802.15.4 driver Information Element writer
44+
* @defgroup nrf_802154_ie_writer Radio driver Information Element data injection feature.
4545
* @{
4646
* @ingroup nrf_802154
4747
* @brief Information element writer module.

0 commit comments

Comments
 (0)