diff options
author | Stephen Crane <steve.crane@rococosoft.com> | 2002-08-21 16:38:15 +0000 |
---|---|---|
committer | Stephen Crane <steve.crane@rococosoft.com> | 2002-08-21 16:38:15 +0000 |
commit | 803bf105508009f7efc87276a539dda244527690 (patch) | |
tree | 6a2dfa70768b0d06bdb52461e59c0823ad160c15 /include/hci.h | |
parent | 63a52518621efce1ec40afb05b8b698e4d6b9b2f (diff) |
implement hci_{read, write}_current_iac_lap()
Diffstat (limited to 'include/hci.h')
-rw-r--r-- | include/hci.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h index 90d148f0..e12352b4 100644 --- a/include/hci.h +++ b/include/hci.h @@ -329,6 +329,22 @@ typedef struct { } __attribute__ ((packed)) host_buffer_size_cp; #define HOST_BUFFER_SIZE_CP_SIZE 7 +#define MAX_IAC_LAP 0x40 +#define OCF_READ_CURRENT_IAC_LAP 0x0039 +typedef struct { + uint8_t status; + uint8_t num_current_iac; + uint8_t lap[3][MAX_IAC_LAP]; +} __attribute__ ((packed)) read_current_iac_lap_rp; +#define READ_CURRENT_IAC_LAP_RP_SIZE 2+3*MAX_IAC_LAP + +#define OCF_WRITE_CURRENT_IAC_LAP 0x003A +typedef struct { + uint8_t num_current_iac; + uint8_t lap[3][MAX_IAC_LAP]; +} __attribute__ ((packed)) write_current_iac_lap_cp; +#define WRITE_CURRENT_IAC_LAP_CP_SIZE 1+3*MAX_IAC_LAP + /* Link Control */ #define OGF_LINK_CTL 0x01 #define OCF_CREATE_CONN 0x0005 |