Ajay Dudani | 3fc3b7f | 2012-07-08 01:19:11 -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 _MSM_RMNET_H_ |
| 20 | #define _MSM_RMNET_H_ |
| 21 | #define RMNET_MODE_NONE (0x00) |
| 22 | #define RMNET_MODE_LLP_ETH (0x01) |
| 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 24 | #define RMNET_MODE_LLP_IP (0x02) |
| 25 | #define RMNET_MODE_QOS (0x04) |
| 26 | #define RMNET_MODE_MASK (RMNET_MODE_LLP_ETH | RMNET_MODE_LLP_IP | RMNET_MODE_QOS) |
| 27 | #define RMNET_IS_MODE_QOS(mode) ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS) |
| 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 29 | #define RMNET_IS_MODE_IP(mode) ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP) |
| 30 | enum rmnet_ioctl_cmds_e { |
| 31 | RMNET_IOCTL_SET_LLP_ETHERNET = 0x000089F1, |
| 32 | RMNET_IOCTL_SET_LLP_IP = 0x000089F2, |
| 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 34 | RMNET_IOCTL_GET_LLP = 0x000089F3, |
| 35 | RMNET_IOCTL_SET_QOS_ENABLE = 0x000089F4, |
| 36 | RMNET_IOCTL_SET_QOS_DISABLE = 0x000089F5, |
| 37 | RMNET_IOCTL_GET_QOS = 0x000089F6, |
| 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 39 | RMNET_IOCTL_GET_OPMODE = 0x000089F7, |
| 40 | RMNET_IOCTL_OPEN = 0x000089F8, |
| 41 | RMNET_IOCTL_CLOSE = 0x000089F9, |
| 42 | RMNET_IOCTL_MAX |
| 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 44 | }; |
| 45 | #define QMI_QOS_HDR_S __attribute((__packed__)) qmi_qos_hdr_s |
| 46 | struct QMI_QOS_HDR_S { |
| 47 | unsigned char version; |
| 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 49 | unsigned char flags; |
| 50 | unsigned long flow_id; |
| 51 | }; |
| 52 | #endif |
| 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |