drv_callbacks.c File Reference

hostapd / Callback functions for driver wrappers More...

#include "includes.h"
#include "hostapd.h"
#include "driver_i.h"
#include "ieee802_11.h"
#include "radius/radius.h"
#include "sta_info.h"
#include "accounting.h"
#include "tkip_countermeasures.h"
#include "ieee802_1x.h"
#include "wpa.h"
#include "iapp.h"
#include "wme.h"
#include "wps_hostapd.h"
Include dependency graph for drv_callbacks.c:

Go to the source code of this file.

Data Structures

struct  prune_data

Defines

#define HAPD_BROADCAST   ((struct hostapd_data *) -1)

Functions

void hostapd_new_assoc_sta (struct hostapd_data *hapd, struct sta_info *sta, int reassoc)
 Notify that a new station associated with the AP.
void hostapd_tx_status (struct hostapd_data *hapd, const u8 *addr, const u8 *buf, size_t len, int ack)
void hostapd_rx_from_unknown_sta (struct hostapd_data *hapd, const struct ieee80211_hdr *hdr, size_t len)
int hostapd_notif_assoc (struct hostapd_data *hapd, const u8 *addr, const u8 *ie, size_t ielen)
void hostapd_notif_disassoc (struct hostapd_data *hapd, const u8 *addr)
void hostapd_eapol_receive (struct hostapd_data *hapd, const u8 *sa, const u8 *buf, size_t len)
void hostapd_michael_mic_failure (struct hostapd_data *hapd, const u8 *addr)
struct hostapd_datahostapd_sta_get_bss (struct hostapd_data *hapd, const u8 *addr)
void wpa_supplicant_event (void *ctx, wpa_event_type event, union wpa_event_data *data)
void hostapd_probe_req_rx (struct hostapd_data *hapd, const u8 *sa, const u8 *ie, size_t ie_len)

Detailed Description

hostapd / Callback functions for driver wrappers

Copyright
Copyright (c) 2002-2009, 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.

Definition in file drv_callbacks.c.


Function Documentation

void hostapd_new_assoc_sta ( struct hostapd_data hapd,
struct sta_info sta,
int  reassoc 
)

Notify that a new station associated with the AP.

Parameters:
hapd Pointer to BSS data
sta Pointer to the associated STA data
reassoc 1 to indicate this was a re-association; 0 = first association

This function will be called whenever a station associates with the AP. It can be called from ieee802_11.c for drivers that export MLME to hostapd and from driver_*.c for drivers that take care of management frames (IEEE 802.11 authentication and association) internally.

Definition at line 89 of file drv_callbacks.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:17:10 2009 for hostapd by  doxygen 1.6.1