events.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 "wpa_supplicant_i.h"
#include "driver_i.h"
#include "pcsc_funcs.h"
#include "rsn_supp/preauth.h"
#include "rsn_supp/pmksa_cache.h"
#include "common/wpa_ctrl.h"
#include "eap_peer/eap.h"
#include "ap/hostapd.h"
#include "notify.h"
#include "common/ieee802_11_defs.h"
#include "blacklist.h"
#include "wpas_glue.h"
#include "wps_supplicant.h"
#include "ibss_rsn.h"
#include "sme.h"
#include "bgscan.h"
#include "ap.h"
#include "bss.h"
#include "scan.h"
#include "../../src/nodes/wpa_supplicant_node.h"
Include dependency graph for events.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void wpa_find_assoc_pmkid (struct wpa_supplicant *wpa_s)
void wpa_supplicant_connect (struct wpa_supplicant *wpa_s, struct wpa_bss *selected, struct wpa_ssid *ssid)
static int wpa_supplicant_dynamic_keys (struct wpa_supplicant *wpa_s)
void wpa_supplicant_event (void *ctx, enum wpa_event_type event, union wpa_event_data *data)
static void wpa_supplicant_event_assoc (struct wpa_supplicant *wpa_s, union wpa_event_data *data)
static int wpa_supplicant_event_associnfo (struct wpa_supplicant *wpa_s, union wpa_event_data *data)
static void wpa_supplicant_event_disassoc (struct wpa_supplicant *wpa_s, u16 reason_code)
static void wpa_supplicant_event_interface_status (struct wpa_supplicant *wpa_s, union wpa_event_data *data)
static void wpa_supplicant_event_michael_mic_failure (struct wpa_supplicant *wpa_s, union wpa_event_data *data)
static void wpa_supplicant_event_pmkid_candidate (struct wpa_supplicant *wpa_s, union wpa_event_data *data)
static void wpa_supplicant_event_scan_results (struct wpa_supplicant *wpa_s, union wpa_event_data *data)
void wpa_supplicant_mark_disassoc (struct wpa_supplicant *wpa_s)
static void wpa_supplicant_req_new_scan (struct wpa_supplicant *wpa_s, int timeout_sec, int timeout_usec)
static void wpa_supplicant_rsn_preauth_scan_results (struct wpa_supplicant *wpa_s, struct wpa_scan_results *scan_res)
int wpa_supplicant_scard_init (struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
static int wpa_supplicant_select_config (struct wpa_supplicant *wpa_s)
static void wpa_supplicant_stop_countermeasures (void *eloop_ctx, void *sock_ctx)

Function Documentation

static void wpa_find_assoc_pmkid ( struct wpa_supplicant wpa_s  )  [static]

Definition at line 128 of file events.c.

void wpa_supplicant_connect ( struct wpa_supplicant wpa_s,
struct wpa_bss selected,
struct wpa_ssid ssid 
)

Definition at line 731 of file events.c.

static int wpa_supplicant_dynamic_keys ( struct wpa_supplicant wpa_s  )  [static]

Definition at line 172 of file events.c.

void wpa_supplicant_event ( void *  ctx,
enum wpa_event_type  event,
union wpa_event_data data 
)

wpa_supplicant_event - Report a driver event for wpa_supplicant : Context pointer (wpa_s); this is the ctx variable registered with struct wpa_driver_ops::init() : event type (defined above) : possible extra data for the event

Driver wrapper code should call this function whenever an event is received from the driver.

Definition at line 1597 of file events.c.

static void wpa_supplicant_event_assoc ( struct wpa_supplicant wpa_s,
union wpa_event_data data 
) [static]

Definition at line 1118 of file events.c.

static int wpa_supplicant_event_associnfo ( struct wpa_supplicant wpa_s,
union wpa_event_data data 
) [static]

Definition at line 984 of file events.c.

static void wpa_supplicant_event_disassoc ( struct wpa_supplicant wpa_s,
u16  reason_code 
) [static]

Definition at line 1281 of file events.c.

static void wpa_supplicant_event_interface_status ( struct wpa_supplicant wpa_s,
union wpa_event_data data 
) [static]

Definition at line 1467 of file events.c.

static void wpa_supplicant_event_michael_mic_failure ( struct wpa_supplicant wpa_s,
union wpa_event_data data 
) [static]

Definition at line 1363 of file events.c.

static void wpa_supplicant_event_pmkid_candidate ( struct wpa_supplicant wpa_s,
union wpa_event_data data 
) [static]

Definition at line 153 of file events.c.

static void wpa_supplicant_event_scan_results ( struct wpa_supplicant wpa_s,
union wpa_event_data data 
) [static]

Definition at line 889 of file events.c.

void wpa_supplicant_mark_disassoc ( struct wpa_supplicant wpa_s  ) 

Definition at line 108 of file events.c.

static void wpa_supplicant_req_new_scan ( struct wpa_supplicant wpa_s,
int  timeout_sec,
int  timeout_usec 
) [static]

Definition at line 707 of file events.c.

static void wpa_supplicant_rsn_preauth_scan_results ( struct wpa_supplicant wpa_s,
struct wpa_scan_results scan_res 
) [static]

Definition at line 787 of file events.c.

int wpa_supplicant_scard_init ( struct wpa_supplicant wpa_s,
struct wpa_ssid ssid 
)

wpa_supplicant_scard_init - Initialize SIM/USIM access with PC/SC : pointer to wpa_supplicant data : Configuration data for the network Returns: 0 on success, -1 on failure

This function is called when starting authentication with a network that is configured to use PC/SC for SIM/USIM access (EAP-SIM or EAP-AKA).

Definition at line 203 of file events.c.

static int wpa_supplicant_select_config ( struct wpa_supplicant wpa_s  )  [static]

Definition at line 45 of file events.c.

static void wpa_supplicant_stop_countermeasures ( void *  eloop_ctx,
void *  sock_ctx 
) [static]

Definition at line 94 of file events.c.

 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:02:10 2013