1#
2# Copyright 2023-2024 NXP
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7config HCI_NXP_ENABLE_AUTO_SLEEP
8	bool "BLE Controller auto sleep mode"
9	help
10	  If enabled, the Controller auto sleep mode will be configured and enabled during HCI init.
11	  Auto sleep mode means the Controller will handle its low power state automatically.
12	  Enabling this feature will allow to save power at the cost of some latency when sending a HCI
13	  message to the Controller as the Host will need to wake it up.
14
15config HCI_NXP_SET_CAL_DATA
16	bool "BLE Controller calibration data"
17	help
18	  If enabled, the Host will send calibration data to the BLE Controller during HCI init.
19
20config HCI_NXP_SET_CAL_DATA_ANNEX100
21	bool "BLE Controller calibration data annex 100"
22	help
23	  If enabled, the Host will send calibration data annex 100 to the BLE Controller during HCI
24	  init.
25
26config HCI_NXP_RX_THREAD
27	bool "Process RX buffers in a dedicated thread"
28	help
29	  Some platforms receive the HCI RX buffers in ISR context.
30	  If enabled, the HCI RX message is queued by the ISR, and the message is processed
31	  in a dedicated thread.
32
33if HCI_NXP_RX_THREAD
34
35config HCI_NXP_RX_STACK_SIZE
36	int "HCI RX stack size"
37	default 512
38
39config HCI_NXP_RX_MSG_QUEUE_SIZE
40	int "HCI RX message queue size"
41	default 4
42
43config HEAP_MEM_POOL_ADD_SIZE_BT_NXP_RX_THREAD
44	int
45	default 768
46
47endif
48
49if BT_NXP
50
51config BT_DIS_MANUF_NAME
52	default y
53
54config BT_DIS_MANUF_NAME_STR
55	default "NXP"
56
57config BT_HCI_ACL_FLOW_CONTROL
58	default n
59
60config BT_BUF_EVT_DISCARDABLE_SIZE
61	default 84
62
63config HEAP_MEM_POOL_ADD_SIZE_BT_NXP
64	int
65	default 256
66
67config FLASH
68	default y
69
70endif # BT_NXP
71
72if BT_H4_NXP_CTLR
73
74choice BT_NXP_MODULE
75	# All NXP Bluetooth modules controlled by BT_H4_NXP_CTLR should be added to this section
76	# similar with BT_NXP_NW612.
77	prompt "NXP Bluetooth Module"
78	default BT_NXP_NW612
79
80config BT_NXP_NW612
81	bool "NW612 firmware for NXP IW612 Chipset"
82	help
83	  NXP IW612 Chipset supports Wi-Fi? 802.11a/b/g/n/ac/ax + Bluetooth? 5.3
84	  BR/EDR/LE + IEEE802.1.5.4 up to 601 Mbps data rate on Wi-Fi? and 2Mbps
85	  data rate on Bluetooth?. 4-wire UART@3M baud is supported. PCM for
86	  audio is also supported.
87	  Details of the module could be fond on https://www.nxp.com/products/
88	  wireless-connectivity/wi-fi-plus-bluetooth-plus-802-15-4/2-4-5-ghz-
89	  dual-band-1x1-wi-fi-6-802-11ax-plus-bluetooth-5-4-plus-802-15-4-tri-
90	  radio-solution:IW612.
91
92endchoice # BT_NXP_MODULE
93
94endif # BT_H4_NXP_CTLR
95