From 95989cae022b8bd39e3e45e5bc92eaf8c6b5d0ab Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 26 Jun 2003 11:19:19 +0000 Subject: Add HCI defines for transmit power level --- include/hci.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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; -- cgit