driver_hostap.h File Reference

Go to the source code of this file.

Classes

struct  prism2_download_param::prism2_download_area
struct  prism2_download_param
struct  prism2_hostapd_param

Defines

#define HOSTAP_CRYPT_ALG_NAME_LEN   16
#define HOSTAP_CRYPT_ERR_CARD_CONF_FAILED   7
#define HOSTAP_CRYPT_ERR_CRYPT_INIT_FAILED   4
#define HOSTAP_CRYPT_ERR_KEY_SET_FAILED   5
#define HOSTAP_CRYPT_ERR_TX_KEY_SET_FAILED   6
#define HOSTAP_CRYPT_ERR_UNKNOWN_ADDR   3
#define HOSTAP_CRYPT_ERR_UNKNOWN_ALG   2
#define HOSTAP_CRYPT_FLAG_PERMANENT   BIT(1)
#define HOSTAP_CRYPT_FLAG_SET_TX_KEY   BIT(0)
#define MLME_STA_DEAUTH   0
#define MLME_STA_DISASSOC   1
#define PRISM2_HOSTAPD_GENERIC_ELEMENT_HDR_LEN   ((size_t) (&((struct prism2_hostapd_param *) 0)->u.generic_elem.data))
#define PRISM2_HOSTAPD_MAX_BUF_SIZE   1024
#define PRISM2_HOSTAPD_RID_HDR_LEN   ((size_t) (&((struct prism2_hostapd_param *) 0)->u.rid.data))
#define PRISM2_IOCTL_ADDMAC   (SIOCIWFIRSTPRIV + 18)
#define PRISM2_IOCTL_DELMAC   (SIOCIWFIRSTPRIV + 20)
#define PRISM2_IOCTL_DOWNLOAD   (SIOCDEVPRIVATE + 13)
#define PRISM2_IOCTL_GET_PRISM2_PARAM   (SIOCIWFIRSTPRIV + 1)
#define PRISM2_IOCTL_HOSTAPD   (SIOCDEVPRIVATE + 14)
#define PRISM2_IOCTL_INQUIRE   (SIOCIWFIRSTPRIV + 8)
#define PRISM2_IOCTL_KICKMAC   (SIOCIWFIRSTPRIV + 22)
#define PRISM2_IOCTL_MACCMD   (SIOCIWFIRSTPRIV + 16)
#define PRISM2_IOCTL_MONITOR   (SIOCIWFIRSTPRIV + 4)
#define PRISM2_IOCTL_PRISM2_PARAM   (SIOCIWFIRSTPRIV + 0)
#define PRISM2_IOCTL_READMIF   (SIOCIWFIRSTPRIV + 3)
#define PRISM2_IOCTL_RESET   (SIOCIWFIRSTPRIV + 6)
#define PRISM2_IOCTL_SET_RID_WORD   (SIOCIWFIRSTPRIV + 14)
#define PRISM2_IOCTL_WDS_ADD   (SIOCIWFIRSTPRIV + 10)
#define PRISM2_IOCTL_WDS_DEL   (SIOCIWFIRSTPRIV + 12)
#define PRISM2_IOCTL_WRITEMIF   (SIOCIWFIRSTPRIV + 2)
#define PRISM2_MAX_DOWNLOAD_AREA_LEN   131072
#define PRISM2_MAX_DOWNLOAD_LEN   262144

Enumerations

