| 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 __LINUX__WIMAX_H__ | 
|  | 20 | #define __LINUX__WIMAX_H__ | 
|  | 21 | #include <linux/types.h> | 
|  | 22 | enum { | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 23 | WIMAX_GNL_VERSION = 01, | 
|  | 24 | WIMAX_GNL_ATTR_INVALID = 0x00, | 
|  | 25 | WIMAX_GNL_ATTR_MAX = 10, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 26 | }; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 27 | enum { | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 28 | WIMAX_GNL_OP_MSG_FROM_USER, | 
|  | 29 | WIMAX_GNL_OP_MSG_TO_USER, | 
|  | 30 | WIMAX_GNL_OP_RFKILL, | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 31 | WIMAX_GNL_OP_RESET, | 
|  | 32 | WIMAX_GNL_RE_STATE_CHANGE, | 
|  | 33 | WIMAX_GNL_OP_STATE_GET, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 34 | }; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 35 | enum { | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 36 | WIMAX_GNL_MSG_IFIDX = 1, | 
|  | 37 | WIMAX_GNL_MSG_PIPE_NAME, | 
|  | 38 | WIMAX_GNL_MSG_DATA, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 39 | }; | 
|  | 40 | enum wimax_rf_state { | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 41 | WIMAX_RF_OFF = 0, | 
|  | 42 | WIMAX_RF_ON = 1, | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 43 | WIMAX_RF_QUERY = 2, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 44 | }; | 
|  | 45 | enum { | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 46 | WIMAX_GNL_RFKILL_IFIDX = 1, | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 47 | WIMAX_GNL_RFKILL_STATE, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 48 | }; | 
|  | 49 | enum { | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 50 | WIMAX_GNL_RESET_IFIDX = 1, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 51 | }; | 
|  | 52 | enum { | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 53 | WIMAX_GNL_STGET_IFIDX = 1, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 54 | }; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 55 | enum { | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 56 | WIMAX_GNL_STCH_IFIDX = 1, | 
|  | 57 | WIMAX_GNL_STCH_STATE_OLD, | 
|  | 58 | WIMAX_GNL_STCH_STATE_NEW, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 59 | }; | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 60 | enum wimax_st { | 
|  | 61 | __WIMAX_ST_NULL = 0, | 
|  | 62 | WIMAX_ST_DOWN, | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 63 | __WIMAX_ST_QUIESCING, | 
|  | 64 | WIMAX_ST_UNINITIALIZED, | 
|  | 65 | WIMAX_ST_RADIO_OFF, | 
|  | 66 | WIMAX_ST_READY, | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 67 | WIMAX_ST_SCANNING, | 
|  | 68 | WIMAX_ST_CONNECTING, | 
|  | 69 | WIMAX_ST_CONNECTED, | 
|  | 70 | __WIMAX_ST_INVALID | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 71 | }; | 
|  | 72 | #endif |