ieee802_11.h File Reference

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)

Detailed Description

hostapd / IEEE 802.11 Management

Copyright
Copyright (c) 2002-2006, Jouni Malinen <j@w1.fi> Copyright (c) 2007-2008, Intel Corporation

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.


Function Documentation

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

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

void ieee802_11_mgmt_cb ( struct hostapd_data hapd,
u8 *  buf,
size_t  len,
u16  stype,
int  ok 
)

Process management frame TX status callback.

Parameters:
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
void ieee802_11_send_deauth ( struct hostapd_data hapd,
u8 *  addr,
u16  reason 
)

Send Deauthentication frame.

Parameters:
hapd hostapd BSS data
addr Address of the destination STA
reason Reason code for Deauthentication
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 28 23:07:49 2009 for wpa_supplicant/hostapd by  doxygen 1.6.1