Lines Matching refs:alt_ratio

72 					       int alt_ratio, int maxdelta,  in ath_is_alt_ant_ratio_better()  argument
82 if (alt_ratio >= antcomb->ant_ratio2 && in ath_is_alt_ant_ratio_better()
92 int alt_ratio, int alt_rssi_avg, in ath_ant_div_comb_alt_check() argument
109 if (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO) in ath_ant_div_comb_alt_check()
119 (alt_ratio > antcomb->ant_ratio)) in ath_ant_div_comb_alt_check()
129 (alt_ratio > antcomb->ant_ratio)) in ath_ant_div_comb_alt_check()
264 int alt_ratio) in ath_select_ant_div_from_quick_scan() argument
282 if (ath_is_alt_ant_ratio_better(antcomb, alt_ratio, in ath_select_ant_div_from_quick_scan()
291 if (ath_is_alt_ant_ratio_better(antcomb, alt_ratio, in ath_select_ant_div_from_quick_scan()
300 if (ath_is_alt_ant_ratio_better(antcomb, alt_ratio, in ath_select_ant_div_from_quick_scan()
341 if (ath_is_alt_ant_ratio_better(antcomb, alt_ratio, in ath_select_ant_div_from_quick_scan()
350 if (ath_is_alt_ant_ratio_better(antcomb, alt_ratio, in ath_select_ant_div_from_quick_scan()
359 if (ath_is_alt_ant_ratio_better(antcomb, alt_ratio, in ath_select_ant_div_from_quick_scan()
379 int alt_ratio) in ath_ant_div_conf_fast_divbias() argument
442 (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO)) in ath_ant_div_conf_fast_divbias()
452 (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO)) in ath_ant_div_conf_fast_divbias()
459 (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO)) in ath_ant_div_conf_fast_divbias()
469 (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO)) in ath_ant_div_conf_fast_divbias()
500 if (!antcomb->scan && (alt_ratio > antcomb->ant_ratio)) in ath_ant_div_conf_fast_divbias()
509 if (!antcomb->scan && (alt_ratio > antcomb->ant_ratio)) in ath_ant_div_conf_fast_divbias()
515 if (!antcomb->scan && (alt_ratio > antcomb->ant_ratio)) in ath_ant_div_conf_fast_divbias()
524 if (!antcomb->scan && (alt_ratio > antcomb->ant_ratio)) in ath_ant_div_conf_fast_divbias()
664 int alt_ratio, int alt_rssi_avg, in ath_ant_try_switch() argument
670 if (ath_ant_div_comb_alt_check(div_ant_conf, antcomb, alt_ratio, in ath_ant_try_switch()
702 int alt_ratio; in ath_ant_short_scan_check() local
712 alt_ratio = ((antcomb->alt_recv_cnt * 100) / in ath_ant_short_scan_check()
714 if (alt_ratio < antcomb->ant_ratio) in ath_ant_short_scan_check()
725 int alt_ratio = 0, alt_rssi_avg = 0, main_rssi_avg = 0, curr_alt_set; in ath_ant_comb_scan() local
773 alt_ratio = ((antcomb->alt_recv_cnt * 100) / in ath_ant_comb_scan()
787 if (alt_ratio > antcomb->ant_ratio) { in ath_ant_comb_scan()
801 ret = ath_ant_try_switch(&div_ant_conf, antcomb, alt_ratio, in ath_ant_comb_scan()
834 alt_ratio); in ath_ant_comb_scan()
839 ath_ant_div_conf_fast_divbias(&div_ant_conf, antcomb, alt_ratio); in ath_ant_comb_scan()