Searched refs:div_ant_conf (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
H A D | antenna.c | 262 struct ath_hw_antcomb_conf *div_ant_conf, ath_select_ant_div_from_quick_scan() 270 div_ant_conf->main_lna_conf = antcomb->main_conf; ath_select_ant_div_from_quick_scan() 271 div_ant_conf->alt_lna_conf = antcomb->first_quick_scan_conf; ath_select_ant_div_from_quick_scan() 275 div_ant_conf->main_lna_conf = antcomb->main_conf; ath_select_ant_div_from_quick_scan() 276 div_ant_conf->alt_lna_conf = antcomb->second_quick_scan_conf; ath_select_ant_div_from_quick_scan() 335 div_ant_conf->lna1_lna2_switch_delta) ath_select_ant_div_from_quick_scan() 336 div_ant_conf->main_lna_conf = ATH_ANT_DIV_COMB_LNA2; ath_select_ant_div_from_quick_scan() 338 div_ant_conf->main_lna_conf = ATH_ANT_DIV_COMB_LNA1; ath_select_ant_div_from_quick_scan() 369 ath_ant_set_alt_ratio(antcomb, div_ant_conf); ath_select_ant_div_from_quick_scan() 662 static bool ath_ant_try_switch(struct ath_hw_antcomb_conf *div_ant_conf, ath_ant_try_switch() argument 670 if (ath_ant_div_comb_alt_check(div_ant_conf, antcomb, alt_ratio, ath_ant_try_switch() 676 div_ant_conf->main_lna_conf = ATH_ANT_DIV_COMB_LNA2; ath_ant_try_switch() 677 div_ant_conf->alt_lna_conf = ATH_ANT_DIV_COMB_LNA1; ath_ant_try_switch() 679 div_ant_conf->main_lna_conf = ATH_ANT_DIV_COMB_LNA1; ath_ant_try_switch() 680 div_ant_conf->alt_lna_conf = ATH_ANT_DIV_COMB_LNA2; ath_ant_try_switch() 690 div_ant_conf->alt_lna_conf = ATH_ANT_DIV_COMB_LNA1; ath_ant_try_switch() 692 div_ant_conf->alt_lna_conf = ATH_ANT_DIV_COMB_LNA2; ath_ant_try_switch() 723 struct ath_hw_antcomb_conf div_ant_conf; ath_ant_comb_scan() local 781 ath9k_hw_antdiv_comb_conf_get(sc->sc_ah, &div_ant_conf); ath_ant_comb_scan() 782 curr_alt_set = div_ant_conf.alt_lna_conf; ath_ant_comb_scan() 783 curr_main_set = div_ant_conf.main_lna_conf; ath_ant_comb_scan() 788 ath_lnaconf_alt_good_scan(antcomb, div_ant_conf, ath_ant_comb_scan() 801 ret = ath_ant_try_switch(&div_ant_conf, antcomb, alt_ratio, ath_ant_comb_scan() 809 (alt_rssi_avg < (main_rssi_avg + div_ant_conf.lna1_lna2_delta))) ath_ant_comb_scan() 813 ath_ant_try_scan(antcomb, &div_ant_conf, curr_alt_set, ath_ant_comb_scan() 820 div_ant_conf.main_lna_conf = ath_ant_comb_scan() 822 div_ant_conf.alt_lna_conf = ath_ant_comb_scan() 825 div_ant_conf.main_lna_conf = ath_ant_comb_scan() 827 div_ant_conf.alt_lna_conf = ath_ant_comb_scan() 832 ath_select_ant_div_from_quick_scan(antcomb, &div_ant_conf, ath_ant_comb_scan() 839 ath_ant_div_conf_fast_divbias(&div_ant_conf, antcomb, alt_ratio); ath_ant_comb_scan() 840 ath9k_hw_antdiv_comb_conf_set(sc->sc_ah, &div_ant_conf); ath_ant_comb_scan() 841 ath9k_debug_stat_ant(sc, &div_ant_conf, main_rssi_avg, alt_rssi_avg); ath_ant_comb_scan() 261 ath_select_ant_div_from_quick_scan(struct ath_ant_comb *antcomb, struct ath_hw_antcomb_conf *div_ant_conf, int main_rssi_avg, int alt_rssi_avg, int alt_ratio) ath_select_ant_div_from_quick_scan() argument
|
H A D | debug.h | 272 struct ath_hw_antcomb_conf *div_ant_conf, 302 struct ath_hw_antcomb_conf *div_ant_conf, ath9k_debug_stat_ant() 301 ath9k_debug_stat_ant(struct ath_softc *sc, struct ath_hw_antcomb_conf *div_ant_conf, int main_rssi_avg, int alt_rssi_avg) ath9k_debug_stat_ant() argument
|
H A D | debug.c | 286 struct ath_hw_antcomb_conf *div_ant_conf, ath9k_debug_stat_ant() 292 as_main->lna_attempt_cnt[div_ant_conf->main_lna_conf]++; ath9k_debug_stat_ant() 293 as_alt->lna_attempt_cnt[div_ant_conf->alt_lna_conf]++; ath9k_debug_stat_ant() 308 struct ath_hw_antcomb_conf div_ant_conf; read_file_antenna_diversity() local 328 ath9k_hw_antdiv_comb_conf_get(ah, &div_ant_conf); read_file_antenna_diversity() 330 lna_conf_str[div_ant_conf.main_lna_conf]); read_file_antenna_diversity() 332 lna_conf_str[div_ant_conf.alt_lna_conf]); read_file_antenna_diversity() 285 ath9k_debug_stat_ant(struct ath_softc *sc, struct ath_hw_antcomb_conf *div_ant_conf, int main_rssi_avg, int alt_rssi_avg) ath9k_debug_stat_ant() argument
|
Completed in 156 milliseconds