Lines Matching refs:sta
25 struct sta_info *sta, u8 *eid)
35 os_reltime_sub(&now, &sta->sa_query_start, &passed);
55 struct sta_info *sta;
68 sta = ap_get_sta(hapd, addr);
69 if (sta && wpa_auth_uses_ocv(sta->wpa_sm)) {
128 struct sta_info *sta;
139 sta = ap_get_sta(hapd, sa);
140 if (sta == NULL || !(sta->flags & WLAN_STA_ASSOC)) {
147 if (wpa_auth_uses_ocv(sta->wpa_sm)) {
210 struct sta_info *sta;
224 sta = ap_get_sta(hapd, sa);
227 if (sta && wpa_auth_uses_ocv(sta->wpa_sm)) {
250 if (get_sta_tx_parameters(sta->wpa_sm,
282 if (sta == NULL || sta->sa_query_trans_id == NULL) {
288 for (i = 0; i < sta->sa_query_count; i++) {
289 if (os_memcmp(sta->sa_query_trans_id +
295 if (i >= sta->sa_query_count) {
301 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211,
304 ap_sta_stop_sa_query(hapd, sta);
857 void ap_copy_sta_supp_op_classes(struct sta_info *sta,
863 os_free(sta->supp_op_classes);
864 sta->supp_op_classes = os_malloc(1 + supp_op_classes_len);
865 if (!sta->supp_op_classes)
868 sta->supp_op_classes[0] = supp_op_classes_len;
869 os_memcpy(sta->supp_op_classes + 1, supp_op_classes,
938 int get_tx_parameters(struct sta_info *sta, int ap_max_chanwidth,
945 if (sta->ht_capabilities)
946 ht_40mhz = !!(sta->ht_capabilities->ht_capabilities_info &
949 if (sta->vht_operation) {
950 struct ieee80211_vht_operation *oper = sta->vht_operation;
971 } else if (sta->vht_capabilities) {
975 capab = sta->vht_capabilities;