hostapd / IEEE 802.11 Management More...
#include "includes.h"
#include <net/if.h>
#include "eloop.h"
#include "hostapd.h"
#include "ieee802_11.h"
#include "beacon.h"
#include "hw_features.h"
#include "radius/radius.h"
#include "radius/radius_client.h"
#include "ieee802_11_auth.h"
#include "sta_info.h"
#include "crypto.h"
#include "ieee802_1x.h"
#include "wpa.h"
#include "wme.h"
#include "ap_list.h"
#include "accounting.h"
#include "driver_i.h"
#include "mlme.h"
#include "wpa_ctrl.h"
Go to the source code of this file.
Functions | |
u8 * | hostapd_eid_supp_rates (struct hostapd_data *hapd, u8 *eid) |
u8 * | hostapd_eid_ext_supp_rates (struct hostapd_data *hapd, u8 *eid) |
u8 * | hostapd_eid_ht_capabilities_info (struct hostapd_data *hapd, u8 *eid) |
u8 * | hostapd_eid_ht_operation (struct hostapd_data *hapd, u8 *eid) |
u16 | hostapd_own_capab_info (struct hostapd_data *hapd, struct sta_info *sta, int probe) |
void | ieee802_11_print_ssid (char *buf, const u8 *ssid, u8 len) |
void | ieee802_11_send_deauth (struct hostapd_data *hapd, u8 *addr, u16 reason) |
Send Deauthentication frame. | |
void | ieee802_11_mgmt (struct hostapd_data *hapd, u8 *buf, size_t len, u16 stype, struct hostapd_frame_info *fi) |
process incoming IEEE 802.11 management frames | |
void | ieee802_11_mgmt_cb (struct hostapd_data *hapd, u8 *buf, size_t len, u16 stype, int ok) |
Process management frame TX status callback. | |
int | ieee802_11_get_mib (struct hostapd_data *hapd, char *buf, size_t buflen) |
int | ieee802_11_get_mib_sta (struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) |
hostapd / IEEE 802.11 Management
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 ieee802_11.c.
void ieee802_11_mgmt | ( | struct hostapd_data * | hapd, | |
u8 * | buf, | |||
size_t | len, | |||
u16 | stype, | |||
struct hostapd_frame_info * | fi | |||
) |
process incoming IEEE 802.11 management frames
hapd | hostapd BSS data structure (the BSS to which the management frame was sent to) | |
buf | management frame data (starting from IEEE 802.11 header) | |
len | length of frame data in octets | |
stype | management frame subtype from frame control field | |
fi | meta data about received frame (signal level, etc.) |
Process all incoming IEEE 802.11 management frames. This will be called for each frame received from the kernel driver through wlan::ap interface. In addition, it can be called to re-inserted pending frames (e.g., when using external RADIUS server as an MAC ACL).
Definition at line 1475 of file ieee802_11.c.
void ieee802_11_mgmt_cb | ( | struct hostapd_data * | hapd, | |
u8 * | buf, | |||
size_t | len, | |||
u16 | stype, | |||
int | ok | |||
) |
Process management frame TX status callback.
hapd | hostapd BSS data structure (the BSS from which the management frame was sent from) | |
buf | management frame data (starting from IEEE 802.11 header) | |
len | length of frame data in octets | |
stype | management frame subtype from frame control field | |
ok | Whether the frame was ACK'ed |
Definition at line 1748 of file ieee802_11.c.
void ieee802_11_send_deauth | ( | struct hostapd_data * | hapd, | |
u8 * | addr, | |||
u16 | reason | |||
) |
Send Deauthentication frame.
hapd | hostapd BSS data | |
addr | Address of the destination STA | |
reason | Reason code for Deauthentication |
Definition at line 347 of file ieee802_11.c.