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) in rate_control_alloc_sta() argument
42 spin_lock_init(&sta->rate_ctrl_lock); in rate_control_alloc_sta()
43 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp); in rate_control_alloc_sta()
46 static inline void rate_control_free_sta(struct sta_info *sta) in rate_control_free_sta() argument
48 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta()
49 struct ieee80211_sta *ista = &sta->sta; in rate_control_free_sta()
50 void *priv_sta = sta->rate_ctrl_priv; in rate_control_free_sta()
55 static inline void rate_control_add_sta_debugfs(struct sta_info *sta) in rate_control_add_sta_debugfs() argument
58 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_add_sta_debugfs()
59 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs) in rate_control_add_sta_debugfs()
60 ref->ops->add_sta_debugfs(ref->priv, sta->rate_ctrl_priv, in rate_control_add_sta_debugfs()
61 sta->debugfs_dir); in rate_control_add_sta_debugfs()