Home
last modified time | relevance | path

Searched refs:new_sorted (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/net/mac80211/
Drc80211_pid_algo.c77 int cur_sorted, new_sorted, probe, tmp, n_bitrates, band; in rate_control_pid_adjust_rate() local
85 new_sorted = cur_sorted + adj; in rate_control_pid_adjust_rate()
88 if (new_sorted < 0) in rate_control_pid_adjust_rate()
89 new_sorted = rinfo[0].rev_index; in rate_control_pid_adjust_rate()
90 else if (new_sorted >= n_bitrates) in rate_control_pid_adjust_rate()
91 new_sorted = rinfo[n_bitrates - 1].rev_index; in rate_control_pid_adjust_rate()
93 tmp = new_sorted; in rate_control_pid_adjust_rate()
97 for (probe = cur_sorted; probe >= new_sorted; probe--) in rate_control_pid_adjust_rate()
103 for (probe = new_sorted + 1; probe < n_bitrates; probe++) in rate_control_pid_adjust_rate()
104 if (rinfo[probe].diff <= rinfo[new_sorted].diff && in rate_control_pid_adjust_rate()