Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
D3945-rs.c121 win->success_ratio = -1; in il3945_clear_win()
293 win->success_ratio = in il3945_collect_tx_data()
296 win->success_ratio = IL_INVALID_VALUE; in il3945_collect_tx_data()
304 ((win->success_ratio * rs_sta->expected_tpt[idx] + in il3945_collect_tx_data()
709 if (win->success_ratio < RATE_DECREASE_TH || !current_tpt) { in il3945_rs_get_rate()
717 win->success_ratio >= RATE_INCREASE_TH) in il3945_rs_get_rate()
739 win->success_ratio >= RATE_INCREASE_TH) in il3945_rs_get_rate()
749 } else if (win->success_ratio >= RATE_INCREASE_TH) { in il3945_rs_get_rate()
760 (win->success_ratio > RATE_HIGH_TH || in il3945_rs_get_rate()
828 lq_sta->win[j].success_ratio); in il3945_sta_dbgfs_stats_table_read()
D4965-rs.c218 win->success_ratio = IL_INVALID_VALUE; in il4965_rs_rate_scale_clear_win()
458 win->success_ratio = in il4965_rs_collect_tx_data()
461 win->success_ratio = IL_INVALID_VALUE; in il4965_rs_collect_tx_data()
468 win->average_tpt = (win->success_ratio * tpt + 64) / 128; in il4965_rs_collect_tx_data()
1071 s32 active_sr = active_tbl->win[idx].success_ratio; in il4965_rs_get_best_rate()
1293 if (win->success_ratio >= IL_RS_GOOD_RATIO) in il4965_rs_move_legacy_other()
1411 if (win->success_ratio >= IL_RS_GOOD_RATIO) in il4965_rs_move_siso_to_other()
1531 if (win->success_ratio >= IL_RS_GOOD_RATIO) in il4965_rs_move_mimo2_to_other()
1875 ((win->success_ratio * tbl->expected_tpt[idx] + 64) / 128)) { in il4965_rs_rate_scale_perform()
1878 ((win->success_ratio * tbl->expected_tpt[idx] + 64) / 128); in il4965_rs_rate_scale_perform()
[all …]
D3945.h55 s32 success_ratio; member
Dcommon.h2733 s32 success_ratio; /* per-cent * 128 */ member
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c229 window->success_ratio = IWL_INVALID_VALUE; in rs_rate_scale_clear_window()
499 window->success_ratio = 128 * (100 * window->success_counter) in rs_collect_tx_data()
502 window->success_ratio = IWL_INVALID_VALUE; in rs_collect_tx_data()
509 window->average_tpt = (window->success_ratio * tpt + 64) / 128; in rs_collect_tx_data()
1145 s32 active_sr = active_tbl->win[index].success_ratio; in rs_get_best_rate()
1463 if (window->success_ratio >= IWL_RS_GOOD_RATIO && in rs_move_legacy_other()
1631 if (window->success_ratio >= IWL_RS_GOOD_RATIO && in rs_move_siso_to_other()
1797 if (window->success_ratio >= IWL_RS_GOOD_RATIO) in rs_move_mimo2_to_other()
1965 if (window->success_ratio >= IWL_RS_GOOD_RATIO) in rs_move_mimo3_to_other()
2329 if (window->average_tpt != ((window->success_ratio * in rs_rate_scale_perform()
[all …]
Drs.h278 s32 success_ratio; /* per-cent * 128 */ member
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c535 window->success_ratio = IWL_INVALID_VALUE; in rs_rate_scale_clear_window()
683 window->success_ratio = 128 * (100 * window->success_counter) in _rs_collect_tx_data()
686 window->success_ratio = IWL_INVALID_VALUE; in _rs_collect_tx_data()
693 window->average_tpt = (window->success_ratio * tpt + 64) / 128; in _rs_collect_tx_data()
1331 s32 success_ratio = active_tbl->win[index].success_ratio; in rs_get_best_rate() local
1338 if (success_ratio >= RS_PERCENT(IWL_MVM_RS_SR_NO_DECREASE)) { in rs_get_best_rate()
1342 success_ratio, target_tpt); in rs_get_best_rate()
1347 success_ratio, target_tpt); in rs_get_best_rate()
2002 sr = window[cur].success_ratio; in rs_tpc_perform()
2157 window->success_ratio, in rs_rate_scale_perform()
[all …]
Drs.h242 s32 success_ratio; /* per-cent * 128 */ member