wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
events.c File Reference

WPA Supplicant - Driver event processing. More...

#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 "p2p/p2p.h"
#include "fst/fst.h"
#include "wnm_sta.h"
#include "notify.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "crypto/random.h"
#include "blacklist.h"
#include "wpas_glue.h"
#include "wps_supplicant.h"
#include "ibss_rsn.h"
#include "sme.h"
#include "gas_query.h"
#include "p2p_supplicant.h"
#include "bgscan.h"
#include "autoscan.h"
#include "ap.h"
#include "bss.h"
#include "scan.h"
#include "offchannel.h"
#include "interworking.h"
#include "mesh.h"
#include "mesh_mpm.h"
#include "wmm_ac.h"

Functions

void wpas_network_reenabled (void *eloop_ctx, void *timeout_ctx)
 
void wpa_supplicant_stop_countermeasures (void *eloop_ctx, void *sock_ctx)
 
void wpa_supplicant_mark_disassoc (struct wpa_supplicant *wpa_s)
 
int wpa_supplicant_scard_init (struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
 Initialize SIM/USIM access with PC/SC. More...
 
struct wpa_bsswpa_supplicant_pick_network (struct wpa_supplicant *wpa_s, struct wpa_ssid **selected_ssid)
 
int wpa_supplicant_connect (struct wpa_supplicant *wpa_s, struct wpa_bss *selected, struct wpa_ssid *ssid)
 
int wpa_supplicant_fast_associate (struct wpa_supplicant *wpa_s)
 
void wnm_bss_keep_alive_deinit (struct wpa_supplicant *wpa_s)
 
void wpa_supplicant_event (void *ctx, enum wpa_event_type event, union wpa_event_data *data)
 Report a driver event for wpa_supplicant. More...
 

Detailed Description

WPA Supplicant - Driver event processing.

Function Documentation

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

Report a driver event for wpa_supplicant.

Parameters
ctxContext pointer (wpa_s); this is the ctx variable registered with struct wpa_driver_ops::init()
eventevent type (defined above)
datapossible extra data for the event

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

int wpa_supplicant_scard_init ( struct wpa_supplicant wpa_s,
struct wpa_ssid ssid 
)

Initialize SIM/USIM access with PC/SC.

Parameters
wpa_spointer to wpa_supplicant data
ssidConfiguration 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).