summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-09-08 11:50:20 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-09-08 11:50:20 +0000
commit19f7dc5517f6c598d9e351ec28fad811e0f0ee59 (patch)
tree2ba6d67af04d41bcd7b49a7a4d88e7e2d8074cec /include
parentb48bccaf6c89da2af3a20617f4a496be4a633c5b (diff)
Add missing OCF declarations for the security filter
Diffstat (limited to 'include')
-rw-r--r--include/hci.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h
index 243889d3..d12232d8 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -575,6 +575,10 @@ typedef struct {
} __attribute__ ((packed)) write_link_policy_rp;
#define WRITE_LINK_POLICY_RP_SIZE 3
+#define OCF_READ_DEFAULT_LINK_POLICY 0x000E
+
+#define OCF_WRITE_DEFAULT_LINK_POLICY 0x000F
+
/* Host Controller and Baseband */
#define OGF_HOST_CTL 0x03
@@ -784,6 +788,18 @@ typedef struct {
} __attribute__ ((packed)) write_voice_setting_cp;
#define WRITE_VOICE_SETTING_CP_SIZE 2
+#define OCF_READ_AUTOMATIC_FLUSH_TIMEOUT 0x0027
+
+#define OCF_WRITE_AUTOMATIC_FLUSH_TIMEOUT 0x0028
+
+#define OCF_READ_NUM_BROADCAST_RETRANS 0x0029
+
+#define OCF_WRITE_NUM_BROADCAST_RETRANS 0x002A
+
+#define OCF_READ_HOLD_MODE_ACTIVITY 0x002B
+
+#define OCF_WRITE_HOLD_MODE_ACTIVITY 0x002C
+
#define OCF_READ_TRANSMIT_POWER_LEVEL 0x002D
typedef struct {
uint16_t handle;
@@ -826,6 +842,8 @@ typedef struct {
} __attribute__ ((packed)) write_link_supervision_timeout_rp;
#define WRITE_LINK_SUPERVISION_TIMEOUT_RP_SIZE 3
+#define OCF_READ_NUM_SUPPORTED_IAC 0x0038
+
#define MAX_IAC_LAP 0x40
#define OCF_READ_CURRENT_IAC_LAP 0x0039
typedef struct {
@@ -842,6 +860,14 @@ typedef struct {
} __attribute__ ((packed)) write_current_iac_lap_cp;
#define WRITE_CURRENT_IAC_LAP_CP_SIZE 1+3*MAX_IAC_LAP
+#define OCF_READ_PAGE_SCAN_PERIOD_MODE 0x003B
+
+#define OCF_WRITE_PAGE_SCAN_PERIOD_MODE 0x003C
+
+#define OCF_READ_PAGE_SCAN_MODE 0x003D
+
+#define OCF_WRITE_PAGE_SCAN_MODE 0x003E
+
#define OCF_SET_AFH_CLASSIFICATION 0x003F
typedef struct {
uint8_t map[10];
@@ -886,6 +912,10 @@ typedef struct {
} __attribute__ ((packed)) write_inquiry_mode_rp;
#define WRITE_INQUIRY_MODE_RP_SIZE 1
+#define OCF_READ_PAGE_SCAN_TYPE 0x0046
+
+#define OCF_WRITE_PAGE_SCAN_TYPE 0x0047
+
#define OCF_READ_AFH_MODE 0x0048
typedef struct {
uint8_t status;
@@ -973,6 +1003,8 @@ typedef struct {
} __attribute__ ((packed)) read_buffer_size_rp;
#define READ_BUFFER_SIZE_RP_SIZE 8
+#define OCF_READ_COUNTRY_CODE 0x0007
+
#define OCF_READ_BD_ADDR 0x0009
typedef struct {
uint8_t status;