Skip to content

Commit 131fbdb

Browse files
committed
lib: stm32wba: ble-802.15.4 concurrent mode integration
Add support of ble-ieee 802.15.4 concurrent mode Signed-off-by: Vincent Tardy <[email protected]>
1 parent 4f4aeb7 commit 131fbdb

File tree

21 files changed

+4029
-30
lines changed

21 files changed

+4029
-30
lines changed

lib/stm32wba/CMakeLists.txt

Lines changed: 46 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -85,39 +85,58 @@ if(CONFIG_BT_STM32WBA)
8585
target_link_libraries(app PUBLIC stm32wba_ble_lib)
8686
endif()
8787

88-
# Selecting the proper version of link layer lib
88+
if(CONFIG_SOC_STM32WBA65XX)
89+
set(libname_prefix "WBA6_")
90+
elseif(CONFIG_SOC_STM32WBA55XX OR SOC_STM32WBA52XX)
91+
set(libname_prefix "")
92+
else()
93+
# Throw an error for unsupported SoC
94+
message(FATAL_ERROR "Unsupported SoC: ${CONFIG_SOC}")
95+
endif()
96+
97+
# Selecting the proper version of link layer lib and its associated configuration header file
8998
if(CONFIG_BT_STM32WBA)
90-
if(BLE_LIB_TYPE STREQUAL "BLE_LIB_BASIC")
99+
message(STATUS "CONFIG_BT_STM32WBA is enabled")
100+
if(CONFIG_IEEE802154_STM32WBA)
101+
message(STATUS "CONFIG_IEEE802154_STM32WBA is enabled")
102+
if(BLE_LIB_TYPE STREQUAL "BLE_LIB_BASIC")
103+
zephyr_include_directories(STM32_WPAN/link_layer/ll_cmd_lib/config/concurrent/ble_15_4)
104+
elseif(BLE_LIB_TYPE STREQUAL "BLE_LIB_FULL")
105+
zephyr_include_directories(STM32_WPAN/link_layer/ll_cmd_lib/config/concurrent/ble_full_15_4)
106+
endif()
107+
if(BLE_LIB_TYPE STREQUAL "BLE_LIB_BASIC")
108+
set(LL_LIB ${libname_prefix}LinkLayer_BLE_Basic_15_4_lib_Zephyr.a)
109+
elseif(BLE_LIB_TYPE STREQUAL "BLE_LIB_FULL")
110+
set(LL_LIB ${libname_prefix}LinkLayer_BLE_Full_15_4_lib_Zephyr.a)
111+
endif()
112+
else()
113+
message(STATUS "CONFIG_IEEE802154_STM32WBA is disabled")
114+
if(BLE_LIB_TYPE STREQUAL "BLE_LIB_BASIC")
91115
zephyr_include_directories(STM32_WPAN/link_layer/ll_cmd_lib/config/ble_basic)
92-
elseif(BLE_LIB_TYPE STREQUAL "BLE_LIB_FULL")
116+
elseif(BLE_LIB_TYPE STREQUAL "BLE_LIB_FULL")
93117
zephyr_include_directories(STM32_WPAN/link_layer/ll_cmd_lib/config/ble_full)
94-
endif()
95-
# Checking all the soc variants and not simply relying on board name
96-
if(CONFIG_SOC_STM32WBA65XX)
97-
message(STATUS "STM32WBA6 link layer lib selected")
98-
if (BLE_LIB_TYPE STREQUAL "BLE_LIB_BASIC")
99-
set(LL_LIB "WBA6_LinkLayer_BLE_Basic_lib.a")
100-
elseif (BLE_LIB_TYPE STREQUAL "BLE_LIB_FULL")
101-
set(LL_LIB "WBA6_LinkLayer_BLE_Full_lib.a")
102118
endif()
103-
endif()
104119

