Home
last modified time | relevance | path

Searched refs:average_sig (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965-calib.c606 il4965_find_disconn_antenna(struct il_priv *il, u32 * average_sig, in il4965_find_disconn_antenna() argument
616 average_sig[0] = in il4965_find_disconn_antenna()
619 average_sig[1] = in il4965_find_disconn_antenna()
622 average_sig[2] = in il4965_find_disconn_antenna()
626 if (average_sig[0] >= average_sig[1]) { in il4965_find_disconn_antenna()
627 max_average_sig = average_sig[0]; in il4965_find_disconn_antenna()
631 max_average_sig = average_sig[1]; in il4965_find_disconn_antenna()
636 if (average_sig[2] >= max_average_sig) { in il4965_find_disconn_antenna()
637 max_average_sig = average_sig[2]; in il4965_find_disconn_antenna()
642 D_CALIB("average_sig: a %d b %d c %d\n", average_sig[0], average_sig[1], in il4965_find_disconn_antenna()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dcalib.c717 static void iwl_find_disconn_antenna(struct iwl_priv *priv, u32* average_sig, in iwl_find_disconn_antenna() argument
727 average_sig[0] = data->chain_signal_a / IWL_CAL_NUM_BEACONS; in iwl_find_disconn_antenna()
728 average_sig[1] = data->chain_signal_b / IWL_CAL_NUM_BEACONS; in iwl_find_disconn_antenna()
729 average_sig[2] = data->chain_signal_c / IWL_CAL_NUM_BEACONS; in iwl_find_disconn_antenna()
731 if (average_sig[0] >= average_sig[1]) { in iwl_find_disconn_antenna()
732 max_average_sig = average_sig[0]; in iwl_find_disconn_antenna()
736 max_average_sig = average_sig[1]; in iwl_find_disconn_antenna()
741 if (average_sig[2] >= max_average_sig) { in iwl_find_disconn_antenna()
742 max_average_sig = average_sig[2]; in iwl_find_disconn_antenna()
748 average_sig[0], average_sig[1], average_sig[2]); in iwl_find_disconn_antenna()
[all …]