Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | *** To edit the content of this header, modify the corresponding |
| 11 | *** source file (e.g. under external/kernel-headers/original/) then |
| 12 | *** run bionic/libc/kernel/tools/update_all.py |
| 13 | *** |
| 14 | *** Any manual change here will be lost the next time this script will |
| 15 | *** be run. You've been warned! |
| 16 | *** |
| 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef __CAPICMD_H__ |
| 20 | #define __CAPICMD_H__ |
| 21 | #define CAPI_MSG_BASELEN 8 |
| 22 | #define CAPI_DATA_B3_REQ_LEN (CAPI_MSG_BASELEN+4+4+2+2+2) |
| 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 24 | #define CAPI_DATA_B3_RESP_LEN (CAPI_MSG_BASELEN+4+2) |
| 25 | #define CAPI_ALERT 0x01 |
| 26 | #define CAPI_CONNECT 0x02 |
| 27 | #define CAPI_CONNECT_ACTIVE 0x03 |
| 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 29 | #define CAPI_CONNECT_B3_ACTIVE 0x83 |
| 30 | #define CAPI_CONNECT_B3 0x82 |
| 31 | #define CAPI_CONNECT_B3_T90_ACTIVE 0x88 |
| 32 | #define CAPI_DATA_B3 0x86 |
| 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 34 | #define CAPI_DISCONNECT_B3 0x84 |
| 35 | #define CAPI_DISCONNECT 0x04 |
| 36 | #define CAPI_FACILITY 0x80 |
| 37 | #define CAPI_INFO 0x08 |
| 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 39 | #define CAPI_LISTEN 0x05 |
| 40 | #define CAPI_MANUFACTURER 0xff |
| 41 | #define CAPI_RESET_B3 0x87 |
| 42 | #define CAPI_SELECT_B_PROTOCOL 0x41 |
| 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 44 | #define CAPI_REQ 0x80 |
| 45 | #define CAPI_CONF 0x81 |
| 46 | #define CAPI_IND 0x82 |
| 47 | #define CAPI_RESP 0x83 |
| 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 49 | #define CAPICMD(cmd,subcmd) (((cmd)<<8)|(subcmd)) |
| 50 | #define CAPI_DISCONNECT_REQ CAPICMD(CAPI_DISCONNECT,CAPI_REQ) |
| 51 | #define CAPI_DISCONNECT_CONF CAPICMD(CAPI_DISCONNECT,CAPI_CONF) |
| 52 | #define CAPI_DISCONNECT_IND CAPICMD(CAPI_DISCONNECT,CAPI_IND) |
| 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 54 | #define CAPI_DISCONNECT_RESP CAPICMD(CAPI_DISCONNECT,CAPI_RESP) |
| 55 | #define CAPI_ALERT_REQ CAPICMD(CAPI_ALERT,CAPI_REQ) |
| 56 | #define CAPI_ALERT_CONF CAPICMD(CAPI_ALERT,CAPI_CONF) |
| 57 | #define CAPI_CONNECT_REQ CAPICMD(CAPI_CONNECT,CAPI_REQ) |
| 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 59 | #define CAPI_CONNECT_CONF CAPICMD(CAPI_CONNECT,CAPI_CONF) |
| 60 | #define CAPI_CONNECT_IND CAPICMD(CAPI_CONNECT,CAPI_IND) |
| 61 | #define CAPI_CONNECT_RESP CAPICMD(CAPI_CONNECT,CAPI_RESP) |
| 62 | #define CAPI_CONNECT_ACTIVE_REQ CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_REQ) |
| 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 64 | #define CAPI_CONNECT_ACTIVE_CONF CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_CONF) |
| 65 | #define CAPI_CONNECT_ACTIVE_IND CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_IND) |
| 66 | #define CAPI_CONNECT_ACTIVE_RESP CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_RESP) |
| 67 | #define CAPI_SELECT_B_PROTOCOL_REQ CAPICMD(CAPI_SELECT_B_PROTOCOL,CAPI_REQ) |
| 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 69 | #define CAPI_SELECT_B_PROTOCOL_CONF CAPICMD(CAPI_SELECT_B_PROTOCOL,CAPI_CONF) |
| 70 | #define CAPI_CONNECT_B3_ACTIVE_REQ CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_REQ) |
| 71 | #define CAPI_CONNECT_B3_ACTIVE_CONF CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_CONF) |
| 72 | #define CAPI_CONNECT_B3_ACTIVE_IND CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_IND) |
| 73 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 74 | #define CAPI_CONNECT_B3_ACTIVE_RESP CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_RESP) |
| 75 | #define CAPI_CONNECT_B3_REQ CAPICMD(CAPI_CONNECT_B3,CAPI_REQ) |
| 76 | #define CAPI_CONNECT_B3_CONF CAPICMD(CAPI_CONNECT_B3,CAPI_CONF) |
| 77 | #define CAPI_CONNECT_B3_IND CAPICMD(CAPI_CONNECT_B3,CAPI_IND) |
| 78 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 79 | #define CAPI_CONNECT_B3_RESP CAPICMD(CAPI_CONNECT_B3,CAPI_RESP) |
| 80 | #define CAPI_CONNECT_B3_T90_ACTIVE_IND CAPICMD(CAPI_CONNECT_B3_T90_ACTIVE,CAPI_IND) |
| 81 | #define CAPI_CONNECT_B3_T90_ACTIVE_RESP CAPICMD(CAPI_CONNECT_B3_T90_ACTIVE,CAPI_RESP) |
| 82 | #define CAPI_DATA_B3_REQ CAPICMD(CAPI_DATA_B3,CAPI_REQ) |
| 83 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 84 | #define CAPI_DATA_B3_CONF CAPICMD(CAPI_DATA_B3,CAPI_CONF) |
| 85 | #define CAPI_DATA_B3_IND CAPICMD(CAPI_DATA_B3,CAPI_IND) |
| 86 | #define CAPI_DATA_B3_RESP CAPICMD(CAPI_DATA_B3,CAPI_RESP) |
| 87 | #define CAPI_DISCONNECT_B3_REQ CAPICMD(CAPI_DISCONNECT_B3,CAPI_REQ) |
| 88 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 89 | #define CAPI_DISCONNECT_B3_CONF CAPICMD(CAPI_DISCONNECT_B3,CAPI_CONF) |
| 90 | #define CAPI_DISCONNECT_B3_IND CAPICMD(CAPI_DISCONNECT_B3,CAPI_IND) |
| 91 | #define CAPI_DISCONNECT_B3_RESP CAPICMD(CAPI_DISCONNECT_B3,CAPI_RESP) |
| 92 | #define CAPI_RESET_B3_REQ CAPICMD(CAPI_RESET_B3,CAPI_REQ) |
| 93 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 94 | #define CAPI_RESET_B3_CONF CAPICMD(CAPI_RESET_B3,CAPI_CONF) |
| 95 | #define CAPI_RESET_B3_IND CAPICMD(CAPI_RESET_B3,CAPI_IND) |
| 96 | #define CAPI_RESET_B3_RESP CAPICMD(CAPI_RESET_B3,CAPI_RESP) |
| 97 | #define CAPI_LISTEN_REQ CAPICMD(CAPI_LISTEN,CAPI_REQ) |
| 98 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 99 | #define CAPI_LISTEN_CONF CAPICMD(CAPI_LISTEN,CAPI_CONF) |
| 100 | #define CAPI_MANUFACTURER_REQ CAPICMD(CAPI_MANUFACTURER,CAPI_REQ) |
| 101 | #define CAPI_MANUFACTURER_CONF CAPICMD(CAPI_MANUFACTURER,CAPI_CONF) |
| 102 | #define CAPI_MANUFACTURER_IND CAPICMD(CAPI_MANUFACTURER,CAPI_IND) |
| 103 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 104 | #define CAPI_MANUFACTURER_RESP CAPICMD(CAPI_MANUFACTURER,CAPI_RESP) |
| 105 | #define CAPI_FACILITY_REQ CAPICMD(CAPI_FACILITY,CAPI_REQ) |
| 106 | #define CAPI_FACILITY_CONF CAPICMD(CAPI_FACILITY,CAPI_CONF) |
| 107 | #define CAPI_FACILITY_IND CAPICMD(CAPI_FACILITY,CAPI_IND) |
| 108 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 109 | #define CAPI_FACILITY_RESP CAPICMD(CAPI_FACILITY,CAPI_RESP) |
| 110 | #define CAPI_INFO_REQ CAPICMD(CAPI_INFO,CAPI_REQ) |
| 111 | #define CAPI_INFO_CONF CAPICMD(CAPI_INFO,CAPI_CONF) |
| 112 | #define CAPI_INFO_IND CAPICMD(CAPI_INFO,CAPI_IND) |
| 113 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 114 | #define CAPI_INFO_RESP CAPICMD(CAPI_INFO,CAPI_RESP) |
| 115 | #endif |