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

Go to the source code of this file.

Macros

#define AUTH_ALG_OPEN_SYSTEM   0x01
 
#define AUTH_ALG_SHARED_KEY   0x02
 
#define AUTH_ALG_LEAP   0x04
 
#define GENERIC_INFO_ELEM   0xdd
 
#define RSN_INFO_ELEM   0x30
 

Typedefs

typedef unsigned long long NDIS_802_11_KEY_RSC
 

Enumerations

enum  wpa_alg {
  WPA_ALG_NONE, WPA_ALG_WEP, WPA_ALG_TKIP, WPA_ALG_CCMP,
  WPA_ALG_NONE, WPA_ALG_WEP, WPA_ALG_TKIP, WPA_ALG_CCMP
}
 
enum  wpa_cipher {
  CIPHER_NONE, CIPHER_WEP40, CIPHER_TKIP, CIPHER_CCMP,
  CIPHER_WEP104, CIPHER_NONE, CIPHER_WEP40, CIPHER_TKIP,
  CIPHER_CCMP, CIPHER_WEP104
}
 
enum  wpa_key_mgmt {
  KEY_MGMT_802_1X, KEY_MGMT_CCKM, KEY_MGMT_PSK, KEY_MGMT_NONE,
  KEY_MGMT_802_1X_NO_WPA, KEY_MGMT_WPA_NONE, KEY_MGMT_802_1X, KEY_MGMT_PSK,
  KEY_MGMT_NONE, KEY_MGMT_802_1X_NO_WPA, KEY_MGMT_WPA_NONE, KEY_MGMT_CCKM
}
 

Functions

int wpa_set_wpadev (PSDevice pDevice, int val)
 
int wpa_ioctl (PSDevice pDevice, struct iw_point *p)
 
int wpa_set_keys (PSDevice pDevice, void *ctx, bool fcpfkernel)
 

Macro Definition Documentation

#define AUTH_ALG_LEAP   0x04

Definition at line 50 of file wpactl.h.

#define AUTH_ALG_OPEN_SYSTEM   0x01

Definition at line 48 of file wpactl.h.

#define AUTH_ALG_SHARED_KEY   0x02

Definition at line 49 of file wpactl.h.

#define GENERIC_INFO_ELEM   0xdd

Definition at line 52 of file wpactl.h.

#define RSN_INFO_ELEM   0x30

Definition at line 53 of file wpactl.h.

Typedef Documentation

typedef unsigned long long NDIS_802_11_KEY_RSC

Definition at line 57 of file wpactl.h.

Enumeration Type Documentation

enum wpa_alg
Enumerator:
WPA_ALG_NONE 
WPA_ALG_WEP 
WPA_ALG_TKIP 
WPA_ALG_CCMP 
WPA_ALG_NONE 
WPA_ALG_WEP 
WPA_ALG_TKIP 
WPA_ALG_CCMP 

Definition at line 42 of file wpactl.h.

enum wpa_cipher
Enumerator:
CIPHER_NONE 
CIPHER_WEP40 
CIPHER_TKIP 
CIPHER_CCMP 
CIPHER_WEP104 
CIPHER_NONE 
CIPHER_WEP40 
CIPHER_TKIP 
CIPHER_CCMP 
CIPHER_WEP104 

Definition at line 43 of file wpactl.h.

Enumerator:
KEY_MGMT_802_1X 
KEY_MGMT_CCKM 
KEY_MGMT_PSK 
KEY_MGMT_NONE 
KEY_MGMT_802_1X_NO_WPA 
KEY_MGMT_WPA_NONE 
KEY_MGMT_802_1X 
KEY_MGMT_PSK 
KEY_MGMT_NONE 
KEY_MGMT_802_1X_NO_WPA 
KEY_MGMT_WPA_NONE 
KEY_MGMT_CCKM 

Definition at line 45 of file wpactl.h.

Function Documentation

int wpa_ioctl ( PSDevice  pDevice,
struct iw_point p 
)

Definition at line 904 of file wpactl.c.

int wpa_set_keys ( PSDevice  pDevice,
void ctx,
bool  fcpfkernel 
)

Definition at line 202 of file wpactl.c.

int wpa_set_wpadev ( PSDevice  pDevice,
int  val 
)

Definition at line 179 of file wpactl.c.