Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A D3945.h174 int il3945_calc_db_from_ratio(int sig_ratio);
H A D3945-mac.c1149 il3945_calc_db_from_ratio(int sig_ratio) in il3945_calc_db_from_ratio() argument
1152 if (sig_ratio >= 1000) in il3945_calc_db_from_ratio()
1157 if (sig_ratio >= 100) in il3945_calc_db_from_ratio()
1158 return 20 + (int)ratio2dB[sig_ratio / 10]; in il3945_calc_db_from_ratio()
1161 if (sig_ratio < 1) in il3945_calc_db_from_ratio()
1165 return (int)ratio2dB[sig_ratio]; in il3945_calc_db_from_ratio()