Classes | Defines | Typedefs | Enumerations | Functions | Variables
driver_ndis.c File Reference
#include "includes.h"
#include <Packet32.h>
#include <ntddndis.h>
#include "common.h"
#include "driver.h"
#include "eloop.h"
#include "common/ieee802_11_defs.h"
#include "driver_ndis.h"
Include dependency graph for driver_ndis.c:

Go to the source code of this file.

Classes

struct  _DOT11_SCAN_REQUEST_V2
struct  BSSID_INFO
struct  NDIS_802_11_AI_REQFI
struct  NDIS_802_11_AI_RESFI
struct  NDIS_802_11_ASSOCIATION_INFORMATION
struct  NDIS_802_11_AUTHENTICATION_ENCRYPTION
struct  NDIS_802_11_AUTHENTICATION_REQUEST
struct  NDIS_802_11_BSSID_LIST_EX
struct  NDIS_802_11_CAPABILITY
struct  NDIS_802_11_CONFIGURATION
struct  NDIS_802_11_CONFIGURATION_FH
struct  NDIS_802_11_FIXED_IEs
struct  NDIS_802_11_KEY
struct  NDIS_802_11_PMKID
struct  NDIS_802_11_PMKID_CANDIDATE_LIST
struct  NDIS_802_11_REMOVE_KEY
struct  NDIS_802_11_SSID
struct  NDIS_802_11_STATUS_INDICATION
struct  NDIS_802_11_WEP
struct  NDIS_WLAN_BSSID_EX
struct  PMKID_CANDIDATE

Defines

#define MAX_ADAPTERS   32
#define NDIS_802_11_AUTH_REQUEST_GROUP_ERROR   0x0E
#define NDIS_802_11_AUTH_REQUEST_KEYUPDATE   0x02
#define NDIS_802_11_AUTH_REQUEST_PAIRWISE_ERROR   0x06
#define NDIS_802_11_AUTH_REQUEST_REAUTH   0x01
#define NDIS_802_11_LENGTH_RATES   8
#define NDIS_802_11_LENGTH_RATES_EX   16
#define NDIS_802_11_LENGTH_SSID   32
#define NDIS_802_11_PMKID_CANDIDATE_PREAUTH_ENABLED   0x01
#define OID_802_11_ADD_KEY   0x0d01011D
#define OID_802_11_ADD_WEP   0x0D010113
#define OID_802_11_ASSOCIATION_INFORMATION   0x0d01011F
#define OID_802_11_AUTHENTICATION_MODE   0x0d010118
#define OID_802_11_BSSID   0x0d010101
#define OID_802_11_BSSID_LIST   0x0d010217
#define OID_802_11_BSSID_LIST_SCAN   0x0d01011A
#define OID_802_11_CAPABILITY   0x0d010122
#define OID_802_11_DISASSOCIATE   0x0D010115
#define OID_802_11_ENCRYPTION_STATUS   OID_802_11_WEP_STATUS
#define OID_802_11_INFRASTRUCTURE_MODE   0x0d010108
#define OID_802_11_PMKID   0x0d010123
#define OID_802_11_PRIVACY_FILTER   0x0d010119
#define OID_802_11_REMOVE_KEY   0x0d01011E
#define OID_802_11_REMOVE_WEP   0x0D010114
#define OID_802_11_SSID   0x0d010102
#define OID_802_11_TEST   0x0d010120
#define OID_802_11_WEP_STATUS   0x0d01011B
#define OID_DOT11_CURRENT_OPERATION_MODE   (OID_DOT11_NDIS_START + 8)
#define OID_DOT11_NDIS_START   0x0D010300
#define OID_DOT11_SCAN_REQUEST   (OID_DOT11_NDIS_START + 11)

Typedefs