enum  {
  PRISM2_PARAM_TXRATECTRL = 2, PRISM2_PARAM_BEACON_INT = 3, PRISM2_PARAM_PSEUDO_IBSS = 4, PRISM2_PARAM_ALC = 5,
  PRISM2_PARAM_DUMP = 7, PRISM2_PARAM_OTHER_AP_POLICY = 8, PRISM2_PARAM_AP_MAX_INACTIVITY = 9, PRISM2_PARAM_AP_BRIDGE_PACKETS = 10,
  PRISM2_PARAM_DTIM_PERIOD = 11, PRISM2_PARAM_AP_NULLFUNC_ACK = 12, PRISM2_PARAM_MAX_WDS = 13, PRISM2_PARAM_AP_AUTOM_AP_WDS = 14,
  PRISM2_PARAM_AP_AUTH_ALGS = 15, PRISM2_PARAM_MONITOR_ALLOW_FCSERR = 16, PRISM2_PARAM_HOST_ENCRYPT = 17, PRISM2_PARAM_HOST_DECRYPT = 18,
  PRISM2_PARAM_BUS_MASTER_THRESHOLD_RX = 19, PRISM2_PARAM_BUS_MASTER_THRESHOLD_TX = 20, PRISM2_PARAM_HOST_ROAMING = 21, PRISM2_PARAM_BCRX_STA_KEY = 22,
  PRISM2_PARAM_IEEE_802_1X = 23, PRISM2_PARAM_ANTSEL_TX = 24, PRISM2_PARAM_ANTSEL_RX = 25, PRISM2_PARAM_MONITOR_TYPE = 26,
  PRISM2_PARAM_WDS_TYPE = 27, PRISM2_PARAM_HOSTSCAN = 28, PRISM2_PARAM_AP_SCAN = 29, PRISM2_PARAM_ENH_SEC = 30,
  PRISM2_PARAM_IO_DEBUG = 31, PRISM2_PARAM_BASIC_RATES = 32, PRISM2_PARAM_OPER_RATES = 33, PRISM2_PARAM_HOSTAPD = 34,
  PRISM2_PARAM_HOSTAPD_STA = 35, PRISM2_PARAM_WPA = 36, PRISM2_PARAM_PRIVACY_INVOKED = 37, PRISM2_PARAM_TKIP_COUNTERMEASURES = 38,
  PRISM2_PARAM_DROP_UNENCRYPTED = 39, PRISM2_PARAM_SCAN_CHANNEL_MASK = 40
}
enum  { HOSTAP_ANTSEL_DO_NOT_TOUCH = 0, HOSTAP_ANTSEL_DIVERSITY = 1, HOSTAP_ANTSEL_LOW = 2, HOSTAP_ANTSEL_HIGH = 3 }
enum  {
  AP_MAC_CMD_POLICY_OPEN = 0, AP_MAC_CMD_POLICY_ALLOW = 1, AP_MAC_CMD_POLICY_DENY = 2, AP_MAC_CMD_FLUSH = 3,
  AP_MAC_CMD_KICKALL = 4
}
enum  {
  PRISM2_DOWNLOAD_VOLATILE = 1, PRISM2_DOWNLOAD_NON_VOLATILE = 3, PRISM2_DOWNLOAD_VOLATILE_GENESIS = 4, PRISM2_DOWNLOAD_VOLATILE_PERSISTENT = 5,
  PRISM2_DOWNLOAD_VOLATILE_GENESIS_PERSISTENT = 6
}
enum  {
  PRISM2_HOSTAPD_FLUSH = 1, PRISM2_HOSTAPD_ADD_STA = 2, PRISM2_HOSTAPD_REMOVE_STA = 3, PRISM2_HOSTAPD_GET_INFO_STA = 4,
  PRISM2_SET_ENCRYPTION = 6, PRISM2_GET_ENCRYPTION = 7, PRISM2_HOSTAPD_SET_FLAGS_STA = 8, PRISM2_HOSTAPD_GET_RID = 9,
  PRISM2_HOSTAPD_SET_RID = 10, PRISM2_HOSTAPD_SET_ASSOC_AP_ADDR = 11, PRISM2_HOSTAPD_SET_GENERIC_ELEMENT = 12, PRISM2_HOSTAPD_MLME = 13,
  PRISM2_HOSTAPD_SCAN_REQ = 14, PRISM2_HOSTAPD_STA_CLEAR_STATS = 15
}

Define Documentation

#define HOSTAP_CRYPT_ALG_NAME_LEN   16

Definition at line 156 of file driver_hostap.h.

#define HOSTAP_CRYPT_ERR_CARD_CONF_FAILED   7

Definition at line 214 of file driver_hostap.h.

#define HOSTAP_CRYPT_ERR_CRYPT_INIT_FAILED   4

Definition at line 211 of file driver_hostap.h.

#define HOSTAP_CRYPT_ERR_KEY_SET_FAILED   5

Definition at line 212 of file driver_hostap.h.

#define HOSTAP_CRYPT_ERR_TX_KEY_SET_FAILED   6

