Lines Matching refs:sta
28 struct sta_info *sta,
35 void rate_control_rate_init(struct sta_info *sta);
38 struct sta_info *sta, u32 changed);
41 struct sta_info *sta, gfp_t gfp) in rate_control_alloc_sta() argument
43 spin_lock_init(&sta->rate_ctrl_lock); in rate_control_alloc_sta()
44 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp); in rate_control_alloc_sta()
47 static inline void rate_control_free_sta(struct sta_info *sta) in rate_control_free_sta() argument
49 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta()
50 struct ieee80211_sta *ista = &sta->sta; in rate_control_free_sta()
51 void *priv_sta = sta->rate_ctrl_priv; in rate_control_free_sta()
56 static inline void rate_control_add_sta_debugfs(struct sta_info *sta) in rate_control_add_sta_debugfs() argument
59 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_add_sta_debugfs()
60 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs) in rate_control_add_sta_debugfs()
61 ref->ops->add_sta_debugfs(ref->priv, sta->rate_ctrl_priv, in rate_control_add_sta_debugfs()
62 sta->debugfs_dir); in rate_control_add_sta_debugfs()
66 static inline void rate_control_remove_sta_debugfs(struct sta_info *sta) in rate_control_remove_sta_debugfs() argument
69 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_remove_sta_debugfs()
71 ref->ops->remove_sta_debugfs(ref->priv, sta->rate_ctrl_priv); in rate_control_remove_sta_debugfs()