Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
iocmd.h File Reference
#include "ttype.h"

Go to the source code of this file.

Data Structures

struct  tagSCmdRequest
 
struct  tagSCmdScan
 
struct  tagSCmdBSSJoin
 
struct  tagSCmdZoneTypeSet
 
struct  tagSWPAResult
 
struct  tagSCmdStartAP
 
struct  tagSCmdSetWEP
 
struct  tagSBSSIDItem
 
struct  tagSBSSIDList
 
struct  tagSNodeItem
 
struct  tagSNodeList
 
struct  tagSCmdLinkStatus
 
struct  tagSDot11MIBCount
 
struct  tagSStatMIBCount
 
struct  tagSCmdValue
 
struct  viawget_hostapd_param
 

Macros

#define MAGIC_CODE   0x3142
 
#define IOCTL_CMD_TEST   (SIOCDEVPRIVATE + 0)
 
#define IOCTL_CMD_SET   (SIOCDEVPRIVATE + 1)
 
#define IOCTL_CMD_HOSTAPD   (SIOCDEVPRIVATE + 2)
 
#define IOCTL_CMD_WPA   (SIOCDEVPRIVATE + 3)
 
#define ADHOC   0
 
#define INFRA   1
 
#define BOTH   2
 
#define AP   3
 
#define ADHOC_STARTED   1
 
#define ADHOC_JOINTED   2
 
#define PHY80211a   0
 
#define PHY80211b   1
 
#define PHY80211g   2
 
#define SSID_ID   0
 
#define SSID_MAXLEN   32
 
#define BSSID_LEN   6
 
#define WEP_NKEYS   4
 
#define WEP_KEYMAXLEN   29
 
#define WEP_40BIT_LEN   5
 
#define WEP_104BIT_LEN   13
 
#define WEP_232BIT_LEN   16
 
#define VIAWGET_HOSTAPD_GENERIC_ELEMENT_HDR_LEN   ((int) (&((struct viawget_hostapd_param *) 0)->u.generic_elem.data))
 

Typedefs

typedef enum tagWMAC_CMD WMAC_CMD
 
typedef enum tagWMAC_CMDPWMAC_CMD
 
typedef enum tagWZONETYPE WZONETYPE
 
typedef struct tagSCmdRequest SCmdRequest
 
typedef struct tagSCmdRequestPSCmdRequest
 
typedef struct tagSCmdScan SCmdScan
 
typedef struct tagSCmdScanPSCmdScan
 
typedef struct tagSCmdBSSJoin SCmdBSSJoin
 
typedef struct tagSCmdBSSJoinPSCmdBSSJoin
 
typedef struct tagSCmdZoneTypeSet SCmdZoneTypeSet
 
typedef struct tagSCmdZoneTypeSetPSCmdZoneTypeSet
 
typedef struct tagSWPAResult SWPAResult
 
typedef struct tagSWPAResultPSWPAResult
 
typedef struct tagSCmdStartAP SCmdStartAP
 
typedef struct tagSCmdStartAPPSCmdStartAP
 
typedef struct tagSCmdSetWEP SCmdSetWEP
 
typedef struct tagSCmdSetWEPPSCmdSetWEP
 
typedef struct tagSBSSIDItem SBSSIDItem
 
typedef struct tagSBSSIDList SBSSIDList
 
typedef struct tagSBSSIDListPSBSSIDList
 
typedef struct tagSNodeItem SNodeItem
 
typedef struct tagSNodeList SNodeList
 
typedef struct tagSNodeListPSNodeList
 
typedef struct tagSCmdLinkStatus SCmdLinkStatus
 
typedef struct tagSCmdLinkStatusPSCmdLinkStatus
 
typedef struct tagSDot11MIBCount SDot11MIBCount
 
typedef struct tagSDot11MIBCountPSDot11MIBCount
 
typedef struct tagSStatMIBCount SStatMIBCount
 
typedef struct tagSStatMIBCountPSStatMIBCount
 
typedef struct tagSCmdValue SCmdValue
 
typedef struct tagSCmdValuePSCmdValue
 

Enumerations