typedef struct BSSID_INFO BSSID_INFO
typedef enum _DOT11_BSS_TYPE DOT11_BSS_TYPE
typedef UCHAR DOT11_MAC_ADDRESS [6]
typedef struct
_DOT11_SCAN_REQUEST_V2 
DOT11_SCAN_REQUEST_V2
typedef enum _DOT11_SCAN_TYPE DOT11_SCAN_TYPE
typedef struct NDIS_802_11_AI_REQFI NDIS_802_11_AI_REQFI
typedef struct NDIS_802_11_AI_RESFI NDIS_802_11_AI_RESFI
typedef struct
NDIS_802_11_ASSOCIATION_INFORMATION 
NDIS_802_11_ASSOCIATION_INFORMATION
typedef struct
NDIS_802_11_AUTHENTICATION_ENCRYPTION 
NDIS_802_11_AUTHENTICATION_ENCRYPTION
typedef enum
NDIS_802_11_AUTHENTICATION_MODE 
NDIS_802_11_AUTHENTICATION_MODE
typedef struct
NDIS_802_11_AUTHENTICATION_REQUEST 
NDIS_802_11_AUTHENTICATION_REQUEST
typedef struct
NDIS_802_11_BSSID_LIST_EX 
NDIS_802_11_BSSID_LIST_EX
typedef struct
NDIS_802_11_CAPABILITY 
NDIS_802_11_CAPABILITY
typedef struct
NDIS_802_11_CONFIGURATION 
NDIS_802_11_CONFIGURATION
typedef struct
NDIS_802_11_CONFIGURATION_FH 
NDIS_802_11_CONFIGURATION_FH
typedef enum NDIS_802_11_WEP_STATUS NDIS_802_11_ENCRYPTION_STATUS
typedef struct
NDIS_802_11_FIXED_IEs 
NDIS_802_11_FIXED_IEs
typedef struct NDIS_802_11_KEY NDIS_802_11_KEY
typedef ULONG NDIS_802_11_KEY_INDEX
typedef ULONGLONG NDIS_802_11_KEY_RSC
typedef UCHAR NDIS_802_11_MAC_ADDRESS [6]
typedef enum
NDIS_802_11_NETWORK_INFRASTRUCTURE 
NDIS_802_11_NETWORK_INFRASTRUCTURE
typedef enum
NDIS_802_11_NETWORK_TYPE 
NDIS_802_11_NETWORK_TYPE
typedef struct NDIS_802_11_PMKID NDIS_802_11_PMKID
typedef struct
NDIS_802_11_PMKID_CANDIDATE_LIST 
NDIS_802_11_PMKID_CANDIDATE_LIST
typedef UCHAR NDIS_802_11_PMKID_VALUE [16]
typedef enum
NDIS_802_11_PRIVACY_FILTER 
NDIS_802_11_PRIVACY_FILTER
typedef UCHAR NDIS_802_11_RATES [NDIS_802_11_LENGTH_RATES]
typedef UCHAR NDIS_802_11_RATES_EX [NDIS_802_11_LENGTH_RATES_EX]
typedef struct
NDIS_802_11_REMOVE_KEY 
NDIS_802_11_REMOVE_KEY
typedef LONG NDIS_802_11_RSSI
typedef struct NDIS_802_11_SSID NDIS_802_11_SSID
typedef struct
NDIS_802_11_STATUS_INDICATION 
NDIS_802_11_STATUS_INDICATION
typedef enum
NDIS_802_11_STATUS_TYPE 
NDIS_802_11_STATUS_TYPE
typedef struct NDIS_802_11_WEP NDIS_802_11_WEP
typedef enum NDIS_802_11_WEP_STATUS NDIS_802_11_WEP_STATUS
typedef struct NDIS_WLAN_BSSID_EX NDIS_WLAN_BSSID_EX
typedef enum _DOT11_BSS_TYPEPDOT11_BSS_TYPE
typedef DOT11_MAC_ADDRESSPDOT11_MAC_ADDRESS
typedef struct
_DOT11_SCAN_REQUEST_V2
PDOT11_SCAN_REQUEST_V2
typedef enum _DOT11_SCAN_TYPEPDOT11_SCAN_TYPE
typedef struct PMKID_CANDIDATE PMKID_CANDIDATE

Enumerations

