wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Functions
utils.c File Reference

AP mode helper functions. More...

#include "includes.h"
#include "common.h"
#include "common/ieee802_11_defs.h"
#include "fst/fst.h"
#include "sta_info.h"
#include "hostapd.h"

Data Structures

struct  prune_data
 

Functions

int hostapd_register_probereq_cb (struct hostapd_data *hapd, int(*cb)(void *ctx, const u8 *sa, const u8 *da, const u8 *bssid, const u8 *ie, size_t ie_len, int ssi_signal), void *ctx)
 
void hostapd_prune_associations (struct hostapd_data *hapd, const u8 *addr)
 Remove extraneous associations. More...
 

Detailed Description

AP mode helper functions.

Function Documentation

void hostapd_prune_associations ( struct hostapd_data hapd,
const u8 *  addr 
)

Remove extraneous associations.

Parameters
hapdPointer to BSS data for the most recent association
addrAssociated STA address

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