Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c1790 int current_tpt, in rs_get_rate_action() argument
1796 (current_tpt == 0)) { in rs_get_rate_action()
1813 (low_tpt < current_tpt)) { in rs_get_rate_action()
1820 (high_tpt > current_tpt)) { in rs_get_rate_action()
1828 (low_tpt < current_tpt) && in rs_get_rate_action()
1829 (high_tpt < current_tpt)) { in rs_get_rate_action()
1836 (low_tpt > current_tpt)) { in rs_get_rate_action()
1859 } else if (current_tpt > (100 * tbl->expected_tpt[low])) { in rs_get_rate_action()
1939 int current_tpt, in rs_get_tpc_action() argument
1943 if (current_tpt == IWL_INVALID_VALUE) { in rs_get_tpc_action()
[all …]
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c2202 int current_tpt = IWL_INVALID_VALUE; in rs_rate_scale_perform() local
2369 current_tpt = window->average_tpt; in rs_rate_scale_perform()
2389 current_tpt = lq_sta->last_tpt; in rs_rate_scale_perform()
2417 current_tpt = window->average_tpt; in rs_rate_scale_perform()
2426 if ((sr <= IWL_RATE_DECREASE_TH) || (current_tpt == 0)) { in rs_rate_scale_perform()
2444 (low_tpt < current_tpt) && in rs_rate_scale_perform()
2445 (high_tpt < current_tpt)) in rs_rate_scale_perform()
2454 if (high_tpt > current_tpt && in rs_rate_scale_perform()
2464 if (low_tpt > current_tpt) { in rs_rate_scale_perform()
2478 (current_tpt > (100 * tbl->expected_tpt[low])))) in rs_rate_scale_perform()
[all …]