Defines | Functions
beacon.c File Reference
#include "utils/includes.h"
#include "utils/common.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "drivers/driver.h"
#include "hostapd.h"
#include "ieee802_11.h"
#include "wpa_auth.h"
#include "wmm.h"
#include "ap_config.h"
#include "sta_info.h"
#include "beacon.h"
Include dependency graph for beacon.c:

Go to the source code of this file.

Defines

#define BEACON_HEAD_BUF_SIZE   256
#define BEACON_TAIL_BUF_SIZE   512
#define MAX_PROBERESP_LEN   768

Functions

void handle_probe_req (struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len)
static u8 * hostapd_eid_country (struct hostapd_data *hapd, u8 *eid, int max_len)
static u8 * hostapd_eid_country_add (u8 *pos, u8 *end, int chan_spacing, struct hostapd_channel_data *start, struct hostapd_channel_data *prev)
static u8 * hostapd_eid_ds_params (struct hostapd_data *hapd, u8 *eid)
static u8 * hostapd_eid_erp_info (struct hostapd_data *hapd, u8 *eid)
static u8 * hostapd_eid_wpa (struct hostapd_data *hapd, u8 *eid, size_t len, struct sta_info *sta)
static u8 ieee802_11_erp_info (struct hostapd_data *hapd)
void ieee802_11_set_beacon (struct hostapd_data *hapd)
void ieee802_11_set_beacons (struct hostapd_iface *iface)

Define Documentation

#define BEACON_HEAD_BUF_SIZE   256
#define BEACON_TAIL_BUF_SIZE   512
#define MAX_PROBERESP_LEN   768

Function Documentation

void handle_probe_req ( struct hostapd_data hapd,
const struct ieee80211_mgmt mgmt,
size_t  len 
)

Definition at line 195 of file beacon.c.

static u8* hostapd_eid_country ( struct hostapd_data hapd,
u8 *  eid,
int  max_len 
) [static]

Definition at line 118 of file beacon.c.

static u8* hostapd_eid_country_add ( u8 *  pos,
u8 *  end,
int  chan_spacing,
struct hostapd_channel_data start,
struct hostapd_channel_data prev 
) [static]

Definition at line 100 of file beacon.c.

static u8* hostapd_eid_ds_params ( struct hostapd_data hapd,
u8 *  eid 
) [static]

Definition at line 67 of file beacon.c.

static u8* hostapd_eid_erp_info ( struct hostapd_data hapd,
u8 *  eid 
) [static]

Definition at line 76 of file beacon.c.

static u8* hostapd_eid_wpa ( struct hostapd_data hapd,
u8 *  eid,
size_t  len,
struct sta_info sta 
) [static]

Definition at line 180 of file beacon.c.

static u8 ieee802_11_erp_info ( struct hostapd_data hapd) [static]

Definition at line 34 of file beacon.c.

void ieee802_11_set_beacon ( struct hostapd_data hapd)

Definition at line 340 of file beacon.c.

void ieee802_11_set_beacons ( struct hostapd_iface iface)

Definition at line 446 of file beacon.c.



wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:33:22