utils.c File Reference

#include "includes.h"
#include "common.h"
#include "common/ieee802_11_defs.h"
#include "sta_info.h"
#include "hostapd.h"
Include dependency graph for utils.c:

Go to the source code of this file.

Classes

struct  prune_data

Functions

void hostapd_prune_associations (struct hostapd_data *hapd, const u8 *addr)
int hostapd_register_probereq_cb (struct hostapd_data *hapd, int(*cb)(void *ctx, const u8 *sa, const u8 *ie, size_t ie_len), void *ctx)
static int prune_associations (struct hostapd_iface *iface, void *ctx)

Function Documentation

void hostapd_prune_associations ( struct hostapd_data hapd,
const u8 addr 
)

hostapd_prune_associations - Remove extraneous associations : Pointer to BSS data for the most recent association : Associated STA address

This function looks through all radios and BSS's for previous (stale) associations of STA. If any are found they are removed.

Definition at line 80 of file utils.c.

int hostapd_register_probereq_cb ( struct hostapd_data hapd,
int(*)(void *ctx, const u8 *sa, const u8 *ie, size_t ie_len)  cb,
void *  ctx 
)

Definition at line 23 of file utils.c.

static int prune_associations ( struct hostapd_iface iface,
void *  ctx 
) [static]

Definition at line 51 of file utils.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:05:04 2013