1
2menu "HCI Config"
3
4    choice BT_LE_HCI_INTERFACE
5        prompt "HCI mode"
6        default BT_LE_HCI_INTERFACE_USE_RAM
7
8        config BT_LE_HCI_INTERFACE_USE_RAM
9            bool "VHCI"
10            help
11                Use RAM as HCI interface
12        config BT_LE_HCI_INTERFACE_USE_UART
13            bool "UART(H4)"
14            help
15                Use UART as HCI interface
16    endchoice
17
18    config BT_LE_HCI_UART_PORT
19        int "HCI UART port"
20        depends on BT_LE_HCI_INTERFACE_USE_UART
21        default 1
22        help
23            Set the port number of HCI UART
24
25    config BT_LE_HCI_UART_FLOWCTRL
26        bool "HCI uart Hardware Flow ctrl"
27        depends on BT_LE_HCI_INTERFACE_USE_UART
28        default n
29
30    config BT_LE_HCI_UART_TX_PIN
31        int "HCI uart Tx gpio"
32        depends on BT_LE_HCI_INTERFACE_USE_UART
33        default 19
34
35    config BT_LE_HCI_UART_RX_PIN
36        int "HCI uart Rx gpio"
37        depends on BT_LE_HCI_INTERFACE_USE_UART
38        default 10
39
40    config BT_LE_HCI_UART_RTS_PIN
41        int "HCI uart RTS gpio"
42        depends on BT_LE_HCI_UART_FLOWCTRL
43        default 4
44
45    config BT_LE_HCI_UART_CTS_PIN
46        int "HCI uart CTS gpio"
47        depends on BT_LE_HCI_UART_FLOWCTRL
48        default 5
49
50    config BT_LE_HCI_UART_BAUD
51        int "HCI uart baudrate"
52        depends on BT_LE_HCI_INTERFACE_USE_UART
53        default 921600
54        help
55            HCI uart baud rate 115200 ~ 1000000
56
57    choice BT_LE_HCI_UART_PARITY
58        prompt "select uart parity"
59        depends on BT_LE_HCI_INTERFACE_USE_UART
60        default BT_LE_HCI_UART_UART_PARITY_DISABLE
61
62        config BT_LE_HCI_UART_UART_PARITY_DISABLE
63            bool "PARITY_DISABLE"
64            help
65                UART_PARITY_DISABLE
66        config BT_LE_HCI_UART_UART_PARITY_EVEN
67            bool "PARITY_EVEN"
68            help
69                UART_PARITY_EVEN
70        config BT_LE_HCI_UART_UART_PARITY_ODD
71            bool "PARITY_ODD"
72            help
73                UART_PARITY_ODD
74    endchoice
75
76    config BT_LE_HCI_UART_RX_BUFFER_SIZE
77        int "The size of rx ring buffer memory"
78        depends on !BT_LE_HCI_INTERFACE_USE_RAM
79        default 512
80        help
81            The size of rx ring buffer memory
82
83    config BT_LE_HCI_UART_TX_BUFFER_SIZE
84        int "The size of tx ring buffer memory"
85        depends on !BT_LE_HCI_INTERFACE_USE_RAM
86        default 256
87        help
88            The size of tx ring buffer memory
89
90    config BT_LE_HCI_TRANS_TASK_STACK_SIZE
91        int "HCI transport task stack size"
92        depends on !BT_LE_HCI_INTERFACE_USE_RAM
93        default 1024
94        help
95            This configures stack size of hci transport task
96endmenu
97
98config BT_LE_CONTROLLER_NPL_OS_PORTING_SUPPORT
99    bool
100    default y
101    help
102        Enable NPL porting for controller.
103
104
105menuconfig BT_LE_50_FEATURE_SUPPORT
106    bool "Enable BLE 5 feature"
107    depends on !BT_NIMBLE_ENABLED
108    default y
109    help
110        Enable BLE 5 feature
111
112if BT_LE_50_FEATURE_SUPPORT
113    config BT_LE_LL_CFG_FEAT_LE_2M_PHY
114        bool "Enable 2M Phy"
115        depends on BT_LE_50_FEATURE_SUPPORT
116        default y
117        help
118            Enable 2M-PHY
119
120    config BT_LE_LL_CFG_FEAT_LE_CODED_PHY
121        bool "Enable coded Phy"
122        depends on BT_LE_50_FEATURE_SUPPORT
123        default y
124        help
125            Enable coded-PHY
126
127    config BT_LE_EXT_ADV
128        bool "Enable extended advertising"
129        depends on BT_LE_50_FEATURE_SUPPORT
130        default y
131        help
132            Enable this option to do extended advertising. Extended advertising
133            will be supported from BLE 5.0 onwards.
134
135    if BT_LE_EXT_ADV
136        config BT_LE_MAX_EXT_ADV_INSTANCES
137            int "Maximum number of extended advertising instances."
138            range 0 4
139            default 1
140            depends on BT_LE_EXT_ADV
141            help
142                Change this option to set maximum number of extended advertising
143                instances. Minimum there is always one instance of
144                advertising. Enter how many more advertising instances you
145                want.
146                Each extended advertising instance will take about 0.5k DRAM.
147
148        config BT_LE_EXT_ADV_MAX_SIZE
149            int "Maximum length of the advertising data."
150            range 0 1650
151            default 1650
152            depends on BT_LE_EXT_ADV
153            help
154                Defines the length of the extended adv data. The value should not
155                exceed 1650.
156
157        config BT_LE_ENABLE_PERIODIC_ADV
158            bool "Enable periodic advertisement."
159            default y
160            depends on BT_LE_EXT_ADV
161            help
162                Enable this option to start periodic advertisement.
163
164        config BT_LE_PERIODIC_ADV_SYNC_TRANSFER
165            bool "Enable Transfer Sync Events"
166            depends on BT_LE_ENABLE_PERIODIC_ADV
167            default y
168            help
169                This enables controller transfer periodic sync events to host
170    endif
171
172    config BT_LE_EXT_SCAN
173        bool "Enable extended scanning"
174        depends on BT_LE_50_FEATURE_SUPPORT && BT_LE_ROLE_OBSERVER_ENABLE
175        default y
176        help
177            Enable this option to do extended scanning.
178
179    config BT_LE_ENABLE_PERIODIC_SYNC
180        bool "Enable periodic sync"
181        default y
182        depends on BT_LE_EXT_SCAN
183        help
184            Enable this option to receive periodic advertisement.
185
186    if BT_LE_ENABLE_PERIODIC_SYNC
187        config BT_LE_MAX_PERIODIC_SYNCS
188            int "Maximum number of periodic advertising syncs"
189            range 0 3
190            default 1 if BT_LE_ENABLE_PERIODIC_ADV
191            default 0
192            help
193                Set this option to set the upper limit for number of periodic sync
194                connections. This should be less than maximum connections allowed by
195                controller.
196
197        config BT_LE_MAX_PERIODIC_ADVERTISER_LIST
198            int "Maximum number of periodic advertiser list"
199            range 1 5
200            default 5
201            help
202                Set this option to set the upper limit for number of periodic advertiser list.
203    endif
204endif
205
206menu "Memory Settings"
207    depends on !BT_NIMBLE_ENABLED
208
209    config BT_LE_MSYS_1_BLOCK_COUNT
210        int "MSYS_1 Block Count"
211        default 12
212        help
213            MSYS is a system level mbuf registry. For prepare write & prepare
214            responses MBUFs are allocated out of msys_1 pool. For NIMBLE_MESH
215            enabled cases, this block count is increased by 8 than user defined
216            count.
217
218    config BT_LE_MSYS_1_BLOCK_SIZE
219        int "MSYS_1 Block Size"
220        default 256
221        help
222            Dynamic memory size of block 1
223
224    config BT_LE_MSYS_2_BLOCK_COUNT
225        int "MSYS_2 Block Count"
226        default 24
227        help
228            Dynamic memory count
229
230    config BT_LE_MSYS_2_BLOCK_SIZE
231        int "MSYS_2 Block Size"
232        default 320
233        help
234            Dynamic memory size of block 2
235
236    config BT_LE_ACL_BUF_COUNT
237        int "ACL Buffer count"
238        default 10
239        help
240            The number of ACL data buffers.
241
242    config BT_LE_ACL_BUF_SIZE
243        int "ACL Buffer size"
244        default 517
245        help
246            This is the maximum size of the data portion of HCI ACL data packets.
247            It does not include the HCI data header (of 4 bytes)
248
249    config BT_LE_HCI_EVT_BUF_SIZE
250        int "HCI Event Buffer size"
251        default 257 if BT_LE_EXT_ADV
252        default 70
253        help
254            This is the size of each HCI event buffer in bytes. In case of
255            extended advertising, packets can be fragmented. 257 bytes is the
256            maximum size of a packet.
257
258    config BT_LE_HCI_EVT_HI_BUF_COUNT
259        int "High Priority HCI Event Buffer count"
260        default 30
261        help
262            This is the high priority HCI events' buffer size. High-priority
263            event buffers are for everything except advertising reports. If there
264            are no free high-priority event buffers then host will try to allocate a
265            low-priority buffer instead
266
267    config BT_LE_HCI_EVT_LO_BUF_COUNT
268        int "Low Priority HCI Event Buffer count"
269        default 8
270        help
271            This is the low priority HCI events' buffer size. Low-priority event
272            buffers are only used for advertising reports. If there are no free
273            low-priority event buffers, then an incoming advertising report will
274            get dropped
275endmenu
276
277config BT_LE_CONTROLLER_TASK_STACK_SIZE
278    int "Controller task stack size"
279    default 5120 if BLE_MESH
280    default 4096
281    help
282        This configures stack size of NimBLE controller task
283
284menuconfig BT_LE_CONTROLLER_LOG_ENABLED
285    bool "Controller log enable"
286    default n
287    help
288        Enable controller log
289
290config BT_LE_CONTROLLER_LOG_CTRL_ENABLED
291    bool "enable controller log module"
292    depends on BT_LE_CONTROLLER_LOG_ENABLED
293    default y
294    help
295            Enable controller log module
296
297config BT_LE_CONTROLLER_LOG_HCI_ENABLED
298    bool "enable HCI log module"
299    depends on BT_LE_CONTROLLER_LOG_ENABLED
300    default y
301    help
302            Enable hci log module
303
304config BT_LE_CONTROLLER_LOG_DUMP_ONLY
305    bool "Controller log dump mode only"
306    depends on BT_LE_CONTROLLER_LOG_ENABLED
307    default y
308    help
309            Only operate in dump mode
310
311config BT_LE_CONTROLLER_LOG_STORAGE_ENABLE
312    bool "Store ble controller logs to flash(Experimental)"
313    depends on !BT_LE_CONTROLLER_LOG_DUMP_ONLY
314    depends on BT_LE_CONTROLLER_LOG_ENABLED
315    default n
316    help
317            Store ble controller logs to flash memory.
318
319config BT_LE_CONTROLLER_LOG_PARTITION_SIZE
320    int "size of ble controller log partition(Multiples of 4K)"
321    depends on BT_LE_CONTROLLER_LOG_STORAGE_ENABLE
322    default 65536
323    help
324            The size of ble controller log partition shall be a multiples of 4K.
325            The name of log partition shall be "bt_ctrl_log".
326            The partition type shall be ESP_PARTITION_TYPE_DATA.
327            The partition sub_type shall be ESP_PARTITION_SUBTYPE_ANY.
328
329config BT_LE_LOG_CTRL_BUF1_SIZE
330    int "size of the first BLE controller LOG buffer"
331    depends on BT_LE_CONTROLLER_LOG_ENABLED
332    default 4096
333    help
334            Configure the size of the first BLE controller LOG buffer.
335
336config BT_LE_LOG_CTRL_BUF2_SIZE
337    int "size of the second BLE controller LOG buffer"
338    depends on BT_LE_CONTROLLER_LOG_ENABLED
339    default 1024
340    help
341            Configure the size of the second BLE controller LOG buffer.
342
343config BT_LE_LOG_HCI_BUF_SIZE
344    int "size of the BLE HCI LOG buffer"
345    depends on BT_LE_CONTROLLER_LOG_ENABLED
346    default 4096
347    help
348            Configure the size of the BLE HCI LOG buffer.
349
350config BT_LE_LL_RESOLV_LIST_SIZE
351    int "BLE LL Resolving list size"
352    range 1 5
353    default 4
354    help
355        Configure the size of resolving list used in link layer.
356
357menuconfig BT_LE_SECURITY_ENABLE
358    bool "Enable BLE SM feature"
359    depends on !BT_NIMBLE_ENABLED
360    default y
361    help
362        Enable BLE sm feature
363
364config BT_LE_SM_LEGACY
365    bool "Security manager legacy pairing"
366    depends on BT_LE_SECURITY_ENABLE
367    default y
368    help
369        Enable security manager legacy pairing
370
371config BT_LE_SM_SC
372    bool "Security manager secure connections (4.2)"
373    depends on BT_LE_SECURITY_ENABLE
374    default y
375    help
376        Enable security manager secure connections
377
378config BT_LE_SM_SC_DEBUG_KEYS
379    bool "Use predefined public-private key pair"
380    default n
381    depends on BT_LE_SECURITY_ENABLE && BT_LE_SM_SC
382    help
383        If this option is enabled, SM uses predefined DH key pair as described
384        in Core Specification, Vol. 3, Part H, 2.3.5.6.1. This allows to
385        decrypt air traffic easily and thus should only be used for debugging.
386
387config BT_LE_LL_CFG_FEAT_LE_ENCRYPTION
388    bool "Enable LE encryption"
389    depends on BT_LE_SECURITY_ENABLE
390    default y
391    help
392        Enable encryption connection
393
394config BT_LE_CRYPTO_STACK_MBEDTLS
395    bool "Override TinyCrypt with mbedTLS for crypto computations"
396    default y
397    depends on !BT_NIMBLE_ENABLED
398    select MBEDTLS_CMAC_C
399    help
400        Enable this option to choose mbedTLS instead of TinyCrypt for crypto
401        computations.
402
403config BT_LE_WHITELIST_SIZE
404    int "BLE white list size"
405    range 1 15
406    default 12
407    depends on !BT_NIMBLE_ENABLED
408
409    help
410        BLE list size
411
412config BT_LE_LL_DUP_SCAN_LIST_COUNT
413    int "BLE duplicate scan list count"
414    range 1 100
415    default 20
416    help
417        config the max count of duplicate scan list
418
419config BT_LE_LL_SCA
420    int "BLE Sleep clock accuracy"
421    range 0 500
422    default 60
423    help
424        Sleep clock accuracy of our device (in ppm)
425
426config BT_LE_MAX_CONNECTIONS
427    int "Maximum number of concurrent connections"
428    depends on !BT_NIMBLE_ENABLED
429    range 1 2
430    default 2
431    help
432        Defines maximum number of concurrent BLE connections. For ESP32, user
433        is expected to configure BTDM_CTRL_BLE_MAX_CONN from controller menu
434        along with this option. Similarly for ESP32-C3 or ESP32-S3, user is expected to
435        configure BT_CTRL_BLE_MAX_ACT from controller menu.
436        Each connection will take about 1k DRAM.
437
438choice BT_LE_COEX_PHY_CODED_TX_RX_TLIM
439    prompt "Coexistence: limit on MAX Tx/Rx time for coded-PHY connection"
440    default BT_LE_COEX_PHY_CODED_TX_RX_TLIM_DIS
441    depends on ESP_COEX_SW_COEXIST_ENABLE
442    help
443        When using PHY-Coded in BLE connection, limitation on max tx/rx time can be applied to
444        better avoid dramatic performance deterioration of Wi-Fi.
445
446    config BT_LE_COEX_PHY_CODED_TX_RX_TLIM_EN
447        bool "Force Enable"
448        help
449            Always enable the limitation on max tx/rx time for Coded-PHY connection
450
451    config BT_LE_COEX_PHY_CODED_TX_RX_TLIM_DIS
452        bool "Force Disable"
453        help
454            Disable the limitation on max tx/rx time for Coded-PHY connection
455endchoice
456
457config BT_LE_COEX_PHY_CODED_TX_RX_TLIM_EFF
458    int
459    default 0 if !ESP_COEX_SW_COEXIST_ENABLE
460    default 1 if BT_LE_COEX_PHY_CODED_TX_RX_TLIM_EN
461    default 0 if BT_LE_COEX_PHY_CODED_TX_RX_TLIM_DIS
462
463config BT_LE_SLEEP_ENABLE
464    bool "Enable BLE sleep"
465    default n
466    help
467        Enable BLE sleep
468
469choice BT_LE_LP_CLK_SRC
470    prompt "BLE low power clock source"
471    default BT_LE_LP_CLK_SRC_MAIN_XTAL
472    config BT_LE_LP_CLK_SRC_MAIN_XTAL
473        bool "Use main XTAL as RTC clock source"
474        help
475            User main XTAL as RTC clock source.
476            This option is recommended if external 32.768k XTAL is not available.
477            Using the external 32.768 kHz XTAL will have lower current consumption
478            in light sleep compared to using the main XTAL.
479
480    config BT_LE_LP_CLK_SRC_DEFAULT
481        bool "Use system RTC slow clock source"
482        help
483            Use the same slow clock source as system RTC
484            Using any clock source other than external 32.768 kHz XTAL at pin0 supports only
485            legacy ADV and SCAN due to low clock accuracy.
486
487endchoice
488
489config BT_LE_USE_ESP_TIMER
490    bool "Use Esp Timer for callout"
491    depends on !BT_NIMBLE_ENABLED
492    default y
493    help
494        Set this option to use Esp Timer which has higher priority timer instead of FreeRTOS timer
495
496config BT_CTRL_BLE_ADV_REPORT_FLOW_CTRL_SUPP
497    bool "BLE adv report flow control supported"
498    depends on BT_LE_ROLE_OBSERVER_ENABLE
499    default y
500    help
501        The function is mainly used to enable flow control for advertising reports. When it is enabled,
502        advertising reports will be discarded by the controller if the number of unprocessed advertising
503        reports exceeds the size of BLE adv report flow control.
504
505config BT_CTRL_BLE_ADV_REPORT_FLOW_CTRL_NUM
506    int "BLE adv report flow control number"
507    depends on BT_CTRL_BLE_ADV_REPORT_FLOW_CTRL_SUPP
508    range 50 1000
509    default 100
510    help
511        The number of unprocessed advertising report that bluetooth host can save.If you set
512        `BT_CTRL_BLE_ADV_REPORT_FLOW_CTRL_NUM` to a small value, this may cause adv packets lost.
513        If you set `BT_CTRL_BLE_ADV_REPORT_FLOW_CTRL_NUM` to a large value, bluetooth host may cache a
514        lot of adv packets and this may cause system memory run out. For example, if you set
515        it to 50, the maximum memory consumed by host is 35 * 50 bytes. Please set
516        `BT_CTRL_BLE_ADV_REPORT_FLOW_CTRL_NUM` according to your system free memory and handle adv
517        packets as fast as possible, otherwise it will cause adv packets lost.
518
519config BT_CTRL_BLE_ADV_REPORT_DISCARD_THRSHOLD
520    int "BLE adv lost event threshold value"
521    depends on BT_CTRL_BLE_ADV_REPORT_FLOW_CTRL_SUPP
522    range 1 1000
523    default 20
524    help
525        When adv report flow control is enabled, The ADV lost event will be generated when the number
526        of ADV packets lost in the controller reaches this threshold. It is better to set a larger value.
527        If you set `BT_CTRL_BLE_ADV_REPORT_DISCARD_THRSHOLD` to a small value or printf every adv lost event, it
528        may cause adv packets lost more.
529config BT_LE_RELEASE_IRAM_SUPPORTED
530    bool
531    default y
532
533config BT_LE_TX_CCA_ENABLED
534    bool "Enable TX CCA feature"
535    default n
536    help
537        Enable CCA feature to cancel sending the packet if the signal power is stronger than CCA threshold.
538
539config BT_LE_DTM_ENABLED
540    bool "Enable Direct Test Mode (DTM) feature"
541    default n
542
543config BT_LE_CCA_RSSI_THRESH
544    int "CCA RSSI threshold value"
545    depends on BT_LE_TX_CCA_ENABLED
546    range 20 100
547    default 20
548    help
549        Power threshold of CCA in unit of -1 dBm.
550
551config BT_LE_FEAT_LL_ENCRYPTION
552    bool "Enable controller ACL encryption"
553    default y
554
555config BT_LE_ROLE_CENTROL_ENABLE
556    bool "Enable BLE Centrol role function"
557    depends on !BT_NIMBLE_ENABLED
558    default y
559    help
560        Enable centrol role function.
561
562config BT_LE_ROLE_PERIPHERAL_ENABLE
563    bool "Enable BLE Peripheral role function"
564    depends on !BT_NIMBLE_ENABLED
565    default y
566    help
567        Enable Peripheral role function.
568
569config BT_LE_ROLE_BROADCASTER_ENABLE
570    bool "Enable BLE Broadcaster role function"
571    depends on !BT_NIMBLE_ENABLED
572    default y
573    help
574        Enable broadcaster role function.
575
576config BT_LE_ROLE_OBSERVER_ENABLE
577    bool "Enable BLE Observer role function"
578    depends on !BT_NIMBLE_ENABLED
579    default y
580    help
581        Enable observer role function.
582
583choice BT_LE_DFT_TX_POWER_LEVEL_DBM
584    prompt "BLE default Tx power level(dBm)"
585    default BT_LE_DFT_TX_POWER_LEVEL_P9
586    help
587        Specify default Tx power level(dBm).
588    config BT_LE_DFT_TX_POWER_LEVEL_N24
589        bool "-24dBm"
590    config BT_LE_DFT_TX_POWER_LEVEL_N21
591        bool "-21dBm"
592    config BT_LE_DFT_TX_POWER_LEVEL_N18
593        bool "-18dBm"
594    config BT_LE_DFT_TX_POWER_LEVEL_N15
595        bool "-15dBm"
596    config BT_LE_DFT_TX_POWER_LEVEL_N12
597        bool "-12dBm"
598    config BT_LE_DFT_TX_POWER_LEVEL_N9
599        bool "-9dBm"
600    config BT_LE_DFT_TX_POWER_LEVEL_N6
601        bool "-6dBm"
602    config BT_LE_DFT_TX_POWER_LEVEL_N3
603        bool "-3dBm"
604    config BT_LE_DFT_TX_POWER_LEVEL_N0
605        bool "0dBm"
606    config BT_LE_DFT_TX_POWER_LEVEL_P3
607        bool "+3dBm"
608    config BT_LE_DFT_TX_POWER_LEVEL_P6
609        bool "+6dBm"
610    config BT_LE_DFT_TX_POWER_LEVEL_P9
611        bool "+9dBm"
612    config BT_LE_DFT_TX_POWER_LEVEL_P12
613        bool "+12dBm"
614    config BT_LE_DFT_TX_POWER_LEVEL_P15
615        bool "+15dBm"
616    config BT_LE_DFT_TX_POWER_LEVEL_P18
617        bool "+18dBm"
618    config BT_LE_DFT_TX_POWER_LEVEL_P20
619        bool "+20dBm"
620endchoice
621
622config BT_LE_DFT_TX_POWER_LEVEL_DBM_EFF
623    int
624    default -24 if BT_LE_DFT_TX_POWER_LEVEL_N24
625    default -21 if BT_LE_DFT_TX_POWER_LEVEL_N21
626    default -18 if BT_LE_DFT_TX_POWER_LEVEL_N18
627    default -15 if BT_LE_DFT_TX_POWER_LEVEL_N15
628    default -12 if BT_LE_DFT_TX_POWER_LEVEL_N12
629    default -9 if BT_LE_DFT_TX_POWER_LEVEL_N9
630    default -6 if BT_LE_DFT_TX_POWER_LEVEL_N6
631    default -3 if BT_LE_DFT_TX_POWER_LEVEL_N3
632    default 0 if BT_LE_DFT_TX_POWER_LEVEL_N0
633    default 3 if BT_LE_DFT_TX_POWER_LEVEL_P3
634    default 6 if BT_LE_DFT_TX_POWER_LEVEL_P6
635    default 9 if BT_LE_DFT_TX_POWER_LEVEL_P9
636    default 12 if BT_LE_DFT_TX_POWER_LEVEL_P12
637    default 15 if BT_LE_DFT_TX_POWER_LEVEL_P15
638    default 18 if BT_LE_DFT_TX_POWER_LEVEL_P18
639    default 20 if BT_LE_DFT_TX_POWER_LEVEL_P20
640    default 0
641
642config BT_CTRL_RUN_IN_FLASH_ONLY
643    bool "Reduce BLE IRAM usage (READ DOCS FIRST) (EXPERIMENTAL)"
644    default n
645    help
646        Move most IRAM into flash. This will increase the usage of flash and reduce ble performance.
647        Because the code is moved to the flash, the execution speed of the code is reduced.
648        To have a small impact on performance, you need to enable flash suspend (SPI_FLASH_AUTO_SUSPEND).
649
650        - Only one Tx-Rx can be performed in each connection interval. Therefore, reduce the connection interval
651          as much as possible to improve the throughput. If you want higher connection performance, you can
652          enable BT_LE_PLACE_CONN_RELATED_INTO_IRAM to put the connection-related code into iram.
653        - For HCI_LE_Extended_Create_Connection command, only 1M phy's connection parameters will be applied.
654          Other phys' will be ignored.
655        - For extended scanning, we may be unable to receive the extended adv with 300us MAFS.
656
657config BT_LE_PLACE_CONN_RELATED_INTO_IRAM
658    bool "Place the connection-related code into IRAM"
659    depends on BT_CTRL_RUN_IN_FLASH_ONLY
660    default n
661
662config BT_LE_CTRL_CHECK_CONNECT_IND_ACCESS_ADDRESS
663    bool "Enable enhanced Access Address check in CONNECT_IND"
664    default n
665    help
666        Enabling this option will add stricter verification of the Access Address in the CONNECT_IND PDU.
667        This improves security by ensuring that only connection requests with valid Access Addresses are accepted.
668        If disabled, only basic checks are applied, improving compatibility.
669