wimax.h revision 96c1db7b9d601c31d103389cac074a6cce0d7633
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>
22enum {
23  WIMAX_GNL_VERSION = 01,
24  WIMAX_GNL_ATTR_INVALID = 0x00,
25  WIMAX_GNL_ATTR_MAX = 10,
26};
27enum {
28  WIMAX_GNL_OP_MSG_FROM_USER,
29  WIMAX_GNL_OP_MSG_TO_USER,
30  WIMAX_GNL_OP_RFKILL,
31  WIMAX_GNL_OP_RESET,
32  WIMAX_GNL_RE_STATE_CHANGE,
33  WIMAX_GNL_OP_STATE_GET,
34};
35enum {
36  WIMAX_GNL_MSG_IFIDX = 1,
37  WIMAX_GNL_MSG_PIPE_NAME,
38  WIMAX_GNL_MSG_DATA,
39};
40enum wimax_rf_state {
41  WIMAX_RF_OFF = 0,
42  WIMAX_RF_ON = 1,
43  WIMAX_RF_QUERY = 2,
44};
45enum {
46  WIMAX_GNL_RFKILL_IFIDX = 1,
47  WIMAX_GNL_RFKILL_STATE,
48};
49enum {
50  WIMAX_GNL_RESET_IFIDX = 1,
51};
52enum {
53  WIMAX_GNL_STGET_IFIDX = 1,
54};
55enum {
56  WIMAX_GNL_STCH_IFIDX = 1,
57  WIMAX_GNL_STCH_STATE_OLD,
58  WIMAX_GNL_STCH_STATE_NEW,
59};
60enum wimax_st {
61  __WIMAX_ST_NULL = 0,
62  WIMAX_ST_DOWN,
63  __WIMAX_ST_QUIESCING,
64  WIMAX_ST_UNINITIALIZED,
65  WIMAX_ST_RADIO_OFF,
66  WIMAX_ST_READY,
67  WIMAX_ST_SCANNING,
68  WIMAX_ST_CONNECTING,
69  WIMAX_ST_CONNECTED,
70  __WIMAX_ST_INVALID
71};
72#endif
73