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) in rate_control_alloc_sta() argument
40 spin_lock_init(&sta->rate_ctrl_lock); in rate_control_alloc_sta()
41 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp); in rate_control_alloc_sta()
44 static inline void rate_control_free_sta(struct sta_info *sta) in rate_control_free_sta() argument
46 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta()
47 struct ieee80211_sta *ista = &sta->sta; in rate_control_free_sta()
48 void *priv_sta = sta->rate_ctrl_priv; in rate_control_free_sta()
53 static inline void rate_control_add_sta_debugfs(struct sta_info *sta) in rate_control_add_sta_debugfs() argument
56 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_add_sta_debugfs()
57 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs) in rate_control_add_sta_debugfs()
58 ref->ops->add_sta_debugfs(ref->priv, sta->rate_ctrl_priv, in rate_control_add_sta_debugfs()
59 sta->debugfs_dir); in rate_control_add_sta_debugfs()