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
52	default "NXP"
53
54config BT_HCI_ACL_FLOW_CONTROL
55	default n
56
57config BT_BUF_EVT_DISCARDABLE_SIZE
58	default 84
59
60config HEAP_MEM_POOL_ADD_SIZE_BT_NXP
61	int
62	default 256
63
64config FLASH
65	default y
66
67endif # BT_NXP
68
69if BT_H4_NXP_CTLR
70
71config BT_NXP_NW612
72	bool "NXP IW612 Chipset"
73	help
74	  NXP IW612 Chipset supports Wi-Fi? 802.11a/b/g/n/ac/ax + Bluetooth? 5.3
75	  BR/EDR/LE + IEEE802.1.5.4 up to 601 Mbps data rate on Wi-Fi? and 2Mbps
76	  data rate on Bluetooth?. 4-wire UART@3M baud is supported. PCM for
77	  audio is also supported.
78	  Details of the module could be fond on https://www.nxp.com/products/
79	  wireless-connectivity/wi-fi-plus-bluetooth-plus-802-15-4/2-4-5-ghz-
80	  dual-band-1x1-wi-fi-6-802-11ax-plus-bluetooth-5-4-plus-802-15-4-tri-
81	  radio-solution:IW612.
82
83endif # BT_H4_NXP_CTLR
84