Definition at line 213 of file driver_hostap.h.

#define HOSTAP_CRYPT_ERR_UNKNOWN_ADDR   3

Definition at line 210 of file driver_hostap.h.

#define HOSTAP_CRYPT_ERR_UNKNOWN_ALG   2

Definition at line 209 of file driver_hostap.h.

#define HOSTAP_CRYPT_FLAG_PERMANENT   BIT(1)

Definition at line 207 of file driver_hostap.h.

#define HOSTAP_CRYPT_FLAG_SET_TX_KEY   BIT(0)

Definition at line 206 of file driver_hostap.h.

#define MLME_STA_DEAUTH   0

Definition at line 194 of file driver_hostap.h.

#define MLME_STA_DISASSOC   1

Definition at line 195 of file driver_hostap.h.

#define PRISM2_HOSTAPD_GENERIC_ELEMENT_HDR_LEN   ((size_t) (&((struct prism2_hostapd_param *) 0)->u.generic_elem.data))

Definition at line 151 of file driver_hostap.h.

#define PRISM2_HOSTAPD_MAX_BUF_SIZE   1024

Definition at line 148 of file driver_hostap.h.

#define PRISM2_HOSTAPD_RID_HDR_LEN   ((size_t) (&((struct prism2_hostapd_param *) 0)->u.rid.data))

Definition at line 149 of file driver_hostap.h.

#define PRISM2_IOCTL_ADDMAC   (SIOCIWFIRSTPRIV + 18)

Definition at line 34 of file driver_hostap.h.

#define PRISM2_IOCTL_DELMAC   (SIOCIWFIRSTPRIV + 20)

Definition at line 35 of file driver_hostap.h.

#define PRISM2_IOCTL_DOWNLOAD   (SIOCDEVPRIVATE + 13)

Definition at line 40 of file driver_hostap.h.

#define PRISM2_IOCTL_GET_PRISM2_PARAM   (SIOCIWFIRSTPRIV + 1)

Definition at line 24 of file driver_hostap.h.

#define PRISM2_IOCTL_HOSTAPD   (SIOCDEVPRIVATE + 14)

Definition at line 41 of file driver_hostap.h.

#define PRISM2_IOCTL_INQUIRE   (SIOCIWFIRSTPRIV + 8)

Definition at line 29 of file driver_hostap.h.

#define PRISM2_IOCTL_KICKMAC   (SIOCIWFIRSTPRIV + 22)

Definition at line 36 of file driver_hostap.h.

#define PRISM2_IOCTL_MACCMD   (SIOCIWFIRSTPRIV + 16)

Definition at line 33 of file driver_hostap.h.

#define PRISM2_IOCTL_MONITOR   (SIOCIWFIRSTPRIV + 4)

Definition at line 27 of file driver_hostap.h.

#define PRISM2_IOCTL_PRISM2_PARAM   (SIOCIWFIRSTPRIV + 0)

Definition at line 23 of file driver_hostap.h.

#define PRISM2_IOCTL_READMIF   (SIOCIWFIRSTPRIV + 3)

Definition at line 26 of file driver_hostap.h.

#define PRISM2_IOCTL_RESET   (SIOCIWFIRSTPRIV + 6)

Definition at line 28 of file driver_hostap.h.

#define PRISM2_IOCTL_SET_RID_WORD   (SIOCIWFIRSTPRIV + 14)

Definition at line 32 of file driver_hostap.h.

#define PRISM2_IOCTL_WDS_ADD   (SIOCIWFIRSTPRIV + 10)

Definition at line 30 of file driver_hostap.h.

#define PRISM2_IOCTL_WDS_DEL   (SIOCIWFIRSTPRIV + 12)

Definition at line 31 of file driver_hostap.h.

#define PRISM2_IOCTL_WRITEMIF   (SIOCIWFIRSTPRIV + 2)

Definition at line 25 of file driver_hostap.h.

#define PRISM2_MAX_DOWNLOAD_AREA_LEN   131072

Definition at line 125 of file driver_hostap.h.

#define PRISM2_MAX_DOWNLOAD_LEN   262144

