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"
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_data * | hostapd_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) |
hostapd / Callback functions for driver wrappers
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.
| void hostapd_new_assoc_sta | ( | struct hostapd_data * | hapd, | |
| struct sta_info * | sta, | |||
| int | reassoc | |||
| ) |
Notify that a new station associated with the AP.
| 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.

1.6.1