Home
last modified time | relevance | path

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

/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.h2732 s32 success_ratio; /* per-cent * 128 */ member
/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c234 window->success_ratio = IWL_INVALID_VALUE; in rs_rate_scale_clear_window()
504 window->success_ratio = 128 * (100 * window->success_counter) in rs_collect_tx_data()
507 window->success_ratio = IWL_INVALID_VALUE; in rs_collect_tx_data()
514 window->average_tpt = (window->success_ratio * tpt + 64) / 128; in rs_collect_tx_data()
1150 s32 active_sr = active_tbl->win[index].success_ratio; in rs_get_best_rate()
1468 if (window->success_ratio >= IWL_RS_GOOD_RATIO && in rs_move_legacy_other()
1636 if (window->success_ratio >= IWL_RS_GOOD_RATIO && in rs_move_siso_to_other()
1802 if (window->success_ratio >= IWL_RS_GOOD_RATIO) in rs_move_mimo2_to_other()
1970 if (window->success_ratio >= IWL_RS_GOOD_RATIO) in rs_move_mimo3_to_other()
2334 if (window->average_tpt != ((window->success_ratio * in rs_rate_scale_perform()
[all …]
Drs.h283 s32 success_ratio; /* per-cent * 128 */ member
/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c579 window->success_ratio = IWL_INVALID_VALUE; in rs_rate_scale_clear_window()
728 window->success_ratio = 128 * (100 * window->success_counter) in _rs_collect_tx_data()
731 window->success_ratio = IWL_INVALID_VALUE; in _rs_collect_tx_data()
738 window->average_tpt = (window->success_ratio * tpt + 64) / 128; in _rs_collect_tx_data()
1379 s32 success_ratio = active_tbl->win[index].success_ratio; in rs_get_best_rate() local
1386 if (success_ratio >= RS_PERCENT(IWL_MVM_RS_SR_NO_DECREASE)) { in rs_get_best_rate()
1390 success_ratio, target_tpt); in rs_get_best_rate()
1395 success_ratio, target_tpt); in rs_get_best_rate()
2051 sr = window[cur].success_ratio; in rs_tpc_perform()
2206 window->success_ratio, in rs_rate_scale_perform()
[all …]
Drs.h259 s32 success_ratio; /* per-cent * 128 */ member