Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A 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()
H A 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()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A 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()
1800 (low_tpt > current_tpt)) { in rs_get_rate_action()
1901 int current_tpt, in rs_get_tpc_action() argument
1912 current_tpt == 0) { in rs_get_tpc_action()
1928 if (weak_tpt > current_tpt) { in rs_get_tpc_action()
1946 if (weak_tpt < current_tpt && in rs_get_tpc_action()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A 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 …]