Lines Matching defs:sta
48 struct sta_info *sta;
72 sta = sta_info_alloc(sdata, addr, GFP_ATOMIC);
73 if (!sta)
78 sta->sta.deflink.supp_rates[band] =
82 list_add(&sta->list, &ifocb->incomplete_stations);
87 static struct sta_info *ieee80211_ocb_finish_sta(struct sta_info *sta)
90 struct ieee80211_sub_if_data *sdata = sta->sdata;
93 memcpy(addr, sta->sta.addr, ETH_ALEN);
98 sta_info_move_state(sta, IEEE80211_STA_AUTH);
99 sta_info_move_state(sta, IEEE80211_STA_ASSOC);
100 sta_info_move_state(sta, IEEE80211_STA_AUTHORIZED);
102 rate_control_rate_init(sta);
105 if (sta_info_insert_rcu(sta))
107 return sta;
125 struct sta_info *sta;
134 sta = list_first_entry(&ifocb->incomplete_stations,
136 list_del(&sta->list);
139 ieee80211_ocb_finish_sta(sta);
210 struct sta_info *sta;
217 sta = list_first_entry(&ifocb->incomplete_stations,
219 list_del(&sta->list);
222 sta_info_free(local, sta);