events.c File Reference

WPA Supplicant - Driver event processing. More...

#include "includes.h"
#include "common.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "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 "preauth.h"
#include "pmksa_cache.h"
#include "wpa_ctrl.h"
#include "eap_peer/eap.h"
#include "notify.h"
#include "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"

Functions

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.
void wpa_supplicant_event (void *ctx, wpa_event_type event, union wpa_event_data *data)
 Report a driver event for wpa_supplicant.

Detailed Description

WPA Supplicant - Driver event processing.

Copyright
Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Alternatively, this software may be distributed under the terms of BSD license.

See README and COPYING for more details.


Function Documentation

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

Report a driver event for wpa_supplicant.

Parameters:
ctx Context pointer (wpa_s); this is the ctx variable registered with struct wpa_driver_ops::init()
event event type (defined above)
data possible 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_s pointer to wpa_supplicant data
ssid 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).

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 28 23:07:51 2009 for wpa_supplicant/hostapd by  doxygen 1.6.1