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

hostapd / IEEE 802.11 MLME Copyright 2003-2004, Instant802 Networks, Inc. Copyright 2005-2006, Devicescape Software, Inc. More...

#include "utils/includes.h"
#include "utils/common.h"
#include "common/ieee802_11_defs.h"
#include "ieee802_11.h"
#include "wpa_auth.h"
#include "sta_info.h"
#include "ap_mlme.h"
#include "hostapd.h"

Functions

void mlme_authenticate_indication (struct hostapd_data *hapd, struct sta_info *sta)
 Report the establishment of an authentication relationship with a specific peer MAC entity. More...
 
void mlme_deauthenticate_indication (struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code)
 Report the invalidation of an authentication relationship with a specific peer MAC entity. More...
 
void mlme_associate_indication (struct hostapd_data *hapd, struct sta_info *sta)
 Report the establishment of an association with a specific peer MAC entity. More...
 
void mlme_reassociate_indication (struct hostapd_data *hapd, struct sta_info *sta)
 Report the establishment of an reassociation with a specific peer MAC entity. More...
 
void mlme_disassociate_indication (struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code)
 Report disassociation with a specific peer MAC entity. More...
 
void mlme_michaelmicfailure_indication (struct hostapd_data *hapd, const u8 *addr)
 
void mlme_deletekeys_request (struct hostapd_data *hapd, struct sta_info *sta)
 

Detailed Description

hostapd / IEEE 802.11 MLME Copyright 2003-2004, Instant802 Networks, Inc. Copyright 2005-2006, Devicescape Software, Inc.

Function Documentation

void mlme_associate_indication ( struct hostapd_data hapd,
struct sta_info sta 
)

Report the establishment of an association with a specific peer MAC entity.

Parameters
hapdBSS data
stapeer STA data

MLME calls this function as a result of the establishment of an association with a specific peer MAC entity that resulted from an association procedure that was initiated by that specific peer MAC entity.

PeerSTAAddress = sta->addr

void mlme_authenticate_indication ( struct hostapd_data hapd,
struct sta_info sta 
)

Report the establishment of an authentication relationship with a specific peer MAC entity.

Parameters
hapdBSS data
stapeer STA data

MLME calls this function as a result of the establishment of an authentication relationship with a specific peer MAC entity that resulted from an authentication procedure that was initiated by that specific peer MAC entity.

PeerSTAAddress = sta->addr AuthenticationType = sta->auth_alg (WLAN_AUTH_OPEN / WLAN_AUTH_SHARED_KEY)

void mlme_deauthenticate_indication ( struct hostapd_data hapd,
struct sta_info sta,
u16  reason_code 
)

Report the invalidation of an authentication relationship with a specific peer MAC entity.

Parameters
hapdBSS data
staPeer STA data
reason_codeReasonCode from Deauthentication frame

MLME calls this function as a result of the invalidation of an authentication relationship with a specific peer MAC entity.

PeerSTAAddress = sta->addr

void mlme_disassociate_indication ( struct hostapd_data hapd,
struct sta_info sta,
u16  reason_code 
)

Report disassociation with a specific peer MAC entity.

Parameters
hapdBSS data
staPeer STA data
reason_codeReasonCode from Disassociation frame

MLME calls this function as a result of the invalidation of an association relationship with a specific peer MAC entity.

PeerSTAAddress = sta->addr

void mlme_reassociate_indication ( struct hostapd_data hapd,
struct sta_info sta 
)

Report the establishment of an reassociation with a specific peer MAC entity.

Parameters
hapdBSS data
stapeer STA data

MLME calls this function as a result of the establishment of an reassociation with a specific peer MAC entity that resulted from a reassociation procedure that was initiated by that specific peer MAC entity.

PeerSTAAddress = sta->addr