enum  _DOT11_BSS_TYPE { dot11_BSS_type_infrastructure = 1, dot11_BSS_type_independent = 2, dot11_BSS_type_any = 3 }
enum  _DOT11_SCAN_TYPE { dot11_scan_type_active = 1, dot11_scan_type_passive = 2, dot11_scan_type_auto = 3, dot11_scan_type_forced = 0x80000000 }
enum  NDIS_802_11_AUTHENTICATION_MODE {
  Ndis802_11AuthModeOpen, Ndis802_11AuthModeShared, Ndis802_11AuthModeAutoSwitch, Ndis802_11AuthModeWPA,
  Ndis802_11AuthModeWPAPSK, Ndis802_11AuthModeWPANone, Ndis802_11AuthModeWPA2, Ndis802_11AuthModeWPA2PSK,
  Ndis802_11AuthModeMax
}
enum  NDIS_802_11_NETWORK_INFRASTRUCTURE { Ndis802_11IBSS, Ndis802_11Infrastructure, Ndis802_11AutoUnknown, Ndis802_11InfrastructureMax }
enum  NDIS_802_11_NETWORK_TYPE {
  Ndis802_11FH, Ndis802_11DS, Ndis802_11OFDM5, Ndis802_11OFDM24,
  Ndis802_11NetworkTypeMax
}
enum  NDIS_802_11_PRIVACY_FILTER { Ndis802_11PrivFilterAcceptAll, Ndis802_11PrivFilter8021xWEP }
enum  NDIS_802_11_STATUS_TYPE { Ndis802_11StatusType_Authentication, Ndis802_11StatusType_PMKID_CandidateList = 2, Ndis802_11StatusTypeMax }
enum  NDIS_802_11_WEP_STATUS {
  Ndis802_11WEPEnabled, Ndis802_11Encryption1Enabled = Ndis802_11WEPEnabled, Ndis802_11WEPDisabled, Ndis802_11EncryptionDisabled = Ndis802_11WEPDisabled,
  Ndis802_11WEPKeyAbsent, Ndis802_11Encryption1KeyAbsent = Ndis802_11WEPKeyAbsent, Ndis802_11WEPNotSupported, Ndis802_11EncryptionNotSupported = Ndis802_11WEPNotSupported,
  Ndis802_11Encryption2Enabled, Ndis802_11Encryption2KeyAbsent, Ndis802_11Encryption3Enabled, Ndis802_11Encryption3KeyAbsent
}

Functions

static int ndis_add_multicast (struct wpa_driver_ndis_data *drv)
static int ndis_get_auth_mode (struct wpa_driver_ndis_data *drv)
static int ndis_get_encr_status (struct wpa_driver_ndis_data *drv)
static int ndis_get_oid (struct wpa_driver_ndis_data *drv, unsigned int oid, char *data, size_t len)
static int ndis_set_auth_mode (struct wpa_driver_ndis_data *drv, int mode)
static int ndis_set_encr_status (struct wpa_driver_ndis_data *drv, int encr)
static int ndis_set_oid (struct wpa_driver_ndis_data *drv, unsigned int oid, const char *data, size_t len)
static void wpa_driver_ndis_adapter_close (struct wpa_driver_ndis_data *drv)
static int wpa_driver_ndis_adapter_init (struct wpa_driver_ndis_data *drv)
static int wpa_driver_ndis_adapter_open (struct wpa_driver_ndis_data *drv)
static int wpa_driver_ndis_add_pmkid (void *priv, const u8 *bssid, const u8 *pmkid)
static struct wpa_scan_reswpa_driver_ndis_add_scan_ssid (struct wpa_scan_res *r, NDIS_802_11_SSID *ssid)
static int wpa_driver_ndis_add_wep (struct wpa_driver_ndis_data *drv, int pairwise, int key_idx, int set_tx, const u8 *key, size_t key_len)
static int wpa_driver_ndis_associate (void *priv, struct wpa_driver_associate_params *params)
static int wpa_driver_ndis_deauthenticate (void *priv, const u8 *addr, int reason_code)
static void wpa_driver_ndis_deinit (void *priv)
static int wpa_driver_ndis_disassociate (void *priv, const u8 *addr, int reason_code)
static int wpa_driver_ndis_disconnect (struct wpa_driver_ndis_data *drv)
void wpa_driver_ndis_event_adapter_arrival (struct wpa_driver_ndis_data *drv)
void wpa_driver_ndis_event_adapter_removal (struct wpa_driver_ndis_data *drv)
static void wpa_driver_ndis_event_auth (struct wpa_driver_ndis_data *drv, const u8 *data, size_t data_len)
void wpa_driver_ndis_event_connect (struct wpa_driver_ndis_data *drv)
void wpa_driver_ndis_event_disconnect (struct wpa_driver_ndis_data *drv)
void wpa_driver_ndis_event_media_specific (struct wpa_driver_ndis_data *drv, const u8 *data, size_t data_len)
static void wpa_driver_ndis_event_pmkid (struct wpa_driver_ndis_data *drv, const u8 *data, size_t data_len)
static int wpa_driver_ndis_flush_pmkid (void *priv)
static int wpa_driver_ndis_get_associnfo (struct wpa_driver_ndis_data *drv)
static int wpa_driver_ndis_get_bssid (void *priv, u8 *bssid)
static int wpa_driver_ndis_get_capa (void *priv, struct wpa_driver_capa *capa)
static void wpa_driver_ndis_get_capability (struct wpa_driver_ndis_data *drv)
static const char * wpa_driver_ndis_get_ifname (void *priv)
static struct wpa_interface_infowpa_driver_ndis_get_interfaces (void *global_priv)
static const u8 * wpa_driver_ndis_get_mac_addr (void *priv)
static int wpa_driver_ndis_get_names (struct wpa_driver_ndis_data *drv)
static struct wpa_scan_resultswpa_driver_ndis_get_scan_results (void *priv)
static int wpa_driver_ndis_get_ssid (void *priv, u8 *ssid)
static void wpa_driver_ndis_get_wpa_capability (struct wpa_driver_ndis_data *drv)
static void * wpa_driver_ndis_init (void *ctx, const char *ifname)
static void wpa_driver_ndis_poll (void *drv)
static void wpa_driver_ndis_poll_timeout (void *eloop_ctx, void *timeout_ctx)
static int wpa_driver_ndis_radio_off (struct wpa_driver_ndis_data *drv)
static int wpa_driver_ndis_remove_key (struct wpa_driver_ndis_data *drv, int key_idx, const u8 *addr, const u8 *bssid, int pairwise)
static int wpa_driver_ndis_remove_pmkid (void *priv, const u8 *bssid, const u8 *pmkid)
static int wpa_driver_ndis_scan (void *priv, struct wpa_driver_scan_params *params)
static int wpa_driver_ndis_scan_native80211 (struct wpa_driver_ndis_data *drv, struct wpa_driver_scan_params *params)
static void wpa_driver_ndis_scan_timeout (void *eloop_ctx, void *timeout_ctx)
static int wpa_driver_ndis_set_key (const char *ifname, void *priv, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len)
static int wpa_driver_ndis_set_pmkid (struct wpa_driver_ndis_data *drv)
static int wpa_driver_ndis_set_ssid (struct wpa_driver_ndis_data *drv, const u8 *ssid, size_t ssid_len)
static int wpa_driver_ndis_set_wzc (struct wpa_driver_ndis_data *drv, int enable)
int wpa_driver_register_event_cb (struct wpa_driver_ndis_data *drv)
static const u8 * wpa_scan_get_ie (const struct wpa_scan_res *res, u8 ie)

