Searched refs:spinfo (Results 1 – 2 of 2) sorted by relevance
74 struct rc_pid_sta_info *spinfo, int adj, in rate_control_pid_adjust_rate() argument78 int cur = spinfo->txrate_idx; in rate_control_pid_adjust_rate()112 spinfo->txrate_idx = rinfo[tmp].index; in rate_control_pid_adjust_rate()122 rate_control_pid_event_rate_change(&spinfo->events, in rate_control_pid_adjust_rate()123 spinfo->txrate_idx, in rate_control_pid_adjust_rate()124 sband->bitrates[spinfo->txrate_idx].bitrate); in rate_control_pid_adjust_rate()148 struct rc_pid_sta_info *spinfo) in rate_control_pid_sample() argument162 if (jiffies - spinfo->last_sample > 2 * period) in rate_control_pid_sample()163 spinfo->sharp_cnt = pinfo->sharpen_duration; in rate_control_pid_sample()165 spinfo->last_sample = jiffies; in rate_control_pid_sample()[all …]
216 struct rc_pid_sta_info *spinfo = priv_sta; in rate_control_pid_add_sta_debugfs() local218 spinfo->events_entry = debugfs_create_file("rc_pid_events", S_IRUGO, in rate_control_pid_add_sta_debugfs()219 dir, spinfo, in rate_control_pid_add_sta_debugfs()225 struct rc_pid_sta_info *spinfo = priv_sta; in rate_control_pid_remove_sta_debugfs() local227 debugfs_remove(spinfo->events_entry); in rate_control_pid_remove_sta_debugfs()