1 /*
2  * Copyright (c) 2016 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #if defined(CONFIG_SOC_COMPATIBLE_NRF)
8 #define BT_HCI_VS_HW_PLAT BT_HCI_VS_HW_PLAT_NORDIC
9 #if defined(CONFIG_SOC_SERIES_NRF51X)
10 #define BT_HCI_VS_HW_VAR  BT_HCI_VS_HW_VAR_NORDIC_NRF51X
11 #elif defined(CONFIG_SOC_COMPATIBLE_NRF52X)
12 #define BT_HCI_VS_HW_VAR  BT_HCI_VS_HW_VAR_NORDIC_NRF52X
13 #elif defined(CONFIG_SOC_COMPATIBLE_NRF53X)
14 #define BT_HCI_VS_HW_VAR  BT_HCI_VS_HW_VAR_NORDIC_NRF53X
15 #elif defined(CONFIG_SOC_SERIES_NRF54HX)
16 #define BT_HCI_VS_HW_VAR  BT_HCI_VS_HW_VAR_NORDIC_NRF54HX
17 #elif defined(CONFIG_SOC_COMPATIBLE_NRF54LX)
18 #define BT_HCI_VS_HW_VAR  BT_HCI_VS_HW_VAR_NORDIC_NRF54LX
19 #endif
20 #else
21 #define BT_HCI_VS_HW_PLAT 0
22 #define BT_HCI_VS_HW_VAR  0
23 #endif /* CONFIG_SOC_COMPATIBLE_NRF */
24 
25 /* Map vendor command handler directly to common implementation */
hci_vendor_cmd_handle(uint16_t ocf,struct net_buf * cmd,struct net_buf ** evt)26 inline int hci_vendor_cmd_handle(uint16_t ocf, struct net_buf *cmd,
27 				 struct net_buf **evt)
28 {
29 	return hci_vendor_cmd_handle_common(ocf, cmd, evt);
30 }
31