From 9d84f7727b2aa1ffc8f92484e8cd6172ae438733 Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Thu, 25 Nov 2021 19:56:34 +0530 Subject: [PATCH] Bluetooth: Add defines for Periodic Advertising Enable and ADI support Add defines for Periodic Advertising Enable and ADI support. Signed-off-by: Vinayak Kariappa Chettimada --- include/bluetooth/hci.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/bluetooth/hci.h b/include/bluetooth/hci.h index ee1343e84fb..b537c7566c3 100644 --- a/include/bluetooth/hci.h +++ b/include/bluetooth/hci.h @@ -1375,6 +1375,9 @@ struct bt_hci_cp_le_set_per_adv_data { uint8_t data[251]; } __packed; +#define BT_HCI_LE_SET_PER_ADV_ENABLE_ENABLE BIT(0) +#define BT_HCI_LE_SET_PER_ADV_ENABLE_ADI BIT(1) + #define BT_HCI_OP_LE_SET_PER_ADV_ENABLE BT_OP(BT_OGF_LE, 0x0040) struct bt_hci_cp_le_set_per_adv_enable { uint8_t enable;