Lines Matching refs:sta

47 	struct sta_info *sta;  in ieee80211_ocb_rx_no_sta()  local
70 sta = sta_info_alloc(sdata, addr, GFP_ATOMIC); in ieee80211_ocb_rx_no_sta()
71 if (!sta) in ieee80211_ocb_rx_no_sta()
76 sta->sta.deflink.supp_rates[band] = ieee80211_mandatory_rates(sband); in ieee80211_ocb_rx_no_sta()
79 list_add(&sta->list, &ifocb->incomplete_stations); in ieee80211_ocb_rx_no_sta()
84 static struct sta_info *ieee80211_ocb_finish_sta(struct sta_info *sta) in ieee80211_ocb_finish_sta() argument
87 struct ieee80211_sub_if_data *sdata = sta->sdata; in ieee80211_ocb_finish_sta()
90 memcpy(addr, sta->sta.addr, ETH_ALEN); in ieee80211_ocb_finish_sta()
95 sta_info_move_state(sta, IEEE80211_STA_AUTH); in ieee80211_ocb_finish_sta()
96 sta_info_move_state(sta, IEEE80211_STA_ASSOC); in ieee80211_ocb_finish_sta()
97 sta_info_move_state(sta, IEEE80211_STA_AUTHORIZED); in ieee80211_ocb_finish_sta()
99 rate_control_rate_init(sta); in ieee80211_ocb_finish_sta()
102 if (sta_info_insert_rcu(sta)) in ieee80211_ocb_finish_sta()
104 return sta; in ieee80211_ocb_finish_sta()
122 struct sta_info *sta; in ieee80211_ocb_work() local
131 sta = list_first_entry(&ifocb->incomplete_stations, in ieee80211_ocb_work()
133 list_del(&sta->list); in ieee80211_ocb_work()
136 ieee80211_ocb_finish_sta(sta); in ieee80211_ocb_work()
206 struct sta_info *sta; in ieee80211_ocb_leave() local
215 sta = list_first_entry(&ifocb->incomplete_stations, in ieee80211_ocb_leave()
217 list_del(&sta->list); in ieee80211_ocb_leave()
220 sta_info_free(local, sta); in ieee80211_ocb_leave()