Variables

static const u8 pae_group_addr [ETH_ALEN]
struct wpa_driver_ops wpa_driver_ndis_ops

Define Documentation

#define MAX_ADAPTERS   32

Definition at line 297 of file driver_ndis.c.

Definition at line 295 of file driver_ndis.c.

Definition at line 296 of file driver_ndis.c.

Definition at line 294 of file driver_ndis.c.

#define NDIS_802_11_LENGTH_RATES   8

Definition at line 86 of file driver_ndis.c.

#define NDIS_802_11_LENGTH_RATES_EX   16

Definition at line 87 of file driver_ndis.c.

#define NDIS_802_11_LENGTH_SSID   32

Definition at line 85 of file driver_ndis.c.

Definition at line 280 of file driver_ndis.c.

#define OID_802_11_ADD_KEY   0x0d01011D

Definition at line 78 of file driver_ndis.c.

#define OID_802_11_ADD_WEP   0x0D010113

Definition at line 69 of file driver_ndis.c.

#define OID_802_11_ASSOCIATION_INFORMATION   0x0d01011F

Definition at line 80 of file driver_ndis.c.

#define OID_802_11_AUTHENTICATION_MODE   0x0d010118

Definition at line 73 of file driver_ndis.c.

#define OID_802_11_BSSID   0x0d010101

Definition at line 66 of file driver_ndis.c.

#define OID_802_11_BSSID_LIST   0x0d010217

Definition at line 72 of file driver_ndis.c.

#define OID_802_11_BSSID_LIST_SCAN   0x0d01011A

Definition at line 75 of file driver_ndis.c.

#define OID_802_11_CAPABILITY   0x0d010122

Definition at line 82 of file driver_ndis.c.

#define OID_802_11_DISASSOCIATE   0x0D010115

Definition at line 71 of file driver_ndis.c.

