hostapd / IEEE 802.11 Management More...
#include "ieee802_11_defs.h"
#include "ieee802_11_common.h"
Go to the source code of this file.
Functions | |
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. | |
void | ieee802_11_print_ssid (char *buf, const u8 *ssid, u8 len) |
u16 | hostapd_own_capab_info (struct hostapd_data *hapd, struct sta_info *sta, int probe) |
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) |
int | hostapd_ht_operation_update (struct hostapd_iface *iface) |
void | ieee802_11_send_sa_query_req (struct hostapd_data *hapd, const u8 *addr, const u8 *trans_id) |
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.h.
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.