Lines Matching refs:sta
24 static int hostapd_get_sta_conn_time(struct sta_info *sta,
30 if (!sta->connected_time.sec)
34 os_time_sub(&now, &sta->connected_time, &age);
47 struct sta_info *sta,
52 if (sta == NULL) {
61 MAC2STR(sta->addr));
66 res = ieee802_11_get_mib_sta(hapd, sta, buf + len, buflen - len);
69 res = wpa_get_mib_sta(sta->wpa_sm, buf + len, buflen - len);
72 res = ieee802_1x_get_mib_sta(hapd, sta, buf + len, buflen - len);
75 res = hostapd_wps_get_mib_sta(hapd, sta->addr, buf + len,
79 res = hostapd_p2p_get_mib_sta(hapd, sta, buf + len, buflen - len);
83 res = hostapd_get_sta_conn_time(sta, buf + len, buflen - len);
119 struct sta_info *sta;
123 (sta = ap_get_sta(hapd, addr)) == NULL) {
129 return hostapd_ctrl_iface_sta_mib(hapd, sta->next, buf, buflen);
190 struct sta_info *sta;
232 sta = ap_get_sta(hapd, addr);
233 if (sta)
234 ap_sta_deauthenticate(hapd, sta,
247 struct sta_info *sta;
289 sta = ap_get_sta(hapd, addr);
290 if (sta)
291 ap_sta_disassociate(hapd, sta,