Lines Matching refs:sta
54 struct sta_info *sta) in mlme_authenticate_indication() argument
56 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_authenticate_indication()
59 MAC2STR(sta->addr), mlme_auth_alg_str(sta->auth_alg)); in mlme_authenticate_indication()
60 if (sta->auth_alg != WLAN_AUTH_FT && !(sta->flags & WLAN_STA_MFP)) in mlme_authenticate_indication()
61 mlme_deletekeys_request(hapd, sta); in mlme_authenticate_indication()
78 struct sta_info *sta, u16 reason_code) in mlme_deauthenticate_indication() argument
80 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_deauthenticate_indication()
83 MAC2STR(sta->addr), reason_code); in mlme_deauthenticate_indication()
85 mlme_deletekeys_request(hapd, sta); in mlme_deauthenticate_indication()
101 void mlme_associate_indication(struct hostapd_data *hapd, struct sta_info *sta) in mlme_associate_indication() argument
103 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_associate_indication()
106 MAC2STR(sta->addr)); in mlme_associate_indication()
107 if (sta->auth_alg != WLAN_AUTH_FT) in mlme_associate_indication()
108 mlme_deletekeys_request(hapd, sta); in mlme_associate_indication()
125 struct sta_info *sta) in mlme_reassociate_indication() argument
127 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_reassociate_indication()
130 MAC2STR(sta->addr)); in mlme_reassociate_indication()
131 if (sta->auth_alg != WLAN_AUTH_FT) in mlme_reassociate_indication()
132 mlme_deletekeys_request(hapd, sta); in mlme_reassociate_indication()
149 struct sta_info *sta, u16 reason_code) in mlme_disassociate_indication() argument
151 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_disassociate_indication()
154 MAC2STR(sta->addr), reason_code); in mlme_disassociate_indication()
155 mlme_deletekeys_request(hapd, sta); in mlme_disassociate_indication()
169 void mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta) in mlme_deletekeys_request() argument
171 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_deletekeys_request()
174 MAC2STR(sta->addr)); in mlme_deletekeys_request()
176 if (sta->wpa_sm) in mlme_deletekeys_request()
177 wpa_remove_ptk(sta->wpa_sm); in mlme_deletekeys_request()