enum  tagWMAC_CMD {
  WLAN_CMD_BSS_SCAN, WLAN_CMD_BSS_JOIN, WLAN_CMD_DISASSOC, WLAN_CMD_SET_WEP,
  WLAN_CMD_GET_LINK, WLAN_CMD_GET_LISTLEN, WLAN_CMD_GET_LIST, WLAN_CMD_GET_MIB,
  WLAN_CMD_GET_STAT, WLAN_CMD_STOP_MAC, WLAN_CMD_START_MAC, WLAN_CMD_AP_START,
  WLAN_CMD_SET_HOSTAPD, WLAN_CMD_SET_HOSTAPD_STA, WLAN_CMD_SET_802_1X, WLAN_CMD_SET_HOST_WEP,
  WLAN_CMD_SET_WPA, WLAN_CMD_GET_NODE_CNT, WLAN_CMD_ZONETYPE_SET, WLAN_CMD_GET_NODE_LIST,
  WLAN_CMD_BSS_SCAN, WLAN_CMD_BSS_JOIN, WLAN_CMD_DISASSOC, WLAN_CMD_SET_WEP,
  WLAN_CMD_GET_LINK, WLAN_CMD_GET_LISTLEN, WLAN_CMD_GET_LIST, WLAN_CMD_GET_MIB,
  WLAN_CMD_GET_STAT, WLAN_CMD_STOP_MAC, WLAN_CMD_START_MAC, WLAN_CMD_AP_START,
  WLAN_CMD_SET_HOSTAPD, WLAN_CMD_SET_HOSTAPD_STA, WLAN_CMD_SET_802_1X, WLAN_CMD_SET_HOST_WEP,
  WLAN_CMD_SET_WPA, WLAN_CMD_GET_NODE_CNT, WLAN_CMD_ZONETYPE_SET, WLAN_CMD_GET_NODE_LIST
}
 
enum  tagWZONETYPE {
  ZoneType_USA =0, ZoneType_Japan =1, ZoneType_Europe =2, ZoneType_USA = 0,
  ZoneType_Japan = 1, ZoneType_Europe = 2
}
 
enum  {
  VIAWGET_HOSTAPD_FLUSH = 1, VIAWGET_HOSTAPD_ADD_STA = 2, VIAWGET_HOSTAPD_REMOVE_STA = 3, VIAWGET_HOSTAPD_GET_INFO_STA = 4,
  VIAWGET_HOSTAPD_SET_ENCRYPTION = 5, VIAWGET_HOSTAPD_GET_ENCRYPTION = 6, VIAWGET_HOSTAPD_SET_FLAGS_STA = 7, VIAWGET_HOSTAPD_SET_ASSOC_AP_ADDR = 8,
  VIAWGET_HOSTAPD_SET_GENERIC_ELEMENT = 9, VIAWGET_HOSTAPD_MLME = 10, VIAWGET_HOSTAPD_SCAN_REQ = 11, VIAWGET_HOSTAPD_STA_CLEAR_STATS = 12
}
 

Macro Definition Documentation

#define ADHOC   0

Definition at line 74 of file iocmd.h.

#define ADHOC_JOINTED   2

Definition at line 80 of file iocmd.h.

#define ADHOC_STARTED   1

Definition at line 79 of file iocmd.h.

#define AP   3

Definition at line 77 of file iocmd.h.

#define BOTH   2

Definition at line 76 of file iocmd.h.

#define BSSID_LEN   6

Definition at line 88 of file iocmd.h.

#define INFRA   1

Definition at line 75 of file iocmd.h.

#define IOCTL_CMD_HOSTAPD   (SIOCDEVPRIVATE + 2)

Definition at line 40 of file iocmd.h.

#define IOCTL_CMD_SET   (SIOCDEVPRIVATE + 1)

Definition at line 39 of file iocmd.h.

#define IOCTL_CMD_TEST   (SIOCDEVPRIVATE + 0)

Definition at line 38 of file iocmd.h.

#define IOCTL_CMD_WPA   (SIOCDEVPRIVATE + 3)

Definition at line 41 of file iocmd.h.

#define MAGIC_CODE   0x3142

Definition at line 37 of file iocmd.h.

#define PHY80211a   0

Definition at line 82 of file iocmd.h.

#define PHY80211b   1

Definition at line 83 of file iocmd.h.