Definition at line 77 of file driver_ndis.c.

#define OID_802_11_INFRASTRUCTURE_MODE   0x0d010108

Definition at line 68 of file driver_ndis.c.

#define OID_802_11_PMKID   0x0d010123

Definition at line 83 of file driver_ndis.c.

#define OID_802_11_PRIVACY_FILTER   0x0d010119

Definition at line 74 of file driver_ndis.c.

#define OID_802_11_REMOVE_KEY   0x0d01011E

Definition at line 79 of file driver_ndis.c.

#define OID_802_11_REMOVE_WEP   0x0D010114

Definition at line 70 of file driver_ndis.c.

#define OID_802_11_SSID   0x0d010102

Definition at line 67 of file driver_ndis.c.

#define OID_802_11_TEST   0x0d010120

Definition at line 81 of file driver_ndis.c.

#define OID_802_11_WEP_STATUS   0x0d01011B

Definition at line 76 of file driver_ndis.c.

Definition at line 359 of file driver_ndis.c.

#define OID_DOT11_NDIS_START   0x0D010300

Definition at line 358 of file driver_ndis.c.

Definition at line 360 of file driver_ndis.c.


Typedef Documentation

typedef struct BSSID_INFO BSSID_INFO
typedef UCHAR DOT11_MAC_ADDRESS[6]

Definition at line 368 of file driver_ndis.c.

typedef ULONG NDIS_802_11_KEY_INDEX

Definition at line 196 of file driver_ndis.c.

typedef ULONGLONG NDIS_802_11_KEY_RSC

Definition at line 197 of file driver_ndis.c.

typedef UCHAR NDIS_802_11_MAC_ADDRESS[6]

Definition at line 89 of file driver_ndis.c.

typedef UCHAR NDIS_802_11_PMKID_VALUE[16]

Definition at line 252 of file driver_ndis.c.

Definition at line 160 of file driver_ndis.c.

Definition at line 161 of file driver_ndis.c.

typedef LONG NDIS_802_11_RSSI

Definition at line 96 of file driver_ndis.c.

Definition at line 369 of file driver_ndis.c.


Enumeration Type Documentation

Enumerator:
dot11_BSS_type_infrastructure 
dot11_BSS_type_independent 
dot11_BSS_type_any 

Definition at line 362 of file driver_ndis.c.

Enumerator:
dot11_scan_type_active 
dot11_scan_type_passive 
dot11_scan_type_auto 
dot11_scan_type_forced 

Definition at line 371 of file driver_ndis.c.

Enumerator:
Ndis802_11AuthModeOpen 
Ndis802_11AuthModeShared 
Ndis802_11AuthModeAutoSwitch 
Ndis802_11AuthModeWPA 
Ndis802_11AuthModeWPAPSK 
Ndis802_11AuthModeWPANone 
Ndis802_11AuthModeWPA2 
Ndis802_11AuthModeWPA2PSK 
Ndis802_11AuthModeMax 

Definition at line 128 of file driver_ndis.c.

Enumerator:
Ndis802_11IBSS 
Ndis802_11Infrastructure 
Ndis802_11AutoUnknown 
Ndis802_11InfrastructureMax 

Definition at line 121 of file driver_ndis.c.

Enumerator:
Ndis802_11FH 
Ndis802_11DS 
Ndis802_11OFDM5 
Ndis802_11OFDM24 
Ndis802_11NetworkTypeMax 

Definition at line 98 of file driver_ndis.c.

Enumerator:
Ndis802_11PrivFilterAcceptAll 
Ndis802_11PrivFilter8021xWEP 

Definition at line 155 of file driver_ndis.c.

Enumerator:
Ndis802_11StatusType_Authentication 
Ndis802_11StatusType_PMKID_CandidateList 
Ndis802_11StatusTypeMax 

Definition at line 265 of file driver_ndis.c.

Enumerator:
Ndis802_11WEPEnabled 
Ndis802_11Encryption1Enabled 
Ndis802_11WEPDisabled 
Ndis802_11EncryptionDisabled 
Ndis802_11WEPKeyAbsent 
Ndis802_11Encryption1KeyAbsent 
Ndis802_11WEPNotSupported 
Ndis802_11EncryptionNotSupported 
Ndis802_11Encryption2Enabled 
Ndis802_11Encryption2KeyAbsent 
Ndis802_11Encryption3Enabled 
Ndis802_11Encryption3KeyAbsent 

