Lines Matching refs:sta
26 struct sta_info *sta,
32 void rate_control_rate_init(struct sta_info *sta);
35 struct sta_info *sta,
40 struct sta_info *sta, gfp_t gfp)
42 spin_lock_init(&sta->rate_ctrl_lock);
43 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp);
46 static inline void rate_control_free_sta(struct sta_info *sta)
48 struct rate_control_ref *ref = sta->rate_ctrl;
49 struct ieee80211_sta *ista = &sta->sta;
50 void *priv_sta = sta->rate_ctrl_priv;
55 static inline void rate_control_add_sta_debugfs(struct sta_info *sta)
58 struct rate_control_ref *ref = sta->rate_ctrl;
59 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs)
60 ref->ops->add_sta_debugfs(ref->priv, sta->rate_ctrl_priv,
61 sta->debugfs_dir);