events.c File Reference

WPA Supplicant - Driver event processing. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <time.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 "wpa_ctrl.h"
#include "eap.h"

Include dependency graph for events.c:

Go to the source code of this file.

Functions

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
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.

Parameters:
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 732 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.

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).

Definition at line 173 of file events.c.

Here is the call graph for this function:


Generated on Sat May 6 21:16:59 2006 for wpa_supplicant by  doxygen 1.4.2