events.c File Reference

WPA Supplicant - Driver event processing. More...

#include "includes.h"
#include "common.h"
#include "eapol_sm.h"
#include "wpa.h"
#include "eloop.h"
#include "wpa_supplicant.h"
#include "config.h"
#include "l2_packet.h"
#include "wpa_supplicant_i.h"
#include "pcsc_funcs.h"
#include "preauth.h"
#include "pmksa_cache.h"
#include "wpa_ctrl.h"
#include "eap.h"
#include "ctrl_iface_dbus.h"

Include dependency graph for events.c:

Go to the source code of this file.


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

Detailed Description

WPA Supplicant - Driver event processing.

Copyright (c) 2003-2006, Jouni Malinen <[email protected]>
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.

Definition in file events.c.

Function Documentation

void wpa_supplicant_event struct wpa_supplicant wpa_s,
wpa_event_type  event,
union wpa_event_data data

Report a driver event for wpa_supplicant.

wpa_s pointer to wpa_supplicant data; 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.

Definition at line 800 of file events.c.

Here is the call graph for this function:

int wpa_supplicant_scard_init struct wpa_supplicant wpa_s,
struct wpa_ssid ssid

Initialize SIM/USIM access with PC/SC.

wpa_s pointer to wpa_supplicant data
ssid Configuration data for the network
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 176 of file events.c.

Here is the call graph for this function:

Generated on Sun Dec 31 13:52:31 2006 for wpa_supplicant by  doxygen 1.4.2