|
nrfxlib API 2.8.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
35#ifndef NRF_802154_CONFIG_H__
36#define NRF_802154_CONFIG_H__
38#ifdef NRF_802154_PROJECT_CONFIG
39#include NRF_802154_PROJECT_CONFIG
66#ifndef NRF_802154_CCA_MODE_DEFAULT
67#define NRF_802154_CCA_MODE_DEFAULT NRF_RADIO_CCA_MODE_ED
76#ifndef NRF_802154_CCA_ED_THRESHOLD_DEFAULT
77#define NRF_802154_CCA_ED_THRESHOLD_DEFAULT 0x14
86#ifndef NRF_802154_CCA_CORR_THRESHOLD_DEFAULT
87#define NRF_802154_CCA_CORR_THRESHOLD_DEFAULT 0x14
96#ifndef NRF_802154_CCA_CORR_LIMIT_DEFAULT
97#define NRF_802154_CCA_CORR_LIMIT_DEFAULT 0x02
109#ifndef NRF_802154_INTERNAL_RADIO_IRQ_HANDLING
110#define NRF_802154_INTERNAL_RADIO_IRQ_HANDLING 0
122#ifndef NRF_802154_INTERNAL_SWI_IRQ_HANDLING
123#define NRF_802154_INTERNAL_SWI_IRQ_HANDLING 1
133#ifndef NRF_802154_IRQ_PRIORITY
134#define NRF_802154_IRQ_PRIORITY 0
143#ifndef NRF_802154_SWI_PRIORITY
144#define NRF_802154_SWI_PRIORITY 4
153#ifndef NRF_802154_ECB_PRIORITY
154#define NRF_802154_ECB_PRIORITY 3
167#ifndef NRF_802154_USE_RAW_API
168#define NRF_802154_USE_RAW_API 1
177#ifndef NRF_802154_PENDING_SHORT_ADDRESSES
178#define NRF_802154_PENDING_SHORT_ADDRESSES 10
187#ifndef NRF_802154_PENDING_EXTENDED_ADDRESSES
188#define NRF_802154_PENDING_EXTENDED_ADDRESSES 10
197#ifndef NRF_802154_RX_BUFFERS
198#define NRF_802154_RX_BUFFERS 16
209#ifndef NRF_802154_MAX_DISREGARDABLE_NOTIFICATIONS
210#define NRF_802154_MAX_DISREGARDABLE_NOTIFICATIONS 4
220#ifndef NRF_802154_NOTIFY_CRCERROR
221#define NRF_802154_NOTIFY_CRCERROR 1
236#ifndef NRF_802154_FRAME_TIMESTAMP_ENABLED
237#define NRF_802154_FRAME_TIMESTAMP_ENABLED 1
246#if !defined(CONFIG_NRF_802154_SL_OPENSOURCE)
247#ifndef NRF_802154_DELAYED_TRX_ENABLED
248#define NRF_802154_DELAYED_TRX_ENABLED 1
261#ifndef NRF_802154_TEST_MODES_ENABLED
262#define NRF_802154_TEST_MODES_ENABLED 0
270#ifndef NRF_802154_PAN_COORD_GET_ENABLED
271#define NRF_802154_PAN_COORD_GET_ENABLED 0
287#if !defined(CONFIG_NRF_802154_SL_OPENSOURCE)
288#ifndef NRF_802154_CSMA_CA_ENABLED
289#define NRF_802154_CSMA_CA_ENABLED 1
303#ifdef NRF_802154_CSMA_CA_MIN_BE
304#error "NRF_802154_CSMA_CA_MIN_BE was replaced with NRF_802154_CSMA_CA_MIN_BE_DEFAULT"
306#ifndef NRF_802154_CSMA_CA_MIN_BE_DEFAULT
307#define NRF_802154_CSMA_CA_MIN_BE_DEFAULT 3
320#ifdef NRF_802154_CSMA_CA_MAX_BE
321#error "NRF_802154_CSMA_CA_MAX_BE was replaced with NRF_802154_CSMA_CA_MAX_BE_DEFAULT"
323#ifndef NRF_802154_CSMA_CA_MAX_BE_DEFAULT
324#define NRF_802154_CSMA_CA_MAX_BE_DEFAULT 5
337#ifdef NRF_802154_CSMA_CA_MAX_CSMA_BACKOFFS
339 "NRF_802154_CSMA_CA_MAX_CSMA_BACKOFFS was replaced with NRF_802154_CSMA_CA_MAX_CSMA_BACKOFFS_DEFAULT"
341#ifndef NRF_802154_CSMA_CA_MAX_CSMA_BACKOFFS_DEFAULT
342#define NRF_802154_CSMA_CA_MAX_CSMA_BACKOFFS_DEFAULT 4
358#ifndef NRF_802154_CSMA_CA_WAIT_FOR_TIMESLOT
359#define NRF_802154_CSMA_CA_WAIT_FOR_TIMESLOT 1
374#ifndef NRF_802154_ACK_TIMEOUT_ENABLED
375#define NRF_802154_ACK_TIMEOUT_ENABLED 1
384#ifndef NRF_802154_ACK_TIMEOUT_DEFAULT_TIMEOUT
385#define NRF_802154_ACK_TIMEOUT_DEFAULT_TIMEOUT 7000
394#ifndef NRF_802154_PRECISE_ACK_TIMEOUT_DEFAULT_TIMEOUT
395#define NRF_802154_PRECISE_ACK_TIMEOUT_DEFAULT_TIMEOUT 210
404#ifndef NRF_802154_MAX_ACK_IE_SIZE
405#define NRF_802154_MAX_ACK_IE_SIZE 16
421#if !defined(CONFIG_NRF_802154_SL_OPENSOURCE)
422#ifndef NRF_802154_IFS_ENABLED
423#define NRF_802154_IFS_ENABLED 0
448#ifndef NRF_802154_STATS_COUNT_ENERGY_DETECTED_EVENTS
449#define NRF_802154_STATS_COUNT_ENERGY_DETECTED_EVENTS 1
461#ifndef NRF_802154_STATS_COUNT_RECEIVED_PREAMBLES
462#define NRF_802154_STATS_COUNT_RECEIVED_PREAMBLES 1
477#ifndef NRF_802154_SECURITY_KEY_STORAGE_SIZE
478#define NRF_802154_SECURITY_KEY_STORAGE_SIZE 3
487#ifndef NRF_802154_SECURITY_WRITER_ENABLED
488#define NRF_802154_SECURITY_WRITER_ENABLED 1
497#ifndef NRF_802154_ENCRYPTION_ENABLED
498#define NRF_802154_ENCRYPTION_ENABLED 1
506#if !defined(NRF_802154_ENCRYPTION_ACCELERATOR_ECB) || defined(__DOXYGEN__)
507#if defined(NRF52_SERIES) || defined(NRF5340_XXAA) || defined(__DOXYGEN__)
508#define NRF_802154_ENCRYPTION_ACCELERATOR_ECB 1
509#elif defined(NRF54H_SERIES) || defined(NRF54L_SERIES)
510#define NRF_802154_ENCRYPTION_ACCELERATOR_ECB 0
527#ifndef NRF_802154_IE_WRITER_ENABLED
528#define NRF_802154_IE_WRITER_ENABLED 1
537#ifndef NRF_802154_CARRIER_FUNCTIONS_ENABLED
538#define NRF_802154_CARRIER_FUNCTIONS_ENABLED 1
547#define NRF_802154_NOTIFICATION_IMPL_DIRECT 0
555#define NRF_802154_NOTIFICATION_IMPL_SWI 1
565#ifndef NRF_802154_NOTIFICATION_IMPL
566#define NRF_802154_NOTIFICATION_IMPL NRF_802154_NOTIFICATION_IMPL_SWI
575#define NRF_802154_REQUEST_IMPL_DIRECT 0
583#define NRF_802154_REQUEST_IMPL_SWI 1
593#ifndef NRF_802154_REQUEST_IMPL
594#define NRF_802154_REQUEST_IMPL NRF_802154_REQUEST_IMPL_SWI