Definition at line 140 of file driver_ndis.c.


Function Documentation

static int ndis_add_multicast ( struct wpa_driver_ndis_data drv) [static]

Definition at line 2785 of file driver_ndis.c.

static int ndis_get_auth_mode ( struct wpa_driver_ndis_data drv) [static]

Definition at line 606 of file driver_ndis.c.

static int ndis_get_encr_status ( struct wpa_driver_ndis_data drv) [static]

Definition at line 634 of file driver_ndis.c.

static int ndis_get_oid ( struct wpa_driver_ndis_data drv,
unsigned int  oid,
char *  data,
size_t  len 
) [static]

Definition at line 456 of file driver_ndis.c.

static int ndis_set_auth_mode ( struct wpa_driver_ndis_data drv,
int  mode 
) [static]

Definition at line 592 of file driver_ndis.c.

static int ndis_set_encr_status ( struct wpa_driver_ndis_data drv,
int  encr 
) [static]

Definition at line 621 of file driver_ndis.c.

static int ndis_set_oid ( struct wpa_driver_ndis_data drv,
unsigned int  oid,
const char *  data,
size_t  len 
) [static]

Definition at line 531 of file driver_ndis.c.

static void wpa_driver_ndis_adapter_close ( struct wpa_driver_ndis_data drv) [static]

Definition at line 2772 of file driver_ndis.c.

static int wpa_driver_ndis_adapter_init ( struct wpa_driver_ndis_data drv) [static]

Definition at line 2683 of file driver_ndis.c.

static int wpa_driver_ndis_adapter_open ( struct wpa_driver_ndis_data drv) [static]

Definition at line 2720 of file driver_ndis.c.

static int wpa_driver_ndis_add_pmkid ( void *  priv,
const u8 *  bssid,
const u8 *  pmkid 
) [static]

Definition at line 1221 of file driver_ndis.c.

static struct wpa_scan_res* wpa_driver_ndis_add_scan_ssid ( struct wpa_scan_res r,
NDIS_802_11_SSID ssid 
) [static, read]

Definition at line 814 of file driver_ndis.c.

static int wpa_driver_ndis_add_wep ( struct wpa_driver_ndis_data drv,
int  pairwise,
int  key_idx,
int  set_tx,
const u8 *  key,
size_t  key_len 
) [static]

Definition at line 959 of file driver_ndis.c.

static int wpa_driver_ndis_associate ( void *  priv,
struct wpa_driver_associate_params params 
) [static]

Definition at line 1064 of file driver_ndis.c.

static int wpa_driver_ndis_deauthenticate ( void *  priv,
const u8 *  addr,
int  reason_code 
) [static]

Definition at line 726 of file driver_ndis.c.

static void wpa_driver_ndis_deinit ( void *  priv) [static]

Definition at line 2916 of file driver_ndis.c.

static int wpa_driver_ndis_disassociate ( void *  priv,
const u8 *  addr,
int  reason_code 
) [static]

Definition at line 734 of file driver_ndis.c.

static int wpa_driver_ndis_disconnect ( struct wpa_driver_ndis_data drv) [static]

Definition at line 716 of file driver_ndis.c.

Definition at line 1625 of file driver_ndis.c.

Definition at line 1655 of file driver_ndis.c.

static void wpa_driver_ndis_event_auth ( struct wpa_driver_ndis_data drv,
const u8 *  data,
size_t  data_len 
) [static]

Definition at line 1515 of file driver_ndis.c.

Definition at line 1495 of file driver_ndis.c.

Definition at line 1507 of file driver_ndis.c.

void wpa_driver_ndis_event_media_specific ( struct wpa_driver_ndis_data drv,
const u8 *  data,
size_t  data_len 
)

Definition at line 1594 of file driver_ndis.c.

static void wpa_driver_ndis_event_pmkid ( struct wpa_driver_ndis_data drv,
const u8 *  data,
size_t  data_len 
) [static]

Definition at line 1549 of file driver_ndis.c.

static int wpa_driver_ndis_flush_pmkid ( void *  priv) [static]

Definition at line 1290 of file driver_ndis.c.

static int wpa_driver_ndis_get_associnfo ( struct wpa_driver_ndis_data drv) [static]

Definition at line 1330 of file driver_ndis.c.

static int wpa_driver_ndis_get_bssid ( void *  priv,
u8 *  bssid 
) [static]

