Functions
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 "mlme.h"
#include "scan.h"
Include dependency graph for events.c:

Go to the source code of this file.

Functions

static int freq_allowed (int *freqs, int freq)
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 int wpa_supplicant_match_privacy (struct wpa_scan_res *bss, struct wpa_ssid *ssid)
static int wpa_supplicant_need_to_roam (struct wpa_supplicant *wpa_s, struct wpa_bss *selected, struct wpa_ssid *ssid, struct wpa_scan_results *scan_res)
static struct wpa_bsswpa_supplicant_pick_network (struct wpa_supplicant *wpa_s, struct wpa_scan_results *scan_res, struct wpa_ssid **selected_ssid)
static struct wpa_ssidwpa_supplicant_pick_new_network (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 struct wpa_bsswpa_supplicant_select_bss (struct wpa_supplicant *wpa_s, struct wpa_scan_results *scan_res, struct wpa_ssid *group, struct wpa_ssid **selected_ssid)
static struct wpa_bsswpa_supplicant_select_bss_non_wpa (struct wpa_supplicant *wpa_s, struct wpa_scan_results *scan_res, struct wpa_ssid *group, struct wpa_ssid **selected_ssid)
static struct wpa_bsswpa_supplicant_select_bss_wpa (struct wpa_supplicant *wpa_s, struct wpa_scan_results *scan_res, struct wpa_ssid *group, struct wpa_ssid **selected_ssid)
static int wpa_supplicant_select_config (struct wpa_supplicant *wpa_s)
static int wpa_supplicant_ssid_bss_match (struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct wpa_scan_res *bss)
static void wpa_supplicant_stop_countermeasures (void *eloop_ctx, void *sock_ctx)

Function Documentation

static int freq_allowed ( int *  freqs,
int  freq 
) [static]

Definition at line 397 of file events.c.

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 724 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 1582 of file events.c.

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

Definition at line 1107 of file events.c.

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

Definition at line 973 of file events.c.

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

Definition at line 1269 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 1452 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 1348 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 881 of file events.c.

void wpa_supplicant_mark_disassoc ( struct wpa_supplicant wpa_s)

Definition at line 108 of file events.c.

static int wpa_supplicant_match_privacy ( struct wpa_scan_res bss,
struct wpa_ssid ssid 
) [static]

Definition at line 264 of file events.c.

static int wpa_supplicant_need_to_roam ( struct wpa_supplicant wpa_s,
struct wpa_bss selected,
struct wpa_ssid ssid,
struct wpa_scan_results scan_res 
) [static]

Definition at line 807 of file events.c.

static struct wpa_bss* wpa_supplicant_pick_network ( struct wpa_supplicant wpa_s,
struct wpa_scan_results scan_res,
struct wpa_ssid **  selected_ssid 
) [static, read]

Definition at line 671 of file events.c.

static struct wpa_ssid* wpa_supplicant_pick_new_network ( struct wpa_supplicant wpa_s) [static, read]

Definition at line 758 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 700 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 779 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 struct wpa_bss* wpa_supplicant_select_bss ( struct wpa_supplicant wpa_s,
struct wpa_scan_results scan_res,
struct wpa_ssid group,
struct wpa_ssid **  selected_ssid 
) [static, read]

Definition at line 647 of file events.c.

static struct wpa_bss* wpa_supplicant_select_bss_non_wpa ( struct wpa_supplicant wpa_s,
struct wpa_scan_results scan_res,
struct wpa_ssid group,
struct wpa_ssid **  selected_ssid 
) [static, read]

Definition at line 514 of file events.c.

static struct wpa_bss* wpa_supplicant_select_bss_wpa ( struct wpa_supplicant wpa_s,
struct wpa_scan_results scan_res,
struct wpa_ssid group,
struct wpa_ssid **  selected_ssid 
) [static, read]

Definition at line 412 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 int wpa_supplicant_ssid_bss_match ( struct wpa_supplicant wpa_s,
struct wpa_ssid ssid,
struct wpa_scan_res bss 
) [static]

Definition at line 296 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.



wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:26:41