summaryrefslogtreecommitdiff
path: root/monitor/msft.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-10-19 16:41:05 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-10-21 11:32:20 -0700
commit5226a2d35969ef1151f6e5cb3f3c35fb53afa5a3 (patch)
treea490a458f44b04d7a0f4854947f110668dda9404 /monitor/msft.h
parent46ee5feb55f778efdd8b21907b195ead363af742 (diff)
downloadbluez-5226a2d35969ef1151f6e5cb3f3c35fb53afa5a3.tar.gz
monitor/msft: Add feature bits definition
This adds the feature bits definition used in HCI_VS_MSFT_Read_Supported_Features.
Diffstat (limited to 'monitor/msft.h')
-rw-r--r--monitor/msft.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/monitor/msft.h b/monitor/msft.h
index d2921f4c8..e6e3019be 100644
--- a/monitor/msft.h
+++ b/monitor/msft.h
@@ -30,6 +30,13 @@ struct msft_cmd_read_supported_features {
uint8_t subcmd;
} __attribute__((packed));
+#define MSFT_MONITOR_BREDR_RSSI BIT(0)
+#define MSFT_MONITOR_LE_RSSI BIT(1)
+#define MSFT_MONITOR_LE_LEGACY_RSSI BIT(2)
+#define MSFT_MONITOR_LE_ADV BIT(3)
+#define MSFT_MONITOR_SSP_VALIDATION BIT(4)
+#define MSFT_MONITOR_LE_ADV_CONTINUOS BIT(5)
+
struct msft_rsp_read_supported_features {
uint8_t status;
uint8_t subcmd;