mlme.c File Reference

hostapd / IEEE 802.11 MLME More...

#include "includes.h"
#include "hostapd.h"
#include "ieee802_11.h"
#include "wpa.h"
#include "sta_info.h"
#include "mlme.h"
Include dependency graph for mlme.c:

Go to the source code of this file.

Functions

void mlme_authenticate_indication (struct hostapd_data *hapd, struct sta_info *sta)
 Report the establishment of an authentication.
void mlme_deauthenticate_indication (struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code)
 Report the invalidation of an.
void mlme_associate_indication (struct hostapd_data *hapd, struct sta_info *sta)
 Report the establishment of an association with.
void mlme_reassociate_indication (struct hostapd_data *hapd, struct sta_info *sta)
 Report the establishment of an reassociation.
void mlme_disassociate_indication (struct hostapd_data *hapd, struct sta_info *sta, u16 reason_code)
 Report disassociation with a specific peer.
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
Copyright 2003-2006, Jouni Malinen <j@w1.fi> Copyright 2003-2004, Instant802 Networks, Inc. Copyright 2005-2006, Devicescape Software, Inc.

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.

Definition in file mlme.c.


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:
hapd BSS data
sta peer 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

Definition at line 108 of file mlme.c.

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:
hapd BSS data
sta peer 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)

Definition at line 59 of file mlme.c.

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:
hapd BSS data
sta Peer STA data
reason_code ReasonCode 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

Definition at line 84 of file mlme.c.

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

Report disassociation with a specific peer.

MAC entity

Parameters:
hapd BSS data
sta Peer STA data
reason_code ReasonCode 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

Definition at line 159 of file mlme.c.

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:
hapd BSS data
sta peer 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

sta->previous_ap contains the "Current AP" information from ReassocReq.

Definition at line 134 of file mlme.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:17:36 2009 for hostapd by  doxygen 1.6.1