1aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project/****************************************************************************
2aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project ****************************************************************************
3aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project ***
4aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project ***   This header was automatically generated from a Bluez header
5aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project ***   of the same name, to make information necessary for userspace to
6aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project ***   call into the kernel available to Android. It contains only constants,
7aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project ***   structures, and macros generated from the original header, and thus,
8aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project ***   contains no copyrightable information.
9aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project ***
1040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh ***   To edit the content of this header, modify the corresponding
1140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh ***   source file (e.g. under external/kernel-headers/original/) then
1240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh ***   run bionic/libc/kernel/tools/update_all.py
1340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh ***
1440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh ***   Any manual change here will be lost the next time this script will
1540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh ***   be run. You've been warned!
1640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh ***
17aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project ****************************************************************************
18aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project ****************************************************************************/
19aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#ifndef __HCI_H
20aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define __HCI_H
21aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#ifdef __cplusplus
22aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#endif
2340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#include <sys/socket.h>
25aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_MAX_DEV 16
26aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_MAX_ACL_SIZE 1024
27aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_MAX_SCO_SIZE 255
2840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_MAX_EVENT_SIZE 260
30aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_MAX_FRAME_SIZE (HCI_MAX_ACL_SIZE + 4)
31aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_DEV_REG 1
32aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_DEV_UNREG 2
3340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_DEV_UP 3
35aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_DEV_DOWN 4
36aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_DEV_SUSPEND 5
37aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_DEV_RESUME 6
3840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_VIRTUAL 0
40aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_USB 1
41aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_PCCARD 2
42aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_UART 3
4340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_RS232 4
45aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_PCI 5
46aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_SDIO 6
4740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define HCI_BREDR 0x00
4840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define HCI_AMP 0x01
5040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshenum {
5140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh HCI_UP,
5240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh HCI_INIT,
5340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
5440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh HCI_RUNNING,
5540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh HCI_PSCAN,
5640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh HCI_ISCAN,
5740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh HCI_AUTH,
5840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
5940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh HCI_ENCRYPT,
6040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh HCI_INQUIRY,
6140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh HCI_RAW,
6240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh};
6340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCIDEVUP _IOW('H', 201, int)
65aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCIDEVDOWN _IOW('H', 202, int)
66aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCIDEVRESET _IOW('H', 203, int)
67aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCIDEVRESTAT _IOW('H', 204, int)
6840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCIGETDEVLIST _IOR('H', 210, int)
70aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCIGETDEVINFO _IOR('H', 211, int)
71aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCIGETCONNLIST _IOR('H', 212, int)
72aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCIGETCONNINFO _IOR('H', 213, int)
7340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCIGETAUTHINFO _IOR('H', 215, int)
75aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCISETRAW _IOW('H', 220, int)
76aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCISETSCAN _IOW('H', 221, int)
77aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCISETAUTH _IOW('H', 222, int)
7840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCISETENCRYPT _IOW('H', 223, int)
80aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCISETPTYPE _IOW('H', 224, int)
81aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCISETLINKPOL _IOW('H', 225, int)
82aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCISETLINKMODE _IOW('H', 226, int)
8340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCISETACLMTU _IOW('H', 227, int)
85aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCISETSCOMTU _IOW('H', 228, int)
8640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define HCIBLOCKADDR _IOW('H', 230, int)
8740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define HCIUNBLOCKADDR _IOW('H', 231, int)
8840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCIINQUIRY _IOR('H', 240, int)
90aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#ifndef __NO_HCI_DEFS
91aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_COMMAND_PKT 0x01
92aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_ACLDATA_PKT 0x02
9340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_SCODATA_PKT 0x03
95aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_EVENT_PKT 0x04
96aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_VENDOR_PKT 0xff
97aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_2DH1 0x0002
9840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_3DH1 0x0004
100aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_DM1 0x0008
101aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_DH1 0x0010
102aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_2DH3 0x0100
10340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_3DH3 0x0200
105aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_DM3 0x0400
106aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_DH3 0x0800
107aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_2DH5 0x1000
10840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_3DH5 0x2000
110aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_DM5 0x4000
111aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_DH5 0x8000
112aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_HV1 0x0020
11340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_HV2 0x0040
115aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_HV3 0x0080
116aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_EV3 0x0008
117aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_EV4 0x0010
11840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_EV5 0x0020
120aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_2EV3 0x0040
121aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_3EV3 0x0080
122aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_2EV5 0x0100
12340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_3EV5 0x0200
125aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SCO_PTYPE_MASK (HCI_HV1 | HCI_HV2 | HCI_HV3)
126aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ACL_PTYPE_MASK (HCI_DM1 | HCI_DH1 | HCI_DM3 | HCI_DH3 | HCI_DM5 | HCI_DH5)
12759ca0be6dc8ef3f30f8f863d8fb805a55bf12fe5Nick Pelly#define ESCO_HV1 0x0001
12840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
12959ca0be6dc8ef3f30f8f863d8fb805a55bf12fe5Nick Pelly#define ESCO_HV2 0x0002
13059ca0be6dc8ef3f30f8f863d8fb805a55bf12fe5Nick Pelly#define ESCO_HV3 0x0004
13159ca0be6dc8ef3f30f8f863d8fb805a55bf12fe5Nick Pelly#define ESCO_EV3 0x0008
13259ca0be6dc8ef3f30f8f863d8fb805a55bf12fe5Nick Pelly#define ESCO_EV4 0x0010
13340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
13459ca0be6dc8ef3f30f8f863d8fb805a55bf12fe5Nick Pelly#define ESCO_EV5 0x0020
13559ca0be6dc8ef3f30f8f863d8fb805a55bf12fe5Nick Pelly#define ESCO_2EV3 0x0040
13659ca0be6dc8ef3f30f8f863d8fb805a55bf12fe5Nick Pelly#define ESCO_3EV3 0x0080
13759ca0be6dc8ef3f30f8f863d8fb805a55bf12fe5Nick Pelly#define ESCO_2EV5 0x0100
13840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
13959ca0be6dc8ef3f30f8f863d8fb805a55bf12fe5Nick Pelly#define ESCO_3EV5 0x0200
14059ca0be6dc8ef3f30f8f863d8fb805a55bf12fe5Nick Pelly#define SCO_ESCO_MASK (ESCO_HV1 | ESCO_HV2 | ESCO_HV3)
14159ca0be6dc8ef3f30f8f863d8fb805a55bf12fe5Nick Pelly#define EDR_ESCO_MASK (ESCO_2EV3 | ESCO_3EV3 | ESCO_2EV5 | ESCO_3EV5)
14240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define ALL_ESCO_MASK (SCO_ESCO_MASK | ESCO_EV3 | ESCO_EV4 | ESCO_EV5 |   EDR_ESCO_MASK)
14340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_UNKNOWN_COMMAND 0x01
145aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_NO_CONNECTION 0x02
146aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_HARDWARE_FAILURE 0x03
147aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_PAGE_TIMEOUT 0x04
14840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_AUTHENTICATION_FAILURE 0x05
150aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_PIN_OR_KEY_MISSING 0x06
151aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_MEMORY_FULL 0x07
152aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_CONNECTION_TIMEOUT 0x08
15340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_MAX_NUMBER_OF_CONNECTIONS 0x09
155aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_MAX_NUMBER_OF_SCO_CONNECTIONS 0x0a
156aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_ACL_CONNECTION_EXISTS 0x0b
157aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_COMMAND_DISALLOWED 0x0c
15840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
159aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_REJECTED_LIMITED_RESOURCES 0x0d
160aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_REJECTED_SECURITY 0x0e
161aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_REJECTED_PERSONAL 0x0f
162aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_HOST_TIMEOUT 0x10
16340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
164aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_UNSUPPORTED_FEATURE 0x11
165aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_INVALID_PARAMETERS 0x12
166aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_OE_USER_ENDED_CONNECTION 0x13
167aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_OE_LOW_RESOURCES 0x14
16840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_OE_POWER_OFF 0x15
170aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_CONNECTION_TERMINATED 0x16
171aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_REPEATED_ATTEMPTS 0x17
172aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_PAIRING_NOT_ALLOWED 0x18
17340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_UNKNOWN_LMP_PDU 0x19
175aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_UNSUPPORTED_REMOTE_FEATURE 0x1a
176aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_SCO_OFFSET_REJECTED 0x1b
177aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_SCO_INTERVAL_REJECTED 0x1c
17840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_AIR_MODE_REJECTED 0x1d
180aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_INVALID_LMP_PARAMETERS 0x1e
181aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_UNSPECIFIED_ERROR 0x1f
182aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_UNSUPPORTED_LMP_PARAMETER_VALUE 0x20
18340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_ROLE_CHANGE_NOT_ALLOWED 0x21
185aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LMP_RESPONSE_TIMEOUT 0x22
186aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LMP_ERROR_TRANSACTION_COLLISION 0x23
187aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LMP_PDU_NOT_ALLOWED 0x24
18840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_ENCRYPTION_MODE_NOT_ACCEPTED 0x25
190aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_UNIT_LINK_KEY_USED 0x26
191aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_QOS_NOT_SUPPORTED 0x27
192aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_INSTANT_PASSED 0x28
19340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_PAIRING_NOT_SUPPORTED 0x29
195aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_TRANSACTION_COLLISION 0x2a
196aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_QOS_UNACCEPTABLE_PARAMETER 0x2c
197aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_QOS_REJECTED 0x2d
19840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_CLASSIFICATION_NOT_SUPPORTED 0x2e
200aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_INSUFFICIENT_SECURITY 0x2f
201aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_PARAMETER_OUT_OF_RANGE 0x30
202aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_ROLE_SWITCH_PENDING 0x32
20340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_SLOT_VIOLATION 0x34
205aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_ROLE_SWITCH_FAILED 0x35
206aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_EIR_TOO_LARGE 0x36
207aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_SIMPLE_PAIRING_NOT_SUPPORTED 0x37
20840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_HOST_BUSY_PAIRING 0x38
21040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define ACL_START_NO_FLUSH 0x00
211aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ACL_CONT 0x01
212aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ACL_START 0x02
21340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ACL_ACTIVE_BCAST 0x04
215aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ACL_PICO_BCAST 0x08
216aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SCO_LINK 0x00
217aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ACL_LINK 0x01
21840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
219aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ESCO_LINK 0x02
220aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_3SLOT 0x01
221aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_5SLOT 0x02
222aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_ENCRYPT 0x04
22340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
224aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_SOFFSET 0x08
225aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_TACCURACY 0x10
226aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_RSWITCH 0x20
227aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_HOLD 0x40
22840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
229aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_SNIFF 0x80
230aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_PARK 0x01
231aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_RSSI 0x02
232aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_QUALITY 0x04
23340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
234aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_SCO 0x08
235aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_HV2 0x10
236aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_HV3 0x20
237aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_ULAW 0x40
23840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
239aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_ALAW 0x80
240aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_CVSD 0x01
241aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_PSCHEME 0x02
242aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_PCONTROL 0x04
24340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
244aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_TRSP_SCO 0x08
245aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_BCAST_ENC 0x80
246aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_EDR_ACL_2M 0x02
247aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_EDR_ACL_3M 0x04
24840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
249aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_ENH_ISCAN 0x08
250aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_ILACE_ISCAN 0x10
251aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_ILACE_PSCAN 0x20
252aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_RSSI_INQ 0x40
25340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
254aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_ESCO 0x80
255aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_EV4 0x01
256aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_EV5 0x02
257aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_AFH_CAP_SLV 0x08
25840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
259aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_AFH_CLS_SLV 0x10
26040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define LMP_NO_BREDR 0x20
26140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define LMP_LE 0x40
262aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_EDR_3SLOT 0x80
26340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
264aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_EDR_5SLOT 0x01
265aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_SNIFF_SUBR 0x02
266aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_PAUSE_ENC 0x04
267aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_AFH_CAP_MST 0x08
26840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
269aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_AFH_CLS_MST 0x10
270aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_EDR_ESCO_2M 0x20
271aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_EDR_ESCO_3M 0x40
272aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_EDR_3S_ESCO 0x80
27340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
274aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_EXT_INQ 0x01
27540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define LMP_LE_BREDR 0x02
276aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_SIMPLE_PAIR 0x08
277aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_ENCAPS_PDU 0x10
27840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
279aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_ERR_DAT_REP 0x20
280aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_NFLUSH_PKTS 0x40
281aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_LSTO 0x01
282aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_INQ_TX_PWR 0x02
28340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
28440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define LMP_EPC 0x04
285aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LMP_EXT_FEAT 0x80
28640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define LMP_HOST_LE 0x02
287aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LP_RSWITCH 0x0001
28840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
289aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LP_HOLD 0x0002
290aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LP_SNIFF 0x0004
291aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LP_PARK 0x0008
292aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LM_ACCEPT 0x8000
29340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
294aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LM_MASTER 0x0001
295aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LM_AUTH 0x0002
296aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LM_ENCRYPT 0x0004
297aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LM_TRUSTED 0x0008
29840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
299aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LM_RELIABLE 0x0010
300aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_LM_SECURE 0x0020
301aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OGF_LINK_CTL 0x01
302aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_INQUIRY 0x0001
30340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
30440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
30540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t lap[3];
30640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t length;
30740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t num_rsp;
30840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
30940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) inquiry_cp;
310aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define INQUIRY_CP_SIZE 5
31140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
31240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
31340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
31440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
31540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) status_bdaddr_rp;
316aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define STATUS_BDADDR_RP_SIZE 7
317aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_INQUIRY_CANCEL 0x0002
31840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
319aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_PERIODIC_INQUIRY 0x0003
32040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
32140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t max_period;
32240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t min_period;
32340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
32440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t lap[3];
32540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t length;
32640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t num_rsp;
32740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) periodic_inquiry_cp;
32840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
329aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define PERIODIC_INQUIRY_CP_SIZE 9
330aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_EXIT_PERIODIC_INQUIRY 0x0004
331aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_CREATE_CONN 0x0005
33240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
33340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
33540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t pkt_type;
33640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t pscan_rep_mode;
33740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t pscan_mode;
33840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
33940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t clock_offset;
34040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t role_switch;
34140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) create_conn_cp;
342aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define CREATE_CONN_CP_SIZE 13
34340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
344aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_DISCONNECT 0x0006
34540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
34640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
34740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t reason;
34840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) disconnect_cp;
350aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define DISCONNECT_CP_SIZE 3
351aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_ADD_SCO 0x0007
35240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
35340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
35440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
35540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t pkt_type;
35640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) add_sco_cp;
357aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ADD_SCO_CP_SIZE 4
35840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
359aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_CREATE_CONN_CANCEL 0x0008
36040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
36140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
36240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) create_conn_cancel_cp;
36340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
364aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define CREATE_CONN_CANCEL_CP_SIZE 6
365aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_ACCEPT_CONN_REQ 0x0009
36640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
36740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
36840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
36940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t role;
37040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) accept_conn_req_cp;
371aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ACCEPT_CONN_REQ_CP_SIZE 7
372aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_REJECT_CONN_REQ 0x000A
37340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
37440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
37540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
37640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t reason;
37740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) reject_conn_req_cp;
37840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
379aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define REJECT_CONN_REQ_CP_SIZE 7
380aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_LINK_KEY_REPLY 0x000B
38140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
38240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
38340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t link_key[16];
38540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) link_key_reply_cp;
386aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define LINK_KEY_REPLY_CP_SIZE 22
387aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_LINK_KEY_NEG_REPLY 0x000C
38840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
389aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_PIN_CODE_REPLY 0x000D
39040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
39140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
39240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t pin_len;
39340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t pin_code[16];
39540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) pin_code_reply_cp;
396aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define PIN_CODE_REPLY_CP_SIZE 23
397aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_PIN_CODE_NEG_REPLY 0x000E
39840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
399aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_SET_CONN_PTYPE 0x000F
40040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
40140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
40240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t pkt_type;
40340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
40440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) set_conn_ptype_cp;
405aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SET_CONN_PTYPE_CP_SIZE 4
406aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_AUTH_REQUESTED 0x0011
40740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
40840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
40940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
41040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) auth_requested_cp;
411aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define AUTH_REQUESTED_CP_SIZE 2
412aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_SET_CONN_ENCRYPT 0x0013
41340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
41440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
41540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
41640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t encrypt;
41740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) set_conn_encrypt_cp;
41840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
419aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SET_CONN_ENCRYPT_CP_SIZE 3
420aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_CHANGE_CONN_LINK_KEY 0x0015
42140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
42240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
42340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
42440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) change_conn_link_key_cp;
425aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define CHANGE_CONN_LINK_KEY_CP_SIZE 2
426aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_MASTER_LINK_KEY 0x0017
42740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
42840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
42940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t key_flag;
43040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) master_link_key_cp;
431aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define MASTER_LINK_KEY_CP_SIZE 1
432aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_REMOTE_NAME_REQ 0x0019
43340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
43540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
43640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t pscan_rep_mode;
43740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t pscan_mode;
43840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
43940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t clock_offset;
44040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) remote_name_req_cp;
441aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define REMOTE_NAME_REQ_CP_SIZE 10
442aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_REMOTE_NAME_REQ_CANCEL 0x001A
44340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
44540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
44640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) remote_name_req_cancel_cp;
447aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define REMOTE_NAME_REQ_CANCEL_CP_SIZE 6
44840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
449aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_REMOTE_FEATURES 0x001B
45040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
45140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
45240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_remote_features_cp;
45340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
454aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_REMOTE_FEATURES_CP_SIZE 2
455aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_REMOTE_EXT_FEATURES 0x001C
45640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
45740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
45840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
45940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t page_num;
46040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_remote_ext_features_cp;
461aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_REMOTE_EXT_FEATURES_CP_SIZE 3
462aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_REMOTE_VERSION 0x001D
46340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
46440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
46540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
46640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_remote_version_cp;
467aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_REMOTE_VERSION_CP_SIZE 2
46840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
469aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_CLOCK_OFFSET 0x001F
47040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
47140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
47240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_clock_offset_cp;
47340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
474aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_CLOCK_OFFSET_CP_SIZE 2
475aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_LMP_HANDLE 0x0020
476aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_SETUP_SYNC_CONN 0x0028
47740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
47840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
47940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
48040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint32_t tx_bandwith;
48140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint32_t rx_bandwith;
48240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t max_latency;
48340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
48440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t voice_setting;
48540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t retrans_effort;
48640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t pkt_type;
48740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) setup_sync_conn_cp;
48840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
489aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SETUP_SYNC_CONN_CP_SIZE 17
490aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_ACCEPT_SYNC_CONN_REQ 0x0029
49140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
49240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
49340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint32_t tx_bandwith;
49540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint32_t rx_bandwith;
49640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t max_latency;
49740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t voice_setting;
49840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t retrans_effort;
50040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t pkt_type;
50140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) accept_sync_conn_req_cp;
502aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ACCEPT_SYNC_CONN_REQ_CP_SIZE 21
50340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
504aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_REJECT_SYNC_CONN_REQ 0x002A
50540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
50640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
50740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t reason;
50840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
50940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) reject_sync_conn_req_cp;
510aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define REJECT_SYNC_CONN_REQ_CP_SIZE 7
511aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_IO_CAPABILITY_REPLY 0x002B
51240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
51340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
51440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
51540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t capability;
51640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t oob_data;
51740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t authentication;
51840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
51940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) io_capability_reply_cp;
520aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define IO_CAPABILITY_REPLY_CP_SIZE 9
521aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_USER_CONFIRM_REPLY 0x002C
52240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
52340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
52440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
52540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) user_confirm_reply_cp;
526aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define USER_CONFIRM_REPLY_CP_SIZE 6
527aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_USER_CONFIRM_NEG_REPLY 0x002D
52840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
529aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_USER_PASSKEY_REPLY 0x002E
53040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
53140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
53240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint32_t passkey;
53340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) user_passkey_reply_cp;
535aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define USER_PASSKEY_REPLY_CP_SIZE 10
536aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_USER_PASSKEY_NEG_REPLY 0x002F
537aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_REMOTE_OOB_DATA_REPLY 0x0030
53840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
53940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
54040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
54140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t hash[16];
54240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t randomizer[16];
54340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) remote_oob_data_reply_cp;
545aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define REMOTE_OOB_DATA_REPLY_CP_SIZE 38
546aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_REMOTE_OOB_DATA_NEG_REPLY 0x0033
547aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_IO_CAPABILITY_NEG_REPLY 0x0034
54840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
55040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
55140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t reason;
55240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) io_capability_neg_reply_cp;
55340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
554aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define IO_CAPABILITY_NEG_REPLY_CP_SIZE 7
55540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_CREATE_PHYSICAL_LINK 0x0035
55640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
55740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t handle;
55840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
55940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t key_length;
56040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t key_type;
56140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t key[32];
56240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) create_physical_link_cp;
56340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
56440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define CREATE_PHYSICAL_LINK_CP_SIZE 35
56540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_ACCEPT_PHYSICAL_LINK 0x0036
56640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_DISCONNECT_PHYSICAL_LINK 0x0037
56740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
56840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
56940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t handle;
57040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t reason;
57140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) disconnect_physical_link_cp;
57240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define DISCONNECT_PHYSICAL_LINK_CP_SIZE 2
57340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
57440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_CREATE_LOGICAL_LINK 0x0038
57540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
57640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t handle;
57740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t tx_flow[16];
57840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
57940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t rx_flow[16];
58040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) create_logical_link_cp;
58140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define CREATE_LOGICAL_LINK_CP_SIZE 33
58240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_ACCEPT_LOGICAL_LINK 0x0039
58340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
58440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_DISCONNECT_LOGICAL_LINK 0x003A
58540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
58640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
58740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) disconnect_logical_link_cp;
58840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
58940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define DISCONNECT_LOGICAL_LINK_CP_SIZE 2
59040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_LOGICAL_LINK_CANCEL 0x003B
59140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
59240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t handle;
59340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t tx_flow_id;
59540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) cancel_logical_link_cp;
59640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define LOGICAL_LINK_CANCEL_CP_SIZE 2
59740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
59840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
60040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t handle;
60140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t tx_flow_id;
60240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) cancel_logical_link_rp;
60340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
60440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define LOGICAL_LINK_CANCEL_RP_SIZE 3
60540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_FLOW_SPEC_MODIFY 0x003C
606aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OGF_LINK_POLICY 0x02
607aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_HOLD_MODE 0x0001
60840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
60940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
61040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
61140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t max_interval;
61240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t min_interval;
61340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
61440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) hold_mode_cp;
615aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HOLD_MODE_CP_SIZE 6
616aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_SNIFF_MODE 0x0003
61740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
61840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
61940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
62040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t max_interval;
62140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t min_interval;
62240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t attempt;
62340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
62440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t timeout;
62540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) sniff_mode_cp;
626aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SNIFF_MODE_CP_SIZE 10
627aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_EXIT_SNIFF_MODE 0x0004
62840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
62940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
63040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
63140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) exit_sniff_mode_cp;
632aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define EXIT_SNIFF_MODE_CP_SIZE 2
63340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
634aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_PARK_MODE 0x0005
63540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
63640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
63740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t max_interval;
63840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
63940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t min_interval;
64040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) park_mode_cp;
641aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define PARK_MODE_CP_SIZE 6
642aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_EXIT_PARK_MODE 0x0006
64340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
64540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
64640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) exit_park_mode_cp;
647aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define EXIT_PARK_MODE_CP_SIZE 2
64840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
649aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_QOS_SETUP 0x0007
65040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
65140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t service_type;
65240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint32_t token_rate;
65340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
65440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint32_t peak_bandwidth;
65540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint32_t latency;
65640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint32_t delay_variation;
65740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) hci_qos;
65840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
659aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HCI_QOS_CP_SIZE 17
66040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
66140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
66240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t flags;
66340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
66440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh hci_qos qos;
66540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) qos_setup_cp;
666aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define QOS_SETUP_CP_SIZE (3 + HCI_QOS_CP_SIZE)
667aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_ROLE_DISCOVERY 0x0009
66840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
66940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
67040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
67140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) role_discovery_cp;
672aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ROLE_DISCOVERY_CP_SIZE 2
67340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
67440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
67540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
67640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
67740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t role;
67840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
67940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) role_discovery_rp;
680aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ROLE_DISCOVERY_RP_SIZE 4
681aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_SWITCH_ROLE 0x000B
68240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
68340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
68440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
68540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t role;
68640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) switch_role_cp;
687aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SWITCH_ROLE_CP_SIZE 7
68840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
689aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_LINK_POLICY 0x000C
69040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
69140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
69240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_link_policy_cp;
69340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
694aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_LINK_POLICY_CP_SIZE 2
69540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
69640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
69740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
69840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t policy;
70040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_link_policy_rp;
701aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_LINK_POLICY_RP_SIZE 5
702aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_LINK_POLICY 0x000D
70340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
70440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
70540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
70640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t policy;
70740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_link_policy_cp;
70840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
709aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_LINK_POLICY_CP_SIZE 4
71040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
71140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
71240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
71340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
71440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_link_policy_rp;
715aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_LINK_POLICY_RP_SIZE 3
716aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_DEFAULT_LINK_POLICY 0x000E
717aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_DEFAULT_LINK_POLICY 0x000F
71840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
719aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_FLOW_SPECIFICATION 0x0010
720aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_SNIFF_SUBRATING 0x0011
72140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
72240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
72340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
72440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t max_latency;
72540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t min_remote_timeout;
72640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t min_local_timeout;
72740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) sniff_subrating_cp;
72840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
729aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SNIFF_SUBRATING_CP_SIZE 8
730aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OGF_HOST_CTL 0x03
731aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_SET_EVENT_MASK 0x0001
73240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
73340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
73440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t mask[8];
73540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) set_event_mask_cp;
736aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SET_EVENT_MASK_CP_SIZE 8
737aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_RESET 0x0003
73840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
739aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_SET_EVENT_FLT 0x0005
74040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
74140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t flt_type;
74240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t cond_type;
74340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t condition[0];
74540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) set_event_flt_cp;
746aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SET_EVENT_FLT_CP_SIZE 2
747aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define FLT_CLEAR_ALL 0x00
74840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
749aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define FLT_INQ_RESULT 0x01
750aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define FLT_CONN_SETUP 0x02
751aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define INQ_RESULT_RETURN_ALL 0x00
752aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define INQ_RESULT_RETURN_CLASS 0x01
75340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
754aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define INQ_RESULT_RETURN_BDADDR 0x02
755aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define CONN_SETUP_ALLOW_ALL 0x00
756aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define CONN_SETUP_ALLOW_CLASS 0x01
757aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define CONN_SETUP_ALLOW_BDADDR 0x02
75840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
759aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define CONN_SETUP_AUTO_OFF 0x01
760aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define CONN_SETUP_AUTO_ON 0x02
761aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_FLUSH 0x0008
762aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_PIN_TYPE 0x0009
76340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
76440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
76540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
76640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t pin_type;
76740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_pin_type_rp;
76840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
769aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_PIN_TYPE_RP_SIZE 2
770aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_PIN_TYPE 0x000A
77140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
77240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t pin_type;
77340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
77440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_pin_type_cp;
775aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_PIN_TYPE_CP_SIZE 1
776aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_CREATE_NEW_UNIT_KEY 0x000B
777aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_STORED_LINK_KEY 0x000D
77840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
77940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
78040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
78140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t read_all;
78240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_stored_link_key_cp;
78340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
784aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_STORED_LINK_KEY_CP_SIZE 7
78540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
78640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
78740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t max_keys;
78840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
78940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t num_keys;
79040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_stored_link_key_rp;
791aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_STORED_LINK_KEY_RP_SIZE 5
792aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_STORED_LINK_KEY 0x0011
79340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
79540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t num_keys;
79640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_stored_link_key_cp;
797aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_STORED_LINK_KEY_CP_SIZE 1
79840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
80040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
80140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t num_keys;
80240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_stored_link_key_rp;
80340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
804aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_WRITE_LINK_KEY_RP_SIZE 2
805aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_DELETE_STORED_LINK_KEY 0x0012
80640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
80740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
80840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
80940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t delete_all;
81040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) delete_stored_link_key_cp;
811aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define DELETE_STORED_LINK_KEY_CP_SIZE 7
81240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
81340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
81440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
81540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t num_keys;
81640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) delete_stored_link_key_rp;
817aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define DELETE_STORED_LINK_KEY_RP_SIZE 3
81840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
819aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_CHANGE_LOCAL_NAME 0x0013
82040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
82140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t name[248];
82240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) change_local_name_cp;
82340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
82440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define CHANGE_LOCAL_NAME_CP_SIZE 248
825aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_LOCAL_NAME 0x0014
82640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
82740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
82840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
82940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t name[248];
83040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_local_name_rp;
83140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define READ_LOCAL_NAME_RP_SIZE 249
832aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_CONN_ACCEPT_TIMEOUT 0x0015
83340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
83440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
83540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
83640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t timeout;
83740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_conn_accept_timeout_rp;
83840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
839aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_CONN_ACCEPT_TIMEOUT_RP_SIZE 3
840aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_CONN_ACCEPT_TIMEOUT 0x0016
84140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
84240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t timeout;
84340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_conn_accept_timeout_cp;
845aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_CONN_ACCEPT_TIMEOUT_CP_SIZE 2
846aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_PAGE_TIMEOUT 0x0017
84740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
84840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
85040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t timeout;
85140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_page_timeout_rp;
852aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_PAGE_TIMEOUT_RP_SIZE 3
85340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
854aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_PAGE_TIMEOUT 0x0018
85540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
85640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t timeout;
85740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_page_timeout_cp;
85840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
859aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_PAGE_TIMEOUT_CP_SIZE 2
860aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_SCAN_ENABLE 0x0019
86140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
86240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
86340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
86440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t enable;
86540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_scan_enable_rp;
866aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_SCAN_ENABLE_RP_SIZE 2
867aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_SCAN_ENABLE 0x001A
86840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
869aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SCAN_DISABLED 0x00
870aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SCAN_INQUIRY 0x01
871aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SCAN_PAGE 0x02
872aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_PAGE_ACTIVITY 0x001B
87340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
87440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
87540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
87640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t interval;
87740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t window;
87840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
87940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_page_activity_rp;
880aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_PAGE_ACTIVITY_RP_SIZE 5
881aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_PAGE_ACTIVITY 0x001C
88240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
88340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
88440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t interval;
88540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t window;
88640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_page_activity_cp;
887aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_PAGE_ACTIVITY_CP_SIZE 4
88840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
889aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_INQ_ACTIVITY 0x001D
89040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
89140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
89240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t interval;
89340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t window;
89540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_inq_activity_rp;
896aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_INQ_ACTIVITY_RP_SIZE 5
897aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_INQ_ACTIVITY 0x001E
89840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
90040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t interval;
90140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t window;
90240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_inq_activity_cp;
90340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
904aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_INQ_ACTIVITY_CP_SIZE 4
905aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_AUTH_ENABLE 0x001F
906aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_AUTH_ENABLE 0x0020
907aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define AUTH_DISABLED 0x00
90840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
909aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define AUTH_ENABLED 0x01
910aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_ENCRYPT_MODE 0x0021
911aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_ENCRYPT_MODE 0x0022
912aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ENCRYPT_DISABLED 0x00
91340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
914aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ENCRYPT_P2P 0x01
915aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ENCRYPT_BOTH 0x02
916aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_CLASS_OF_DEV 0x0023
91740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
91840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
91940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
92040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t dev_class[3];
92140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_class_of_dev_rp;
92240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define READ_CLASS_OF_DEV_RP_SIZE 4
92340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
924aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_CLASS_OF_DEV 0x0024
92540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
92640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t dev_class[3];
92740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_class_of_dev_cp;
92840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
929aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_CLASS_OF_DEV_CP_SIZE 3
930aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_VOICE_SETTING 0x0025
93140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
93240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
93340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
93440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t voice_setting;
93540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_voice_setting_rp;
936aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_VOICE_SETTING_RP_SIZE 3
937aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_VOICE_SETTING 0x0026
93840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
93940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
94040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t voice_setting;
94140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_voice_setting_cp;
942aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_VOICE_SETTING_CP_SIZE 2
94340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
944aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_AUTOMATIC_FLUSH_TIMEOUT 0x0027
945aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_AUTOMATIC_FLUSH_TIMEOUT 0x0028
946aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_NUM_BROADCAST_RETRANS 0x0029
947aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_NUM_BROADCAST_RETRANS 0x002A
94840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
949aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_HOLD_MODE_ACTIVITY 0x002B
950aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_HOLD_MODE_ACTIVITY 0x002C
951aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_TRANSMIT_POWER_LEVEL 0x002D
95240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
95340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
95440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
95540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t type;
95640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_transmit_power_level_cp;
957aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_TRANSMIT_POWER_LEVEL_CP_SIZE 3
95840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
95940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
96040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
96140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
96240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh int8_t level;
96340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
96440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_transmit_power_level_rp;
965aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_TRANSMIT_POWER_LEVEL_RP_SIZE 4
966aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_SYNC_FLOW_ENABLE 0x002E
967aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_SYNC_FLOW_ENABLE 0x002F
96840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
969aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_SET_CONTROLLER_TO_HOST_FC 0x0031
970aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_HOST_BUFFER_SIZE 0x0033
97140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
97240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t acl_mtu;
97340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
97440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t sco_mtu;
97540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t acl_max_pkt;
97640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t sco_max_pkt;
97740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) host_buffer_size_cp;
97840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
979aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HOST_BUFFER_SIZE_CP_SIZE 7
980aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_HOST_NUM_COMP_PKTS 0x0035
98140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
98240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t num_hndl;
98340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
98440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) host_num_comp_pkts_cp;
985aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define HOST_NUM_COMP_PKTS_CP_SIZE 1
986aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_LINK_SUPERVISION_TIMEOUT 0x0036
98740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
98840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
98940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
99040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
99140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t timeout;
99240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_link_supervision_timeout_rp;
99340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
994aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_LINK_SUPERVISION_TIMEOUT_RP_SIZE 5
995aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_LINK_SUPERVISION_TIMEOUT 0x0037
99640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
99740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
99840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t timeout;
100040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_link_supervision_timeout_cp;
1001aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_LINK_SUPERVISION_TIMEOUT_CP_SIZE 4
100240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
100340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
100440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
100540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
100640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_link_supervision_timeout_rp;
1007aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_LINK_SUPERVISION_TIMEOUT_RP_SIZE 3
100840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1009aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_NUM_SUPPORTED_IAC 0x0038
1010aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define MAX_IAC_LAP 0x40
1011aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_CURRENT_IAC_LAP 0x0039
101240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
101340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
101440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
101540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t num_current_iac;
101640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t lap[MAX_IAC_LAP][3];
101740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_current_iac_lap_rp;
101840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1019aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_CURRENT_IAC_LAP_RP_SIZE 2+3*MAX_IAC_LAP
1020aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_CURRENT_IAC_LAP 0x003A
102140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
102240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t num_current_iac;
102340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
102440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t lap[MAX_IAC_LAP][3];
102540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_current_iac_lap_cp;
1026aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_CURRENT_IAC_LAP_CP_SIZE 1+3*MAX_IAC_LAP
1027aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_PAGE_SCAN_PERIOD_MODE 0x003B
102840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1029aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_PAGE_SCAN_PERIOD_MODE 0x003C
1030aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_PAGE_SCAN_MODE 0x003D
1031aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_PAGE_SCAN_MODE 0x003E
1032aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_SET_AFH_CLASSIFICATION 0x003F
103340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
103440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
103540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t map[10];
103640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) set_afh_classification_cp;
1037aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SET_AFH_CLASSIFICATION_CP_SIZE 10
103840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
103940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
104040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
104140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) set_afh_classification_rp;
1042aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SET_AFH_CLASSIFICATION_RP_SIZE 1
104340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1044aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_INQUIRY_SCAN_TYPE 0x0042
104540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
104640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
104740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t type;
104840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_inquiry_scan_type_rp;
1050aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_INQUIRY_SCAN_TYPE_RP_SIZE 2
1051aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_INQUIRY_SCAN_TYPE 0x0043
105240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
105340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
105440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t type;
105540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_inquiry_scan_type_cp;
1056aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_INQUIRY_SCAN_TYPE_CP_SIZE 1
105740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
105840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
105940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
106040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_inquiry_scan_type_rp;
1061aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_INQUIRY_SCAN_TYPE_RP_SIZE 1
1062aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_INQUIRY_MODE 0x0044
106340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
106440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
106540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
106640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t mode;
106740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_inquiry_mode_rp;
106840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1069aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_INQUIRY_MODE_RP_SIZE 2
1070aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_INQUIRY_MODE 0x0045
107140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
107240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t mode;
107340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
107440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_inquiry_mode_cp;
1075aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_INQUIRY_MODE_CP_SIZE 1
107640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
107740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
107840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
107940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_inquiry_mode_rp;
1080aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_INQUIRY_MODE_RP_SIZE 1
1081aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_PAGE_SCAN_TYPE 0x0046
1082aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_PAGE_SCAN_TYPE 0x0047
108340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
108440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define PAGE_SCAN_TYPE_STANDARD 0x00
108540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define PAGE_SCAN_TYPE_INTERLACED 0x01
1086aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_AFH_MODE 0x0048
108740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
108840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
108940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
109040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t mode;
109140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_afh_mode_rp;
1092aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_AFH_MODE_RP_SIZE 2
109340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1094aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_AFH_MODE 0x0049
109540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
109640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t mode;
109740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_afh_mode_cp;
109840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1099aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_AFH_MODE_CP_SIZE 1
110040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
110140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
110240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_afh_mode_rp;
110340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1104aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_AFH_MODE_RP_SIZE 1
1105aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_EXT_INQUIRY_RESPONSE 0x0051
110640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
110740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
110840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
110940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t fec;
111040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t data[240];
111140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_ext_inquiry_response_rp;
1112aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_EXT_INQUIRY_RESPONSE_RP_SIZE 242
111340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1114aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_EXT_INQUIRY_RESPONSE 0x0052
111540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
111640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t fec;
111740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t data[240];
111840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
111940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_ext_inquiry_response_cp;
1120aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_EXT_INQUIRY_RESPONSE_CP_SIZE 241
112140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
112240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
112340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
112440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_ext_inquiry_response_rp;
1125aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_EXT_INQUIRY_RESPONSE_RP_SIZE 1
1126aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_REFRESH_ENCRYPTION_KEY 0x0053
112740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
112840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
112940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
113040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) refresh_encryption_key_cp;
1131aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define REFRESH_ENCRYPTION_KEY_CP_SIZE 2
113240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
113340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
113440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
113540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) refresh_encryption_key_rp;
1136aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define REFRESH_ENCRYPTION_KEY_RP_SIZE 1
1137aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_SIMPLE_PAIRING_MODE 0x0055
113840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
113940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
114040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
114140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t mode;
114240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_simple_pairing_mode_rp;
114340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1144aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_SIMPLE_PAIRING_MODE_RP_SIZE 2
1145aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_SIMPLE_PAIRING_MODE 0x0056
114640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
114740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t mode;
114840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_simple_pairing_mode_cp;
1150aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_SIMPLE_PAIRING_MODE_CP_SIZE 1
115140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
115240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
115340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
115440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_simple_pairing_mode_rp;
1155aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_SIMPLE_PAIRING_MODE_RP_SIZE 1
1156aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_LOCAL_OOB_DATA 0x0057
115740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
115840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
115940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
116040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t hash[16];
116140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t randomizer[16];
116240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_local_oob_data_rp;
116340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1164aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_LOCAL_OOB_DATA_RP_SIZE 33
116540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_READ_INQ_RESPONSE_TX_POWER_LEVEL 0x0058
116640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
116740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
116840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
116940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh int8_t level;
117040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_inq_response_tx_power_level_rp;
117140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define READ_INQ_RESPONSE_TX_POWER_LEVEL_RP_SIZE 2
1172aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_INQUIRY_TRANSMIT_POWER_LEVEL 0x0058
117340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
117440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
117540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
117640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh int8_t level;
117740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_inquiry_transmit_power_level_rp;
117840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1179aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_INQUIRY_TRANSMIT_POWER_LEVEL_RP_SIZE 2
1180aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_INQUIRY_TRANSMIT_POWER_LEVEL 0x0059
118140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
118240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh int8_t level;
118340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
118440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_inquiry_transmit_power_level_cp;
1185aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_INQUIRY_TRANSMIT_POWER_LEVEL_CP_SIZE 1
118640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
118740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
118840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
118940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_inquiry_transmit_power_level_rp;
1190aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_INQUIRY_TRANSMIT_POWER_LEVEL_RP_SIZE 1
1191aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_READ_DEFAULT_ERROR_DATA_REPORTING 0x005A
119240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
119340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
119540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t reporting;
119640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_default_error_data_reporting_rp;
1197aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define READ_DEFAULT_ERROR_DATA_REPORTING_RP_SIZE 2
119840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1199aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_WRITE_DEFAULT_ERROR_DATA_REPORTING 0x005B
120040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
120140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t reporting;
120240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_default_error_data_reporting_cp;
120340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1204aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_DEFAULT_ERROR_DATA_REPORTING_CP_SIZE 1
120540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
120640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
120740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_default_error_data_reporting_rp;
120840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1209aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define WRITE_DEFAULT_ERROR_DATA_REPORTING_RP_SIZE 1
1210aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_ENHANCED_FLUSH 0x005F
121140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
121240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t handle;
121340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
121440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t type;
121540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) enhanced_flush_cp;
1216aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define ENHANCED_FLUSH_CP_SIZE 3
1217aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define OCF_SEND_KEYPRESS_NOTIFY 0x0060
121840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
121940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
122040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh bdaddr_t bdaddr;
122140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t type;
122240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) send_keypress_notify_cp;
122340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1224aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SEND_KEYPRESS_NOTIFY_CP_SIZE 7
122540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
122640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
122740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) send_keypress_notify_rp;
122840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1229aca2845d2be375190b3738672b25997516cbb48dThe Android Open Source Project#define SEND_KEYPRESS_NOTIFY_RP_SIZE 1
123040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_READ_LOGICAL_LINK_ACCEPT_TIMEOUT 0x0061
123140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
123240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
123340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
123440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t timeout;
123540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) read_log_link_accept_timeout_rp;
123640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define READ_LOGICAL_LINK_ACCEPT_TIMEOUT_RP_SIZE 3
123740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_WRITE_LOGICAL_LINK_ACCEPT_TIMEOUT 0x0062
123840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
123940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
124040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint16_t timeout;
124140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh} __attribute__ ((packed)) write_log_link_accept_timeout_cp;
124240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define WRITE_LOGICAL_LINK_ACCEPT_TIMEOUT_CP_SIZE 2
124340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124440d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_SET_EVENT_MASK_PAGE_2 0x0063
124540d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_READ_LOCATION_DATA 0x0064
124640d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_WRITE_LOCATION_DATA 0x0065
124740d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_READ_FLOW_CONTROL_MODE 0x0066
124840d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124940d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_WRITE_FLOW_CONTROL_MODE 0x0067
125040d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh#define OCF_READ_ENHANCED_TRANSMIT_POWER_LEVEL 0x0068
125140d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganeshtypedef struct {
125240d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh uint8_t status;
125340d3651f0ad7f3e25950ff7124547438bef57be7Jaikumar Ganesh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1254