summaryrefslogtreecommitdiffstats
path: root/include/hci.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-04-17 21:45:50 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-04-17 21:45:50 +0000
commit456c8fd652c0d96500adef3dd7abb067a000bc50 (patch)
treef8000ddff0f97d54cb4c8b9249711e67864c3d7a /include/hci.h
parent01aab15cf710601c93457042507b433474a78c04 (diff)
Add definitions for local extended features and commands
Diffstat (limited to 'include/hci.h')
-rw-r--r--include/hci.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h
index 3f811ffa..fce19b9c 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -407,6 +407,13 @@ typedef struct {
} __attribute__ ((packed)) read_remote_features_cp;
#define READ_REMOTE_FEATURES_CP_SIZE 2
+#define OCF_READ_REMOTE_EXT_FEATURES 0x001C
+typedef struct {
+ uint16_t handle;
+ uint8_t page_num;
+} __attribute__ ((packed)) read_remote_ext_features_cp;
+#define READ_REMOTE_EXT_FEATURES_CP_SIZE 3
+
#define OCF_READ_REMOTE_VERSION 0x001D
typedef struct {
uint16_t handle;
@@ -763,6 +770,13 @@ typedef struct {
} __attribute__ ((packed)) read_local_version_rp;
#define READ_LOCAL_VERSION_RP_SIZE 9
+#define OCF_READ_LOCAL_COMMANDS 0x0002
+typedef struct {
+ uint8_t status;
+ uint8_t commands[64];
+} __attribute__ ((packed)) read_local_commands_rp;
+#define READ_LOCAL_COMMANDS_RP_SIZE 65
+
#define OCF_READ_LOCAL_FEATURES 0x0003
typedef struct {
uint8_t status;
@@ -770,6 +784,15 @@ typedef struct {
} __attribute__ ((packed)) read_local_features_rp;
#define READ_LOCAL_FEATURES_RP_SIZE 9
+#define OCF_READ_LOCAL_EXT_FEATURES 0x0004
+typedef struct {
+ uint8_t status;
+ uint8_t page_num;
+ uint8_t max_page_num;
+ uint8_t features[8];
+} __attribute__ ((packed)) read_local_ext_features_rp;
+#define READ_LOCAL_EXT_FEATURES_RP_SIZE 11
+
#define OCF_READ_BUFFER_SIZE 0x0005
typedef struct {
uint8_t status;