Searched refs:cur_sig (Results 1 – 2 of 2) sorted by relevance
669 s32 r8712_signal_scale_mapping(s32 cur_sig) in r8712_signal_scale_mapping() argument673 if (cur_sig >= 51 && cur_sig <= 100) in r8712_signal_scale_mapping()675 else if (cur_sig >= 41 && cur_sig <= 50) in r8712_signal_scale_mapping()676 ret_sig = 80 + ((cur_sig - 40) * 2); in r8712_signal_scale_mapping()677 else if (cur_sig >= 31 && cur_sig <= 40) in r8712_signal_scale_mapping()678 ret_sig = 66 + (cur_sig - 30); in r8712_signal_scale_mapping()679 else if (cur_sig >= 21 && cur_sig <= 30) in r8712_signal_scale_mapping()680 ret_sig = 54 + (cur_sig - 20); in r8712_signal_scale_mapping()681 else if (cur_sig >= 10 && cur_sig <= 20) in r8712_signal_scale_mapping()682 ret_sig = 42 + (((cur_sig - 10) * 2) / 3); in r8712_signal_scale_mapping()[all …]
141 s32 r8712_signal_scale_mapping(s32 cur_sig);