Lines Matching defs:sta

62 	struct sta_info *sta;
66 sta = ap_get_sta(hapd, addr);
67 if (sta == NULL) {
96 wpa_auth_uses_ocv(sta->wpa_sm)) {
144 if (!wpa_auth_uses_mfp(sta->wpa_sm) ||
149 gtk_elem_len = wpa_wnmsleep_gtk_subelem(sta->wpa_sm, pos);
154 res = wpa_wnmsleep_igtk_subelem(sta->wpa_sm, pos);
199 sta->flags |= WLAN_STA_WNM_SLEEP_MODE;
202 wpa_set_wnmsleep(sta->wpa_sm, 1);
213 sta->flags &= ~WLAN_STA_WNM_SLEEP_MODE;
214 wpa_set_wnmsleep(sta->wpa_sm, 0);
217 if (!wpa_auth_uses_mfp(sta->wpa_sm) ||
219 wpa_wnmsleep_rekey_gtk(sta->wpa_sm);
246 struct sta_info *sta;
295 sta = ap_get_sta(hapd, addr);
297 sta && wpa_auth_uses_ocv(sta->wpa_sm)) {
427 struct sta_info *sta = timeout_ctx;
429 if (sta->agreed_to_steer) {
431 hapd->conf->iface, MAC2STR(sta->addr));
432 sta->agreed_to_steer = 0;
444 struct sta_info *sta;
476 sta = ap_get_sta(hapd, addr);
477 if (!sta) {
489 sta->agreed_to_steer = 1;
490 eloop_cancel_timeout(ap_sta_reset_steer_flag_timer, hapd, sta);
492 hapd, sta);
502 sta->agreed_to_steer = 0;
621 struct sta_info *sta, int disassoc_timer)
630 os_memcpy(mgmt->da, sta->addr, ETH_ALEN);
645 MACSTR, disassoc_timer, MAC2STR(sta->addr));
656 static void set_disassoc_timer(struct hostapd_data *hapd, struct sta_info *sta,
666 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr);
674 " set to %d ms", MAC2STR(sta->addr), timeout);
676 sta->timeout_next = STA_DISASSOC_FROM_CLI;
677 eloop_cancel_timeout(ap_handle_timer, hapd, sta);
680 ap_handle_timer, hapd, sta);
685 struct sta_info *sta, const char *url,
696 os_memcpy(mgmt->da, sta->addr, ETH_ALEN);
727 set_disassoc_timer(hapd, sta, disassoc_timer);
734 int wnm_send_bss_tm_req(struct hostapd_data *hapd, struct sta_info *sta,
746 MAC2STR(sta->addr), req_mode, disassoc_timer, valid_int);
753 os_memcpy(mgmt->da, sta->addr, ETH_ALEN);
805 set_disassoc_timer(hapd, sta, disassoc_timer);
812 int wnm_send_coloc_intf_req(struct hostapd_data *hapd, struct sta_info *sta,
825 os_memcpy(mgmt->da, sta->addr, ETH_ALEN);
838 MAC2STR(sta->addr), dialog_token, auto_report, timeout);