105-
if(CONFIG_SOC_STM32WBA55XX OR SOC_STM32WBA52XX)
106-
message(STATUS "STM32WBA5 link layer lib selected")
107-
if (BLE_LIB_TYPE STREQUAL "BLE_LIB_BASIC")
108-
set(LL_LIB "LinkLayer_BLE_Basic_lib.a")
109-
elseif (BLE_LIB_TYPE STREQUAL "BLE_LIB_FULL")
110-
set(LL_LIB "LinkLayer_BLE_Full_lib.a")
120+
if(BLE_LIB_TYPE STREQUAL "BLE_LIB_BASIC")
121+
set(LL_LIB ${libname_prefix}LinkLayer_BLE_Basic_lib.a)
122+
elseif(BLE_LIB_TYPE STREQUAL "BLE_LIB_FULL")
123+
set(LL_LIB ${libname_prefix}LinkLayer_BLE_Full_lib.a)
111124
endif()
112125
endif()
113126
elseif(CONFIG_IEEE802154_STM32WBA)
127+
message(STATUS "CONFIG_IEEE802154_STM32WBA is enabled")
128+
if(CONFIG_OPENTHREAD)
129+
zephyr_include_directories(STM32_WPAN/link_layer/ll_cmd_lib/config/thread)
130+
else()
131+
zephyr_include_directories(STM32_WPAN/link_layer/ll_cmd_lib/config/ieee_15_4_basic)
132+
endif()
114133
if(CONFIG_SOC_STM32WBA65XX)
115134
if(CONFIG_OPENTHREAD)
116135
message(STATUS "WBA6_LinkLayer_Thread_lib_Zephyr.a lib selected")
117-
set(LL_LIB "WBA6_LinkLayer_Thread_lib_Zephyr.a")
136+
set(LL_LIB ${libname_prefix}LinkLayer_Thread_lib_Zephyr.a)
118137
else()
119138
message(STATUS "WBA6_LinkLayer15_4_Zephyr.a lib selected")
120-
set(LL_LIB "WBA6_LinkLayer15_4_Zephyr.a")
139+
set(LL_LIB ${libname_prefix}LinkLayer15_4_Zephyr.a)
121140
endif()
122141
endif()
123142
endif()
@@ -131,6 +150,10 @@ if(CONFIG_BT_STM32WBA OR CONFIG_IEEE802154_STM32WBA)
131150
endif()
132151

133152
add_subdirectory(STM32_WPAN)
134-
135-
add_subdirectory_ifdef(CONFIG_BT_STM32WBA ble)
136-
add_subdirectory_ifdef(CONFIG_IEEE802154_STM32WBA IEEE802154)
153+
if(CONFIG_BT_STM32WBA AND CONFIG_IEEE802154_STM32WBA)
154+
zephyr_include_directories(IEEE802154/Inc)
155+
add_subdirectory(concurrent)
156+
else()
157+
add_subdirectory_ifdef(CONFIG_BT_STM32WBA ble)
158+
add_subdirectory_ifdef(CONFIG_IEEE802154_STM32WBA IEEE802154)
159+
endif()

lib/stm32wba/IEEE802154/STM32_WPAN/Target/ll_sys_if.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,10 @@ void ll_sys_sleep_clock_source_selection(void)
210210
ll_intf_cmn_le_select_slp_clk_src((uint8_t)linklayer_slp_clk_src, &freq_value);
211211
}
212212

213+
#ifndef __ZEPHYR__
213214
void ll_sys_set_rtl_polling_time(uint8_t rtl_polling_time)
214215
{
215216
/* first parameter otInstance *aInstance is unused */
216217
radio_set_rtl_polling_time(NULL, rtl_polling_time);
217218
}
219+
#endif

lib/stm32wba/README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ Description:
5151
Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/config/ble_basic/ll_fw_config.h
5252
Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/config/ieee_15_4_basic/ll_fw_config.h
5353
Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/config/thread/ll_fw_config.h
54+
Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/config/concurrent/ble_15_4/ll_fw_config.h
55+
Middlewares/ST/STM32_WPAN/link_layer/ll_cmd_lib/config/concurrent/ble_full_15_4/ll_fw_config.h
5456
Middlewares/ST/STM32_WPAN/link_layer/ll_sys/inc/linklayer_plat.h
5557
Middlewares/ST/STM32_WPAN/link_layer/ll_sys/inc/ll_sys.h
5658
Middlewares/ST/STM32_WPAN/link_layer/ll_sys/src/ll_sys_cs.c

