mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-17 08:23:06 +00:00
git grep -l 'u\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g" git grep -l 's\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g" Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
27 lines
808 B
C
27 lines
808 B
C
/*
|
|
* Copyright (c) 2016 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#if defined(CONFIG_SOC_COMPATIBLE_NRF)
|
|
#define BT_HCI_VS_HW_PLAT BT_HCI_VS_HW_PLAT_NORDIC
|
|
#if defined(CONFIG_SOC_SERIES_NRF51X)
|
|
#define BT_HCI_VS_HW_VAR BT_HCI_VS_HW_VAR_NORDIC_NRF51X
|
|
#elif defined(CONFIG_SOC_COMPATIBLE_NRF52X)
|
|
#define BT_HCI_VS_HW_VAR BT_HCI_VS_HW_VAR_NORDIC_NRF52X
|
|
#elif defined(CONFIG_SOC_SERIES_NRF53X)
|
|
#define BT_HCI_VS_HW_VAR BT_HCI_VS_HW_VAR_NORDIC_NRF53X
|
|
#endif
|
|
#else
|
|
#define BT_HCI_VS_HW_PLAT 0
|
|
#define BT_HCI_VS_HW_VAR 0
|
|
#endif /* CONFIG_SOC_COMPATIBLE_NRF */
|
|
|
|
/* Map vendor command handler directly to common implementation */
|
|
inline int hci_vendor_cmd_handle(uint16_t ocf, struct net_buf *cmd,
|
|
struct net_buf **evt)
|
|
{
|
|
return hci_vendor_cmd_handle_common(ocf, cmd, evt);
|
|
}
|