summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-03-19 18:07:03 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2002-03-19 18:07:03 +0000
commit54e7db35ec328da8e131a70d757904f2bbaa2083 (patch)
tree0acd32356cd1adc1aefae0ca5079a4fd5f8f22a4 /include
parent9ff2c721bb4ff84ad15e4593404bf47941315337 (diff)
Inquiry activity defines.
Diffstat (limited to 'include')
-rw-r--r--include/hci.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h
index 38060fb8..5fcc8c1e 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -206,6 +206,22 @@ typedef struct {
/* Host Controller and Baseband */
#define OGF_HOST_CTL 0x03
#define OCF_RESET 0x0003
+
+#define OCF_READ_INQ_ACTIVITY 0x001D
+typedef struct {
+ uint8_t status;
+ uint16_t interval;
+ uint16_t window;
+} __attribute__ ((packed)) read_inq_activity_rp;
+#define READ_INQ_ACTIVITY_RP_SIZE 5
+
+#define OCF_WRITE_INQ_ACTIVITY 0x001E
+typedef struct {
+ uint16_t interval;
+ uint16_t window;
+} __attribute__ ((packed)) write_inq_activity_cp;
+#define WRITE_INQ_ACTIVITY_CP_SIZE 4
+
#define OCF_READ_AUTH_ENABLE 0x001F
#define OCF_WRITE_AUTH_ENABLE 0x0020
#define AUTH_DISABLED 0x00