summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2003-06-26 11:19:19 +0000
committerMarcel Holtmann <marcel@holtmann.org>2003-06-26 11:19:19 +0000
commit95989cae022b8bd39e3e45e5bc92eaf8c6b5d0ab (patch)
tree93179b2e07689e08f533786191b2438e4392c7ee
parentfccacdc27dffbc563a4cfe2e1aa9ed987a1bfca1 (diff)
Add HCI defines for transmit power level
-rw-r--r--include/hci.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h
index e96eee9e..746bb66c 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -395,6 +395,19 @@ typedef struct {
} __attribute__ ((packed)) write_voice_setting_cp;
#define WRITE_VOICE_SETTING_CP_SIZE 2
+#define OCF_READ_TRANSMIT_POWER_LEVEL 0x002D
+typedef struct {
+ uint16_t handle;
+ uint8_t type;
+} __attribute__ ((packed)) read_transmit_power_level_cp;
+#define READ_TRANSMIT_POWER_LEVEL_CP_SIZE 3
+typedef struct {
+ uint8_t status;
+ uint16_t handle;
+ int8_t level;
+} __attribute__ ((packed)) read_transmit_power_level_rp;
+#define READ_TRANSMIT_POWER_LEVEL_RP_SIZE 4
+
#define OCF_HOST_BUFFER_SIZE 0x0033
typedef struct {
uint16_t acl_mtu;