Home
last modified time | relevance | path

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

/drivers/net/wireless/intel/iwlegacy/
D3945-rs.c615 int current_tpt = IL_INVALID_VALUE; in il3945_rs_get_rate() local
686 current_tpt = win->average_tpt; in il3945_rs_get_rate()
709 if (win->success_ratio < RATE_DECREASE_TH || !current_tpt) { in il3945_rs_get_rate()
726 && low_tpt < current_tpt && high_tpt < current_tpt) { in il3945_rs_get_rate()
729 "current_tpt [%d]\n", low_tpt, high_tpt, current_tpt); in il3945_rs_get_rate()
738 if (high_tpt > current_tpt && in il3945_rs_get_rate()
746 if (low_tpt > current_tpt) { in il3945_rs_get_rate()
761 current_tpt > 100 * rs_sta->expected_tpt[low])) in il3945_rs_get_rate()
D4965-rs.c1738 int current_tpt = IL_INVALID_VALUE; in il4965_rs_rate_scale_perform() local
1898 current_tpt = win->average_tpt; in il4965_rs_rate_scale_perform()
1917 current_tpt = lq_sta->last_tpt; in il4965_rs_rate_scale_perform()
1945 current_tpt = win->average_tpt; in il4965_rs_rate_scale_perform()
1954 if (sr <= RATE_DECREASE_TH || current_tpt == 0) { in il4965_rs_rate_scale_perform()
1970 low_tpt < current_tpt && high_tpt < current_tpt) in il4965_rs_rate_scale_perform()
1979 if (high_tpt > current_tpt && sr >= RATE_INCREASE_TH) in il4965_rs_rate_scale_perform()
1987 if (low_tpt > current_tpt) { in il4965_rs_rate_scale_perform()
1999 (sr > RATE_HIGH_TH || current_tpt > 100 * tbl->expected_tpt[low])) in il4965_rs_rate_scale_perform()
2045 lq_sta->last_tpt = current_tpt; in il4965_rs_rate_scale_perform()
/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c1754 int current_tpt, in rs_get_rate_action() argument
1760 (current_tpt == 0)) { in rs_get_rate_action()
1777 (low_tpt < current_tpt)) { in rs_get_rate_action()
1784 (high_tpt > current_tpt)) { in rs_get_rate_action()
1792 (low_tpt < current_tpt) && in rs_get_rate_action()
1793 (high_tpt < current_tpt)) { in rs_get_rate_action()
1800 (low_tpt > current_tpt)) { in rs_get_rate_action()
1823 } else if (current_tpt > (100 * tbl->expected_tpt[low])) { in rs_get_rate_action()
1901 int current_tpt, in rs_get_tpc_action() argument
1905 if (current_tpt == IWL_INVALID_VALUE) { in rs_get_tpc_action()
[all …]
/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c2171 int current_tpt = IWL_INVALID_VALUE; in rs_rate_scale_perform() local
2338 current_tpt = window->average_tpt; in rs_rate_scale_perform()
2358 current_tpt = lq_sta->last_tpt; in rs_rate_scale_perform()
2386 current_tpt = window->average_tpt; in rs_rate_scale_perform()
2395 if ((sr <= IWL_RATE_DECREASE_TH) || (current_tpt == 0)) { in rs_rate_scale_perform()
2413 (low_tpt < current_tpt) && in rs_rate_scale_perform()
2414 (high_tpt < current_tpt)) in rs_rate_scale_perform()
2423 if (high_tpt > current_tpt && in rs_rate_scale_perform()
2433 if (low_tpt > current_tpt) { in rs_rate_scale_perform()
2447 (current_tpt > (100 * tbl->expected_tpt[low])))) in rs_rate_scale_perform()
[all …]