summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-11-23 21:26:03 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-11-23 21:26:03 +0000
commit232851e1acd3dddc763f1661d67a3c0256363366 (patch)
tree21dc9914bf399ecf5e2a59eaae7c140bb4d55547 /include
parent7575a227c3ad282247c288fa8def69d9dcd7603f (diff)
Add definitions for sniff subrate
Diffstat (limited to 'include')
-rw-r--r--include/hci.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h
index e1790cce..ec79bf3b 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -575,6 +575,16 @@ typedef struct {
#define OCF_WRITE_DEFAULT_LINK_POLICY 0x000F
+#define OCF_SNIFF_SUBRATE 0x0011
+typedef struct {
+ uint16_t handle;
+ uint16_t max_remote_latency;
+ uint16_t max_local_latency;
+ uint16_t min_remote_timeout;
+ uint16_t min_local_timeout;
+} __attribute__ ((packed)) sniff_subrate_cp;
+#define SNIFF_SUBRATE_CP_SIZE 10
+
/* Host Controller and Baseband */
#define OGF_HOST_CTL 0x03
@@ -1365,6 +1375,17 @@ typedef struct {
} __attribute__ ((packed)) evt_sync_conn_changed;
#define EVT_SYNC_CONN_CHANGED_SIZE 9
+#define EVT_SNIFF_SUBRATE 0x2E
+typedef struct {
+ uint8_t status;
+ uint16_t handle;
+ uint16_t max_remote_latency;
+ uint16_t max_local_latency;
+ uint16_t min_remote_timeout;
+ uint16_t min_local_timeout;
+} __attribute__ ((packed)) evt_sniff_subrate;
+#define EVT_SNIFF_SUBRATE_SIZE 11
+
#define EVT_EXTENDED_INQUIRY_RESULT 0x2F
typedef struct {
bdaddr_t bdaddr;