Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dcalib.c768 static void iwl_find_disconn_antenna(struct iwl_priv *priv, u32* average_sig, in iwl_find_disconn_antenna() argument
778 average_sig[0] = data->chain_signal_a / IWL_CAL_NUM_BEACONS; in iwl_find_disconn_antenna()
779 average_sig[1] = data->chain_signal_b / IWL_CAL_NUM_BEACONS; in iwl_find_disconn_antenna()
780 average_sig[2] = data->chain_signal_c / IWL_CAL_NUM_BEACONS; in iwl_find_disconn_antenna()
782 if (average_sig[0] >= average_sig[1]) { in iwl_find_disconn_antenna()
783 max_average_sig = average_sig[0]; in iwl_find_disconn_antenna()
787 max_average_sig = average_sig[1]; in iwl_find_disconn_antenna()
792 if (average_sig[2] >= max_average_sig) { in iwl_find_disconn_antenna()
793 max_average_sig = average_sig[2]; in iwl_find_disconn_antenna()
799 average_sig[0], average_sig[1], average_sig[2]); in iwl_find_disconn_antenna()
[all …]