Lines Matching refs:sta
25 struct sta_info *sta,
32 void rate_control_rate_init(struct sta_info *sta);
35 struct sta_info *sta, u32 changed);
38 struct sta_info *sta, gfp_t gfp)
40 spin_lock_init(&sta->rate_ctrl_lock);
41 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp);
44 static inline void rate_control_free_sta(struct sta_info *sta)
46 struct rate_control_ref *ref = sta->rate_ctrl;
47 struct ieee80211_sta *ista = &sta->sta;
48 void *priv_sta = sta->rate_ctrl_priv;
53 static inline void rate_control_add_sta_debugfs(struct sta_info *sta)
56 struct rate_control_ref *ref = sta->rate_ctrl;
57 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs)
58 ref->ops->add_sta_debugfs(ref->priv, sta->rate_ctrl_priv,
59 sta->debugfs_dir);