• Home
  • Raw
  • Download

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 && in mlme_authenticate_indication()
61 sta->auth_alg != WLAN_AUTH_FILS_SK && in mlme_authenticate_indication()
62 sta->auth_alg != WLAN_AUTH_FILS_SK_PFS && in mlme_authenticate_indication()
63 sta->auth_alg != WLAN_AUTH_FILS_PK && in mlme_authenticate_indication()
64 !(sta->flags & WLAN_STA_MFP)) in mlme_authenticate_indication()
65 mlme_deletekeys_request(hapd, sta); in mlme_authenticate_indication()
66 ap_sta_clear_disconnect_timeouts(hapd, sta); in mlme_authenticate_indication()
83 struct sta_info *sta, u16 reason_code) in mlme_deauthenticate_indication() argument
85 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_deauthenticate_indication()
88 MAC2STR(sta->addr), reason_code); in mlme_deauthenticate_indication()
90 mlme_deletekeys_request(hapd, sta); in mlme_deauthenticate_indication()
106 void mlme_associate_indication(struct hostapd_data *hapd, struct sta_info *sta) in mlme_associate_indication() argument
108 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_associate_indication()
111 MAC2STR(sta->addr)); in mlme_associate_indication()
112 if (sta->auth_alg != WLAN_AUTH_FT && in mlme_associate_indication()
113 sta->auth_alg != WLAN_AUTH_FILS_SK && in mlme_associate_indication()
114 sta->auth_alg != WLAN_AUTH_FILS_SK_PFS && in mlme_associate_indication()
115 sta->auth_alg != WLAN_AUTH_FILS_PK) in mlme_associate_indication()
116 mlme_deletekeys_request(hapd, sta); in mlme_associate_indication()
117 ap_sta_clear_disconnect_timeouts(hapd, sta); in mlme_associate_indication()
134 struct sta_info *sta) in mlme_reassociate_indication() argument
136 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_reassociate_indication()
139 MAC2STR(sta->addr)); in mlme_reassociate_indication()
140 if (sta->auth_alg != WLAN_AUTH_FT && in mlme_reassociate_indication()
141 sta->auth_alg != WLAN_AUTH_FILS_SK && in mlme_reassociate_indication()
142 sta->auth_alg != WLAN_AUTH_FILS_SK_PFS && in mlme_reassociate_indication()
143 sta->auth_alg != WLAN_AUTH_FILS_PK) in mlme_reassociate_indication()
144 mlme_deletekeys_request(hapd, sta); in mlme_reassociate_indication()
145 ap_sta_clear_disconnect_timeouts(hapd, sta); in mlme_reassociate_indication()
162 struct sta_info *sta, u16 reason_code) in mlme_disassociate_indication() argument
164 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_disassociate_indication()
167 MAC2STR(sta->addr), reason_code); in mlme_disassociate_indication()
168 mlme_deletekeys_request(hapd, sta); in mlme_disassociate_indication()
182 void mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta) in mlme_deletekeys_request() argument
184 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME, in mlme_deletekeys_request()
187 MAC2STR(sta->addr)); in mlme_deletekeys_request()
189 if (sta->wpa_sm) in mlme_deletekeys_request()
190 wpa_remove_ptk(sta->wpa_sm); in mlme_deletekeys_request()