lib/stm32wba/STM32_WPAN/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ if(CONFIG_BT_STM32WBA)
1515
endif()
1616
if(CONFIG_IEEE802154_STM32WBA)
1717
zephyr_include_directories(ieee802154)
18-
if(CONFIG_OPENTHREAD)
19-
zephyr_include_directories(link_layer/ll_cmd_lib/config/thread)
20-
else()
21-
zephyr_include_directories(link_layer/ll_cmd_lib/config/ieee_15_4_basic)
22-
endif()
2318
zephyr_include_directories(link_layer/ll_cmd_lib/inc/ot_inc)
2419
endif()
2520
zephyr_include_directories(inc)
Lines changed: 252 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,252 @@
1+
/*$Id: //dwh/bluetooth/DWC_ble154combo/firmware/rel/2.00a-lca01/firmware/public_inc/ll_fw_config.h#1 $*/
2+
/**
3+
********************************************************************************
4+
* @file ll_fw_config.h
5+
* @brief This file contains the major configurations to the BLE controller.
6+
******************************************************************************
7+
* @copy
8+
* This Synopsys DWC Bluetooth Low Energy Combo Link Layer/MAC software and
9+
* associated documentation ( hereinafter the "Software") is an unsupported
10+
* proprietary work of Synopsys, Inc. unless otherwise expressly agreed to in
11+
* writing between Synopsys and you. The Software IS NOT an item of Licensed
12+
* Software or a Licensed Product under any End User Software License Agreement
13+
* or Agreement for Licensed Products with Synopsys or any supplement thereto.
14+
* Synopsys is a registered trademark of Synopsys, Inc. Other names included in
15+
* the SOFTWARE may be the trademarks of their respective owners.
16+
*
17+
* Synopsys MIT License:
18+
* Copyright (c) 2020-Present Synopsys, Inc
19+
*
20+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
21+
* the Software), to deal in the Software without restriction, including without
22+
* limitation the rights to use, copy, modify, merge, publish, distribute,
23+
* sublicense, and/or sell copies of the Software, and to permit persons to whom
24+
* the Software is furnished to do so, subject to the following conditions:
25+
*
26+
* The above copyright notice and this permission notice shall be included in all
27+
* copies or substantial portions of the Software.
28+
*
29+
* THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30+
* IMPLIED, INCLUDING, BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31+
* FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE ARISING FROM,
34+
* OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
35+
*
36+
* */
37+
#ifndef INCLUDE_LL_FW_CONFIG_H
38+
#define INCLUDE_LL_FW_CONFIG_H
39+
40+
/*************************** General Configuration *********************************/
41+
#ifndef SUPPORT_GNRC_SCHDLR_IF
42+
#define SUPPORT_GNRC_SCHDLR_IF 1 /* Enable\Disable event EXTRNL_GNRC in Ble event manager. Enable:1 - Disable:0 */
43+
#endif /* SUPPORT_GNRC_SCHDLR_IF */
44+
45+
/*************************** BLE Configuration *************************************/
46+
/*Configurations of BLE will apply only when BLE is enabled*/
47+
/* Roles configurations */
48+
#ifndef SUPPORT_EXPLCT_OBSERVER_ROLE
49+
#define SUPPORT_EXPLCT_OBSERVER_ROLE 1 /* Enable\Disable Explicit observer role. Enable:1 - Disable:0 */
50+
#endif /* SUPPORT_EXPLCT_OBSERVER_ROLE */
51+
52+
#ifndef SUPPORT_EXPLCT_BROADCASTER_ROLE
53+
#define SUPPORT_EXPLCT_BROADCASTER_ROLE 1 /* Enable\Disable Explicit broadcaster role. Enable:1 - Disable:0 */
54+
#endif /* SUPPORT_EXPLCT_BROADCASTER_ROLE */
55+
56+
#ifndef SUPPORT_MASTER_CONNECTION
57+
#define SUPPORT_MASTER_CONNECTION 1 /* Enable\Disable Master connection role. Enable:1 - Disable:0 */
58+
#endif /* SUPPORT_MASTER_CONNECTION */
59+
60+
#ifndef SUPPORT_SLAVE_CONNECTION
61+
#define SUPPORT_SLAVE_CONNECTION 1 /* Enable\Disable Slave connection role. Enable:1 - Disable:0 */
62+
#endif /* SUPPORT_SLAVE_CONNECTION */
63+
64+
/* Standard features configurations */
65+
#ifndef SUPPORT_LE_ENCRYPTION
66+
#define SUPPORT_LE_ENCRYPTION 1 /* Enable\Disable Encryption feature. Enable:1 - Disable:0 */
67+
#endif /* SUPPORT_LE_ENCRYPTION */
68+
69+
#ifndef SUPPORT_PRIVACY
70+
#define SUPPORT_PRIVACY 1 /* Enable\Disable Privacy feature. Enable:1 - Disable:0 */
71+
#endif /* SUPPORT_PRIVACY */
72+
73+
#ifndef SUPPORT_LE_EXTENDED_ADVERTISING
74+
#define SUPPORT_LE_EXTENDED_ADVERTISING 0 /* Enable\Disable Extended advertising feature. Enable:1 - Disable:0 */
75+
#endif /* SUPPORT_LE_EXTENDED_ADVERTISING */
76+
77+
#ifndef SUPPORT_LE_PERIODIC_ADVERTISING
78+
#define SUPPORT_LE_PERIODIC_ADVERTISING 0 /* Enable\Disable Periodic advertising feature. Enable:1 - Disable:0 */
79+
#endif /* SUPPORT_LE_PERIODIC_ADVERTISING */
80+
81+
#ifndef SUPPORT_LE_POWER_CLASS_1
82+
#define SUPPORT_LE_POWER_CLASS_1 0 /* Enable\Disable Low power class 1 feature. Enable:1 - Disable:0 */
83+
#endif /* SUPPORT_LE_POWER_CLASS_1 */
84+
85+
#ifndef SUPPORT_AOA_AOD
86+
#define SUPPORT_AOA_AOD 0 /* Enable\Disable AOA_AOD feature. Enable:1 - Disable:0 */
87+
#endif /* SUPPORT_AOA_AOD */
88+
89+
#ifndef SUPPORT_PERIODIC_SYNC_TRANSFER
90+
#define SUPPORT_PERIODIC_SYNC_TRANSFER 0 /* Enable\Disable PAST feature. Enable:1 - Disable:0 */
91+
#endif /* SUPPORT_PERIODIC_SYNC_TRANSFER */
92+
93+
#ifndef SUPPORT_SLEEP_CLOCK_ACCURCY_UPDATES
94+
#define SUPPORT_SLEEP_CLOCK_ACCURCY_UPDATES 1 /* Enable\Disable Sleep Clock Accuracy Updates Feature. Enable:1 - Disable:0 */
95+
#endif /* SUPPORT_SLEEP_CLOCK_ACCURCY_UPDATES */
96+
97+
#ifndef SUPPORT_CONNECTED_ISOCHRONOUS
98+
#define SUPPORT_CONNECTED_ISOCHRONOUS 0 /* Enable\Disable Connected Isochronous Channel Feature. Enable:1 - Disable:0 */
99+
#endif /* SUPPORT_CONNECTED_ISOCHRONOUS */
100+
101+
#ifndef SUPPORT_BRD_ISOCHRONOUS
102+
#define SUPPORT_BRD_ISOCHRONOUS 0 /* Enable\Disable Broadcast Isochronous Channel Feature. Enable:1 - Disable:0 */
103+
#endif /* SUPPORT_BRD_ISOCHRONOUS */
104+
105+
#ifndef SUPPORT_SYNC_ISOCHRONOUS
106+
#define SUPPORT_SYNC_ISOCHRONOUS 0 /* Enable\Disable Broadcast Isochronous Synchronizer Channel Feature. Enable:1 - Disable:0 */
107+
#endif /* SUPPORT_SYNC_ISOCHRONOUS */
108+
109+
#ifndef SUPPORT_LE_POWER_CONTROL
110+
#define SUPPORT_LE_POWER_CONTROL 0 /* Enable\Disable LE Power Control Feature. Enable:1 - Disable:0 */
111+
#endif /* SUPPORT_LE_POWER_CONTROL */
112+
113+
#ifndef SUPPORT_CHANNEL_CLASSIFICATION
114+
#define SUPPORT_CHANNEL_CLASSIFICATION 0
115+
#endif /* SUPPORT_CHANNEL_CLASSIFICATION */
116+
117+
#ifndef SUPPORT_PERIODIC_ADV_ADI
118+
#define SUPPORT_PERIODIC_ADV_ADI 0
119+
#endif /* SUPPORT_PERIODIC_ADV_ADI */
120+
121+
#ifndef SUPPORT_LE_ENHANCED_CONN_UPDATE
122+
#define SUPPORT_LE_ENHANCED_CONN_UPDATE 0
123+
#endif /* SUPPORT_LE_ENHANCED_CONN_UPDATE */
124+
125+
#ifndef SUPPORT_CSSA
126+
#define SUPPORT_CSSA 0 /* Enable\Disable Coding Selection Scheme on Advertising Feature. Enable:1 - Disable:0 */
127+
#endif /* SUPPORT_CSSA */
128+
129+
#ifndef SUPPORT_LE_PAWR_ADVERTISER_ROLE
130+
#define SUPPORT_LE_PAWR_ADVERTISER_ROLE 0 /* Enable\Disable PAwR Advertiser role. Enable:1 - Disable:0 */
131+
#endif /* SUPPORT_LE_PAWR_ADVERTISER_ROLE */
132+
133+
#ifndef SUPPORT_LE_PAWR_SYNC_ROLE
134+
#define SUPPORT_LE_PAWR_SYNC_ROLE 0 /* Enable\Disable PAwR Synchronizer role. Enable:1 - Disable:0 */
135+
#endif /* SUPPORT_LE_PAWR_SYNC_ROLE */
136+
137+
#ifndef SUPPORT_CHANNEL_SOUNDING
138+
#define SUPPORT_CHANNEL_SOUNDING 0 /* Enable\Disable Channel Sounding Feature. Enable:1 - Disable:0 */
139+
#endif /* SUPPORT_CHANNEL_SOUNDING */
140+
141+
#ifndef SUPPORT_FRAME_SPACE_UPDATE
142+
#define SUPPORT_FRAME_SPACE_UPDATE 0 /* Enable\Disable Frame Space Update Feature. Enable:1 - Disable:0 */
143+
#endif /* SUPPORT_FRAME_SPACE_UPDATE */
144+
145+
#ifndef SUPPORT_EXT_FEATURE_SET
146+
#define SUPPORT_EXT_FEATURE_SET 0 /* Enable\Disable Extended Feature Set Exchange. Enable:1 - Disable:0 */
147+
#endif /* SUPPORT_EXT_FEATURE_SET */
148+
149+
#ifndef SUPPORT_ISO_UNSEG_MODE
150+
#define SUPPORT_ISO_UNSEG_MODE 0 /* Enable\Disable Unsegmented Mode for Framed ISO PDUs. Enable: 1 - Disable: 0*/
151+
#endif /* SUPPORT_ISO_UNSEG_MODE */
152+
153+
#ifndef SUPPORT_LE_ADVERTISERS_MONITORING
154+
#define SUPPORT_LE_ADVERTISERS_MONITORING 0 /* Enable\Disable Advertisers Monitoring Feature. Enable:1 - Disable:0 */
155+
#endif /* SUPPORT_LE_ADVERTISERS_MONITORING */
156+
157+
/* Capabilities configurations */
158+
#ifndef MAX_NUM_CNCRT_STAT_MCHNS
159+
#define MAX_NUM_CNCRT_STAT_MCHNS 8 /* Set maximum number of states the controller can support */
160+
#endif /* MAX_NUM_CNCRT_STAT_MCHNS */
161+
162+
#ifndef USE_NON_ACCURATE_32K_SLEEP_CLK
163+
#define USE_NON_ACCURATE_32K_SLEEP_CLK 1 /* Allow to drive the sleep clock by sources other than the default crystal oscillator source.*/
164+
/*LL can use crystal oscillator or RTC or RCO to drive the sleep clock.This selection is done via "DEFAULT_SLEEP_CLOCK_SOURCE" macro. */
165+
#endif /* USE_NON_ACCURATE_32K_SLEEP_CLK */
166+
167+
#ifndef SUPPORT_CTE_DEGRADATION_API
168+
#define SUPPORT_CTE_DEGRADATION_API 1 /* Enable\Disable CTE degradation API. Enable:1 - Disable:0 */
169+
#endif /* SUPPORT_CTE_DEGRADATION_API */
170+
171+
/* Non-standard features configurations */
172+
#ifndef NUM_OF_CTSM_EMNGR_HNDLS
173+
#define NUM_OF_CTSM_EMNGR_HNDLS 1 /* Number of custom handles in event manager to be used for app specific needs */
174+
#endif /* NUM_OF_CTSM_EMNGR_HNDLS */
175+
176+
#ifndef SUPPORT_AUGMENTED_BLE_MODE
177+
#define SUPPORT_AUGMENTED_BLE_MODE 1 /* Enable\Disable Augmented BLE Support. Enable:1 - Disable:0 */
178+
#endif /* SUPPORT_AUGMENTED_BLE_MODE */
179+
180+
#ifndef SUPPORT_PTA
181+
#define SUPPORT_PTA 1 /* Enable\Disable PTA Feature. Enable:1 - Disable:0 */
182+
#endif /* SUPPORT_PTA */
183+
184+
#ifndef SUPPORT_CONFIGURABLE_GAIN_FIX
185+
#define SUPPORT_CONFIGURABLE_GAIN_FIX 0 /* Enable\Disable configurable gain fix support */
186+
#endif /* SUPPORT_CONFIGURABLE_GAIN_FIX */
187+
188+
#ifndef CHECK_ANY_MISSED_EVENT_ON_DEEP_SLEEP_EXIT
189+
#define CHECK_ANY_MISSED_EVENT_ON_DEEP_SLEEP_EXIT 1 /* Enable\Disable calling event scheduler handler function at the end of deep sleep exit*/
190+
#endif /* CHECK_ANY_MISSED_EVENT_ON_DEEP_SLEEP_EXIT */
191+
192+
#ifndef LL_BASIC
193+
#define LL_BASIC 0
194+
#endif /* LL_BASIC */
195+
196+
/*************************** MAC Configuration *************************************/
197+
/*Configurations of MAC will apply only when MAC is enabled*/
198+
#ifndef FFD_DEVICE_CONFIG
199+
#define FFD_DEVICE_CONFIG 1 /* Enable\Disable FFD:1 - RFD:0 */
200+
#endif /* FFD_DEVICE_CONFIG */
201+
202+
#ifdef RFD_DEVICE_CONFIG
203+
#undef FFD_DEVICE_CONFIG
204+
#define FFD_DEVICE_CONFIG 0 /* Enable\Disable FFD:1 - RFD:0 */
205+
#endif
206+
207+
#ifndef RAL_NUMBER_OF_INSTANCE
208+
#define RAL_NUMBER_OF_INSTANCE 1 /* The Number of RAL instances supported */
209+
#endif /* RAL_NUMBER_OF_INSTANCE */
210+
211+
#ifndef MAX_NUMBER_OF_INDIRECT_DATA
212+
#define MAX_NUMBER_OF_INDIRECT_DATA 10 /* The maximum number of supported indirect data buffers */
213+
#endif /* MAX_NUMBER_OF_INDIRECT_DATA */
214+
215+
#ifndef SUPPORT_OPENTHREAD_1_2
216+
#define SUPPORT_OPENTHREAD_1_2 1 /* Enable / disable FW parts related to new features introduced in openthread 1.2*/
217+
#endif /* SUPPORT_OPENTHREAD_1_2 */
218+
219+
#ifndef SUPPORT_SEC
220+
#define SUPPORT_SEC 1 /* The MAC Security Supported : 1 - Not Supported:0 */
221+
#endif /* SUPPORT_SEC */
222+
223+
#ifndef RADIO_CSMA
224+
#define RADIO_CSMA 1 /* Enable\Disable CSMA Algorithm in Radio Layer, Must be Enabled if MAC_LAYER_BUILD */
225+
#endif /* RADIO_CSMA */
226+
227+
#ifndef SUPPORT_ANT_DIV
228+
#define SUPPORT_ANT_DIV 1 /* Enable/Disable Antenna Diversity Feature */
229+
#endif /* SUPPORT_ANT_DIV */
230+
231+
#ifndef SUPPORT_A_MAC
232+
#define SUPPORT_A_MAC 1
233+
#endif /* SUPPORT_A_MAC */
234+
235+
#ifndef SUPPORT_CONFIG_LIB
236+
#define SUPPORT_CONFIG_LIB 1 /* Enable\Disable Configurable Library feature */
237+
#endif /* SUPPORT_CONFIG_LIB */
238+
239+
#ifndef SMPL_PRTCL_TEST_ENABLE
240+
#define SMPL_PRTCL_TEST_ENABLE 0
241+
#endif /* SMPL_PRTCL_TEST_ENABLE */
242+
243+
#ifndef IEEE_EUI64_VENDOR_SPECIFIC_FUNC
244+
#define IEEE_EUI64_VENDOR_SPECIFIC_FUNC 1 /* Comment to disable EUI-64 vendor specific function, in this case EUI-64 is not unique */
245+
#endif /* IEEE_EUI64_VENDOR_SPECIFIC_FUNC */
246+
247+
/*************************** Zigbee Configuration **********************************/
248+
#ifndef SUPPORT_ZIGBEE_PHY_CERTIFICATION
249+
#define SUPPORT_ZIGBEE_PHY_CERTIFICATION 0 /* Enable support of hci command required to implement zigbee phy Test cases Enable:1 - Disable:0 */
250+
#endif /* SUPPORT_ZIGBEE_PHY_CERTIFICATION */
251+
252+
#endif /* INCLUDE_LL_FW_CONFIG_H */

0 commit comments

Comments
 (0)