1# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or
2# an affiliate of Cypress Semiconductor Corporation
3# SPDX-License-Identifier: Apache-2.0
4
5if BT_AIROC
6
7config BT_CYW43XX
8	bool
9	default y if BT_AIROC && BT_H4
10
11choice  AIROC_PART
12	prompt "Select AIROC part"
13
14config CYW4343W
15	bool "CYW4343W"
16	depends on BT_H4
17	help
18	  Enable Infineon CYW4343W BLE connectivity,
19	  More information about CYW4343W device you can find on
20	  https://www.infineon.com/cms/en/product/wireless-connectivity/airoc-wi-fi-plus-bluetooth-combos/cyw4343w/
21
22config CYW4373
23	bool "CYW4373"
24	depends on BT_H4
25	help
26	  Enable Infineon CYW4373 BLE connectivity,
27	  More information about CYW4373 device you can find on
28	  https://www.infineon.com/cms/en/product/wireless-connectivity/airoc-wi-fi-plus-bluetooth-combos/cyw4373/
29
30config CYW43012
31	bool "CYW43012"
32	depends on BT_H4
33	help
34	  Enable Infineon CYW43012 BLE connectivity,
35	  More information about CYW43012 device you can find on
36	  https://www.infineon.com/cms/en/product/wireless-connectivity/airoc-wi-fi-plus-bluetooth-combos/cyw43012/
37
38config CYW43438
39	bool "CYW43438"
40	depends on BT_H4
41	help
42	  Enable Infineon CYW43438 BLE connectivity,
43	  More information about CYW43438 device you can find on
44	  https://www.infineon.com/cms/en/product/wireless-connectivity/airoc-wi-fi-plus-bluetooth-combos/cyw43438/
45
46config CYW43439
47	bool "CYW43439"
48	depends on BT_H4
49	help
50	  Enable Infineon CYW43439 BLE connectivity,
51	  More information about CYW43439 device you can find on
52	  https://www.infineon.com/cms/en/product/wireless-connectivity/airoc-wi-fi-plus-bluetooth-combos/cyw43439/
53
54config CYW20829
55	bool "CYW20829"
56	depends on BT_CYW208XX
57	help
58	  Enable Infineon CYW20829 BLE connectivity,
59	  More information about CYW20829 device you can find on
60	  https://www.infineon.com/cms/en/product/wireless-connectivity/airoc-bluetooth-le-bluetooth-multiprotocol/airoc-bluetooth-le/cyw20829/
61
62config BT_AIROC_CUSTOM
63	bool "Custom AIROC device/module"
64	help
65	  Select Custom AIROC device/module. For this option,
66	  user must to provide path to BT firmware HCD file for
67	  custom or vendor AIROC modules in AIROC_CUSTOM_FIRMWARE_HCD_BLOB.
68
69endchoice
70
71choice CYW43012_MODULE
72	prompt "Select CYW43012 module"
73	depends on CYW43012
74
75config CYW43012_MURATA_1LV
76	bool "MURATA-1LV"
77	help
78	  Murata Type 1LV module based on Infineon CYW43012 combo chipset
79	  which supports Wi-Fi® 802.11a/b/g/n + Bluetooth® 5.0 BR/EDR/LE
80	  up to 72.2Mbps PHY data rate on Wi-fi® and 3Mbps PHY data rate
81	  on Bluetooth®. 2Mbps LE PHY is also supported.
82
83	  Detailed information about Murata Type 1LV module you can find on
84	  https://www.murata.com/en-us/products/connectivitymodule/wi-fi-bluetooth/overview/lineup/type1lv
85
86endchoice
87
88choice CYW4343W_MODULE
89	prompt "Select CYW4343W module"
90	depends on CYW4343W
91
92config CYW4343W_MURATA_1DX
93	bool "MURATA-1DX"
94	help
95	  Murata Type 1DX modules based on Infineon CYW4343W combo chipset
96	  which supports Wi-Fi® 802.11b/g/n + Bluetooth® 5.1 BR/EDR/LE
97	  up to 65Mbps PHY data rate on Wi-fi® and 3Mbps PHY data rate
98	  on Bluetooth®.
99
100	  Detailed information about Type 1DX module you can find on
101	  https://www.murata.com/en-us/products/connectivitymodule/wi-fi-bluetooth/overview/lineup/type1dx
102
103endchoice
104
105choice CYW4373_MODULE
106	prompt "Select CYW4373 module"
107	depends on CYW4373
108
109config CYW4373_STERLING_LWB5PLUS
110	bool "STERLING-LWB5plus"
111	help
112	  Ezurio Sterling LWB5+ 802.11ac / Bluetooth 5.0 M.2 Carrier Board
113	  (E-Type Key w/ SDIO/UART)
114
115	  Detailed information about Type Sterling LWB5+ module you can find on
116	  https://www.ezurio.com/wireless-modules/wifi-modules-bluetooth/sterling-lwb5-plus-wifi-5-bluetooth-5-module
117
118endchoice
119
120choice CYW43439_MODULE
121	prompt "Select CYW43439 module"
122	depends on CYW43439
123
124config CYW43439_MURATA_1YN
125	bool "MURATA_1YN"
126	help
127	  Murata Type 1YN module based on Infineon CYW43439 combo chipset
128	  which supports Wi-Fi® 802.11b/g/n + Bluetooth® 5.2 BR/EDR/LE
129	  up to 65Mbps PHY data rate on Wi-fi® and 3Mbps PHY data rate on
130	  Bluetooth®.
131
132	  Detailed information about Murata Type 1YN module you can find on
133	  https://www.murata.com/en-us/products/connectivitymodule/wi-fi-bluetooth/overview/lineup/type1yn
134
135endchoice
136
137if CYW20829
138
139config CYW20829_BT_FW_TX10DBM_POWER
140	bool "CYW20829_BT_FW_TX10DBM_POWER"
141	default y
142	help
143	  Enable 10dBm TX Power variant of CYW20829 FW patch.
144
145choice CYW20829_BT_FW
146	prompt "Select variant of default CYW20829 BT FW"
147	default CYW20829_BT_FW_ISOC_TX10 if BT_ISO &&  CYW20829_BT_FW_TX10DBM_POWER
148	default CYW20829_BT_FW_ISOC_TX0  if BT_ISO && !CYW20829_BT_FW_TX10DBM_POWER
149	default CYW20829_BT_FW_PAWR_TX10 if (BT_PER_ADV_RSP || BT_PER_ADV_SYNC_RSP) &&  CYW20829_BT_FW_TX10DBM_POWER
150	default CYW20829_BT_FW_PAWR_TX0  if (BT_PER_ADV_RSP || BT_PER_ADV_SYNC_RSP) && !CYW20829_BT_FW_TX10DBM_POWER
151	default CYW20829_BT_FW_TX10      if CYW20829_BT_FW_TX10DBM_POWER
152	default CYW20829_BT_FW_TX0
153
154config CYW20829_BT_FW_TX0
155	bool "CYW20829_BT_FW_TX0"
156	help
157	  Enable CYW20829 FW patch for 0dBm TX Power.
158	  This configuration should be used with non-PAWR and non-ISOC applications.
159
160config CYW20829_BT_FW_TX10
161	bool "CYW20829_BT_FW_TX10"
162	help
163	  Enable CYW20829 FW patch for 10dBm TX Power.
164	  This configuration should be used with non-PAwR and non-ISOC applications.
165
166config CYW20829_BT_FW_PAWR_TX0
167	bool "CYW20829_BT_FW_PAWR_TX0"
168	help
169	  Enable CYW20829 FW patch with PAwR support for 0dBm TX Power.
170	  This configuration should be used with PAwR applications.
171
172config CYW20829_BT_FW_PAWR_TX10
173	bool "CYW20829_BT_FW_PAWR_TX10"
174	help
175	  Enable CYW20829 FW patch for 10dBm TX Power.
176	  This configuration should be used with PAwR applications.
177
178config CYW20829_BT_FW_ISOC_TX0
179	bool "CYW20829_BT_FW_ISOC_TX0"
180	help
181	  Enable CYW20829 FW patch for 0dBm TX Power.
182	  This configuration should be used with ISOC applications.
183
184config CYW20829_BT_FW_ISOC_TX10
185	bool "CYW20829_BT_FW_ISOC_TX10"
186	help
187	  Enable CYW20829 FW patch for 10dBm TX Power.
188	  This configuration should be used with ISOC applications.
189
190endchoice
191endif # CYW20829
192
193config AIROC_CUSTOM_FIRMWARE_HCD_BLOB
194	string  "Path to user BT firmware HCD file"
195	help
196	  Path to BT firmware HCD file for custom or vendor CYW43xx modules.
197	  It can be absolute path, or relative from project folder.
198
199# Change size of command lengths. It for vendor commands related to
200# firmware downloading.
201config BT_BUF_CMD_TX_SIZE
202	default $(UINT8_MAX)
203
204endif # BT_AIROC
205
206if BT_PSOC6_BLESS
207
208config BT_PSOC6_BLESS_MAX_TX_PAYLOAD
209	int "Max Tx payload size"
210	range 27 251
211	default 27
212
213config BT_PSOC6_BLESS_MAX_RX_PAYLOAD
214	int "Max Rx payload size"
215	range 27 251
216	default 27
217
218endif # BT_PSOC6_BLESS
219