Definition at line 126 of file driver_hostap.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
PRISM2_PARAM_TXRATECTRL 
PRISM2_PARAM_BEACON_INT 
PRISM2_PARAM_PSEUDO_IBSS 
PRISM2_PARAM_ALC 
PRISM2_PARAM_DUMP 
PRISM2_PARAM_OTHER_AP_POLICY 
PRISM2_PARAM_AP_MAX_INACTIVITY 
PRISM2_PARAM_AP_BRIDGE_PACKETS 
PRISM2_PARAM_DTIM_PERIOD 
PRISM2_PARAM_AP_NULLFUNC_ACK 
PRISM2_PARAM_MAX_WDS 
PRISM2_PARAM_AP_AUTOM_AP_WDS 
PRISM2_PARAM_AP_AUTH_ALGS 
PRISM2_PARAM_MONITOR_ALLOW_FCSERR 
PRISM2_PARAM_HOST_ENCRYPT 
PRISM2_PARAM_HOST_DECRYPT 
PRISM2_PARAM_BUS_MASTER_THRESHOLD_RX 
PRISM2_PARAM_BUS_MASTER_THRESHOLD_TX 
PRISM2_PARAM_HOST_ROAMING 
PRISM2_PARAM_BCRX_STA_KEY 
PRISM2_PARAM_IEEE_802_1X 
PRISM2_PARAM_ANTSEL_TX 
PRISM2_PARAM_ANTSEL_RX 
PRISM2_PARAM_MONITOR_TYPE 
PRISM2_PARAM_WDS_TYPE 
PRISM2_PARAM_HOSTSCAN 
PRISM2_PARAM_AP_SCAN 
PRISM2_PARAM_ENH_SEC 
PRISM2_PARAM_IO_DEBUG 
PRISM2_PARAM_BASIC_RATES 
PRISM2_PARAM_OPER_RATES 
PRISM2_PARAM_HOSTAPD 
PRISM2_PARAM_HOSTAPD_STA 
PRISM2_PARAM_WPA 
PRISM2_PARAM_PRIVACY_INVOKED 
PRISM2_PARAM_TKIP_COUNTERMEASURES 
PRISM2_PARAM_DROP_UNENCRYPTED 
PRISM2_PARAM_SCAN_CHANNEL_MASK 

Definition at line 45 of file driver_hostap.h.

anonymous enum
Enumerator:
HOSTAP_ANTSEL_DO_NOT_TOUCH 
HOSTAP_ANTSEL_DIVERSITY 
HOSTAP_ANTSEL_LOW 
HOSTAP_ANTSEL_HIGH 

Definition at line 88 of file driver_hostap.h.

anonymous enum
Enumerator:
AP_MAC_CMD_POLICY_OPEN 
AP_MAC_CMD_POLICY_ALLOW 
AP_MAC_CMD_POLICY_DENY 
AP_MAC_CMD_FLUSH 
AP_MAC_CMD_KICKALL 

Definition at line 93 of file driver_hostap.h.

anonymous enum
Enumerator:
PRISM2_DOWNLOAD_VOLATILE 
PRISM2_DOWNLOAD_NON_VOLATILE 
PRISM2_DOWNLOAD_VOLATILE_GENESIS 
PRISM2_DOWNLOAD_VOLATILE_PERSISTENT 
PRISM2_DOWNLOAD_VOLATILE_GENESIS_PERSISTENT 

Definition at line 99 of file driver_hostap.h.

anonymous enum
Enumerator:
PRISM2_HOSTAPD_FLUSH 
PRISM2_HOSTAPD_ADD_STA 
PRISM2_HOSTAPD_REMOVE_STA 
PRISM2_HOSTAPD_GET_INFO_STA 
PRISM2_SET_ENCRYPTION 
PRISM2_GET_ENCRYPTION 
PRISM2_HOSTAPD_SET_FLAGS_STA 
PRISM2_HOSTAPD_GET_RID 
PRISM2_HOSTAPD_SET_RID 
PRISM2_HOSTAPD_SET_ASSOC_AP_ADDR 
PRISM2_HOSTAPD_SET_GENERIC_ELEMENT 
PRISM2_HOSTAPD_MLME 
PRISM2_HOSTAPD_SCAN_REQ 
PRISM2_HOSTAPD_STA_CLEAR_STATS 

Definition at line 130 of file driver_hostap.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:01:50 2013