From 5854ae7dc42fe2e51abc5e93748e5624c581e49c Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Tue, 30 Jan 2024 10:28:02 +0530 Subject: [PATCH] Merge hci_common.h file for all chips --- nimble/include/nimble/hci_common.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nimble/include/nimble/hci_common.h b/nimble/include/nimble/hci_common.h index 5a76a6830..7121ce501 100644 --- a/nimble/include/nimble/hci_common.h +++ b/nimble/include/nimble/hci_common.h @@ -1,3 +1,10 @@ +/* + * SPDX-FileCopyrightText: 2015-2023 The Apache Software Foundation (ASF) + * + * SPDX-License-Identifier: Apache-2.0 + * + * SPDX-FileContributor: 2019-2022 Espressif Systems (Shanghai) CO LTD + */ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file @@ -1224,6 +1231,11 @@ struct ble_hci_vs_duplicate_exception_list_cp { } __attribute__((packed)); #define BLE_HCI_OCF_VS_LEGACY_ADV_CLEAR (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x010C)) + +#if SOC_BLE_POWER_CONTROL_SUPPORTED +#define BLE_HCI_OCF_VS_PCL_SET_RSSI (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x0111)) +#endif + #define BLE_HCI_OCF_VS_SET_CHAN_SELECT (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x0112)) /* Command Specific Definitions */