#define PHY80211g   2

Definition at line 84 of file iocmd.h.

#define SSID_ID   0

Definition at line 86 of file iocmd.h.

#define SSID_MAXLEN   32

Definition at line 87 of file iocmd.h.

#define VIAWGET_HOSTAPD_GENERIC_ELEMENT_HDR_LEN   ((int) (&((struct viawget_hostapd_param *) 0)->u.generic_elem.data))

Definition at line 386 of file iocmd.h.

#define WEP_104BIT_LEN   13

Definition at line 92 of file iocmd.h.

#define WEP_232BIT_LEN   16

Definition at line 93 of file iocmd.h.

#define WEP_40BIT_LEN   5

Definition at line 91 of file iocmd.h.

#define WEP_KEYMAXLEN   29

Definition at line 90 of file iocmd.h.

#define WEP_NKEYS   4

Definition at line 89 of file iocmd.h.

Typedef Documentation

typedef enum tagWMAC_CMD * PWMAC_CMD
typedef enum tagWMAC_CMD WMAC_CMD
typedef enum tagWZONETYPE WZONETYPE

Enumeration Type Documentation

anonymous enum
Enumerator:
VIAWGET_HOSTAPD_FLUSH 
VIAWGET_HOSTAPD_ADD_STA 
VIAWGET_HOSTAPD_REMOVE_STA 
VIAWGET_HOSTAPD_GET_INFO_STA 
VIAWGET_HOSTAPD_SET_ENCRYPTION 
VIAWGET_HOSTAPD_GET_ENCRYPTION 
VIAWGET_HOSTAPD_SET_FLAGS_STA 
VIAWGET_HOSTAPD_SET_ASSOC_AP_ADDR 
VIAWGET_HOSTAPD_SET_GENERIC_ELEMENT 
VIAWGET_HOSTAPD_MLME 
VIAWGET_HOSTAPD_SCAN_REQ 
VIAWGET_HOSTAPD_STA_CLEAR_STATS 

Definition at line 371 of file iocmd.h.

Enumerator:
WLAN_CMD_BSS_SCAN 
WLAN_CMD_BSS_JOIN 
WLAN_CMD_DISASSOC 
WLAN_CMD_SET_WEP 
WLAN_CMD_GET_LINK 
WLAN_CMD_GET_LISTLEN 
WLAN_CMD_GET_LIST 
WLAN_CMD_GET_MIB 
WLAN_CMD_GET_STAT 
WLAN_CMD_STOP_MAC 
WLAN_CMD_START_MAC 
WLAN_CMD_AP_START 
WLAN_CMD_SET_HOSTAPD 
WLAN_CMD_SET_HOSTAPD_STA 
WLAN_CMD_SET_802_1X 
WLAN_CMD_SET_HOST_WEP 
WLAN_CMD_SET_WPA 
WLAN_CMD_GET_NODE_CNT 
WLAN_CMD_ZONETYPE_SET 
WLAN_CMD_GET_NODE_LIST 
WLAN_CMD_BSS_SCAN 
WLAN_CMD_BSS_JOIN 
WLAN_CMD_DISASSOC 
WLAN_CMD_SET_WEP 
WLAN_CMD_GET_LINK 
WLAN_CMD_GET_LISTLEN 
WLAN_CMD_GET_LIST 
WLAN_CMD_GET_MIB 
WLAN_CMD_GET_STAT 
WLAN_CMD_STOP_MAC 
WLAN_CMD_START_MAC 
WLAN_CMD_AP_START 
WLAN_CMD_SET_HOSTAPD 
WLAN_CMD_SET_HOSTAPD_STA 
WLAN_CMD_SET_802_1X 
WLAN_CMD_SET_HOST_WEP 
WLAN_CMD_SET_WPA 
WLAN_CMD_GET_NODE_CNT 
WLAN_CMD_ZONETYPE_SET 
WLAN_CMD_GET_NODE_LIST 

Definition at line 43 of file iocmd.h.

Enumerator:
ZoneType_USA 
ZoneType_Japan 
ZoneType_Europe 
ZoneType_USA 
ZoneType_Japan 
ZoneType_Europe 

Definition at line 68 of file iocmd.h.