Lines Matching defs:sta
47 struct sta_info *sta;
71 sta = sta_info_alloc(sdata, addr, GFP_ATOMIC);
72 if (!sta)
77 sta->sta.supp_rates[band] =
81 list_add(&sta->list, &ifocb->incomplete_stations);
86 static struct sta_info *ieee80211_ocb_finish_sta(struct sta_info *sta)
89 struct ieee80211_sub_if_data *sdata = sta->sdata;
92 memcpy(addr, sta->sta.addr, ETH_ALEN);
97 sta_info_move_state(sta, IEEE80211_STA_AUTH);
98 sta_info_move_state(sta, IEEE80211_STA_ASSOC);
99 sta_info_move_state(sta, IEEE80211_STA_AUTHORIZED);
101 rate_control_rate_init(sta);
104 if (sta_info_insert_rcu(sta))
106 return sta;
124 struct sta_info *sta;
133 sta = list_first_entry(&ifocb->incomplete_stations,
135 list_del(&sta->list);
138 ieee80211_ocb_finish_sta(sta);
209 struct sta_info *sta;
216 sta = list_first_entry(&ifocb->incomplete_stations,
218 list_del(&sta->list);
221 sta_info_free(local, sta);