Definition at line 649 of file driver_ndis.c.

static int wpa_driver_ndis_get_capa ( void *  priv,
struct wpa_driver_capa capa 
) [static]

Definition at line 1823 of file driver_ndis.c.

static void wpa_driver_ndis_get_capability ( struct wpa_driver_ndis_data drv) [static]

Definition at line 1735 of file driver_ndis.c.

static const char* wpa_driver_ndis_get_ifname ( void *  priv) [static]

Definition at line 1833 of file driver_ndis.c.

static struct wpa_interface_info* wpa_driver_ndis_get_interfaces ( void *  global_priv) [static, read]

Definition at line 2955 of file driver_ndis.c.

static const u8* wpa_driver_ndis_get_mac_addr ( void *  priv) [static]

Definition at line 1840 of file driver_ndis.c.

static int wpa_driver_ndis_get_names ( struct wpa_driver_ndis_data drv) [static]

Definition at line 2012 of file driver_ndis.c.

static struct wpa_scan_results* wpa_driver_ndis_get_scan_results ( void *  priv) [static, read]

Definition at line 840 of file driver_ndis.c.

static int wpa_driver_ndis_get_ssid ( void *  priv,
u8 *  ssid 
) [static]

Definition at line 667 of file driver_ndis.c.

static void wpa_driver_ndis_get_wpa_capability ( struct wpa_driver_ndis_data drv) [static]

Definition at line 1669 of file driver_ndis.c.

static void* wpa_driver_ndis_init ( void *  ctx,
const char *  ifname 
) [static]

Definition at line 2798 of file driver_ndis.c.

static void wpa_driver_ndis_poll ( void *  drv) [static]

Definition at line 1485 of file driver_ndis.c.

static void wpa_driver_ndis_poll_timeout ( void *  eloop_ctx,
void *  timeout_ctx 
) [static]

Definition at line 1441 of file driver_ndis.c.

static int wpa_driver_ndis_radio_off ( struct wpa_driver_ndis_data drv) [static]

Definition at line 708 of file driver_ndis.c.

static int wpa_driver_ndis_remove_key ( struct wpa_driver_ndis_data drv,
int  key_idx,
const u8 *  addr,
const u8 *  bssid,
int  pairwise 
) [static]

Definition at line 928 of file driver_ndis.c.

static int wpa_driver_ndis_remove_pmkid ( void *  priv,
const u8 *  bssid,
const u8 *  pmkid 
) [static]

Definition at line 1262 of file driver_ndis.c.

static int wpa_driver_ndis_scan ( void *  priv,
struct wpa_driver_scan_params params 
) [static]

Definition at line 769 of file driver_ndis.c.

static int wpa_driver_ndis_scan_native80211 ( struct wpa_driver_ndis_data drv,
struct wpa_driver_scan_params params 
) [static]

Definition at line 749 of file driver_ndis.c.

static void wpa_driver_ndis_scan_timeout ( void *  eloop_ctx,
void *  timeout_ctx 
) [static]

Definition at line 742 of file driver_ndis.c.

static int wpa_driver_ndis_set_key ( const char *  ifname,
void *  priv,
enum wpa_alg  alg,
const u8 *  addr,
int  key_idx,
int  set_tx,
const u8 *  seq,
size_t  seq_len,
const u8 *  key,
size_t  key_len 
) [static]

Definition at line 992 of file driver_ndis.c.

static int wpa_driver_ndis_set_pmkid ( struct wpa_driver_ndis_data drv) [static]

Definition at line 1187 of file driver_ndis.c.

static int wpa_driver_ndis_set_ssid ( struct wpa_driver_ndis_data drv,
const u8 *  ssid,
size_t  ssid_len 
) [static]

Definition at line 688 of file driver_ndis.c.

static int wpa_driver_ndis_set_wzc ( struct wpa_driver_ndis_data drv,
int  enable 
) [static]

Definition at line 2659 of file driver_ndis.c.

static const u8* wpa_scan_get_ie ( const struct wpa_scan_res res,
u8  ie 
) [static]

Definition at line 795 of file driver_ndis.c.


Variable Documentation

const u8 pae_group_addr[ETH_ALEN] [static]
Initial value:
{ 0x01, 0x80, 0xc2, 0x00, 0x00, 0x03 }

Definition at line 59 of file driver_ndis.c.

Definition at line 3188 of file driver_ndis.c.



wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:37