$search

wpas_glue.c File Reference

#include "includes.h"
#include "common.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "rsn_supp/wpa.h"
#include "eloop.h"
#include "config.h"
#include "l2_packet/l2_packet.h"
#include "common/wpa_common.h"
#include "wpa_supplicant_i.h"
#include "driver_i.h"
#include "rsn_supp/pmksa_cache.h"
#include "mlme.h"
#include "sme.h"
#include "common/ieee802_11_defs.h"
#include "common/wpa_ctrl.h"
#include "wpas_glue.h"
#include "wps_supplicant.h"
#include "bss.h"
#include "scan.h"
Include dependency graph for wpas_glue.c:

Go to the source code of this file.

Functions

static u8_wpa_alloc_eapol (void *wpa_s, u8 type, const void *data, u16 data_len, size_t *msg_len, void **data_pos)
static int _wpa_ether_send (void *wpa_s, const u8 *dest, u16 proto, const u8 *buf, size_t len)
static void _wpa_supplicant_cancel_auth_timeout (void *wpa_s)
static void _wpa_supplicant_deauthenticate (void *wpa_s, int reason_code)
static void _wpa_supplicant_disassociate (void *wpa_s, int reason_code)
static enum wpa_states _wpa_supplicant_get_state (void *wpa_s)
static void _wpa_supplicant_set_state (void *wpa_s, enum wpa_states state)
static u8wpa_alloc_eapol (const struct wpa_supplicant *wpa_s, u8 type, const void *data, u16 data_len, size_t *msg_len, void **data_pos)
static int wpa_ether_send (struct wpa_supplicant *wpa_s, const u8 *dest, u16 proto, const u8 *buf, size_t len)
static int wpa_get_beacon_ie (struct wpa_supplicant *wpa_s)
static int wpa_supplicant_add_pmkid (void *wpa_s, const u8 *bssid, const u8 *pmkid)
static int wpa_supplicant_get_beacon_ie (void *ctx)
static int wpa_supplicant_get_bssid (void *ctx, u8 *bssid)
static struct wpa_config_blobwpa_supplicant_get_config_blob (void *ctx, const char *name)
static void * wpa_supplicant_get_network_ctx (void *wpa_s)
static enum wpa_states wpa_supplicant_get_state (struct wpa_supplicant *wpa_s)
int wpa_supplicant_init_eapol (struct wpa_supplicant *wpa_s)
int wpa_supplicant_init_wpa (struct wpa_supplicant *wpa_s)
static int wpa_supplicant_mlme_setprotection (void *wpa_s, const u8 *addr, int protection_type, int key_type)
static int wpa_supplicant_remove_pmkid (void *wpa_s, const u8 *bssid, const u8 *pmkid)
void wpa_supplicant_rsn_supp_set_config (struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
static void wpa_supplicant_set_config_blob (void *ctx, struct wpa_config_blob *blob)
static int wpa_supplicant_set_key (void *_wpa_s, 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)

Function Documentation

static u8* _wpa_alloc_eapol ( void *  wpa_s,
u8  type,
const void *  data,
u16  data_len,
size_t *  msg_len,
void **  data_pos 
) [static]

Definition at line 354 of file wpas_glue.c.

static int _wpa_ether_send ( void *  wpa_s,
const u8 dest,
u16  proto,
const u8 buf,
size_t  len 
) [static]

Definition at line 362 of file wpas_glue.c.

static void _wpa_supplicant_cancel_auth_timeout ( void *  wpa_s  )  [static]

Definition at line 369 of file wpas_glue.c.

static void _wpa_supplicant_deauthenticate ( void *  wpa_s,
int  reason_code 
) [static]

Definition at line 406 of file wpas_glue.c.

static void _wpa_supplicant_disassociate ( void *  wpa_s,
int  reason_code 
) [static]

Definition at line 398 of file wpas_glue.c.

static enum wpa_states _wpa_supplicant_get_state ( void *  wpa_s  )  [static]

Definition at line 392 of file wpas_glue.c.

static void _wpa_supplicant_set_state ( void *  wpa_s,
enum wpa_states  state 
) [static]

Definition at line 375 of file wpas_glue.c.

static u8* wpa_alloc_eapol ( const struct wpa_supplicant wpa_s,
u8  type,
const void *  data,
u16  data_len,
size_t *  msg_len,
void **  data_pos 
) [static]

Definition at line 65 of file wpas_glue.c.

static int wpa_ether_send ( struct wpa_supplicant wpa_s,
const u8 dest,
u16  proto,
const u8 buf,
size_t  len 
) [static]

wpa_ether_send - Send Ethernet frame : Pointer to wpa_supplicant data : Destination MAC address : Ethertype in host byte order : Frame payload starting from IEEE 802.1X header : Frame payload length Returns: >=0 on success, <0 on failure

Definition at line 101 of file wpas_glue.c.

static int wpa_get_beacon_ie ( struct wpa_supplicant wpa_s  )  [static]

Definition at line 303 of file wpas_glue.c.

static int wpa_supplicant_add_pmkid ( void *  wpa_s,
const u8 bssid,
const u8 pmkid 
) [static]

Definition at line 455 of file wpas_glue.c.

static int wpa_supplicant_get_beacon_ie ( void *  ctx  )  [static]

Definition at line 338 of file wpas_glue.c.

static int wpa_supplicant_get_bssid ( void *  ctx,
u8 bssid 
) [static]

Definition at line 420 of file wpas_glue.c.

static struct wpa_config_blob* wpa_supplicant_get_config_blob ( void *  ctx,
const char *  name 
) [static, read]

Definition at line 55 of file wpas_glue.c.

static void* wpa_supplicant_get_network_ctx ( void *  wpa_s  )  [static]

Definition at line 414 of file wpas_glue.c.

static enum wpa_states wpa_supplicant_get_state ( struct wpa_supplicant wpa_s  )  [static]

wpa_supplicant_get_state - Get the connection state : Pointer to wpa_supplicant data Returns: The current connection state (WPA_*)

Definition at line 386 of file wpas_glue.c.

int wpa_supplicant_init_eapol ( struct wpa_supplicant wpa_s  ) 

Definition at line 570 of file wpas_glue.c.

int wpa_supplicant_init_wpa ( struct wpa_supplicant wpa_s  ) 

Definition at line 611 of file wpas_glue.c.

static int wpa_supplicant_mlme_setprotection ( void *  wpa_s,
const u8 addr,
int  protection_type,
int  key_type 
) [static]

Definition at line 446 of file wpas_glue.c.

static int wpa_supplicant_remove_pmkid ( void *  wpa_s,
const u8 bssid,
const u8 pmkid 
) [static]

Definition at line 462 of file wpas_glue.c.

void wpa_supplicant_rsn_supp_set_config ( struct wpa_supplicant wpa_s,
struct wpa_ssid ssid 
)

Definition at line 659 of file wpas_glue.c.

static void wpa_supplicant_set_config_blob ( void *  ctx,
struct wpa_config_blob blob 
) [static]

Definition at line 39 of file wpas_glue.c.

static int wpa_supplicant_set_key ( void *  _wpa_s,
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 431 of file wpas_glue.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Mar 1 16:00:50 2013