Searched refs:cur_sig (Results 1 – 2 of 2) sorted by relevance
705 s32 r8712_signal_scale_mapping(s32 cur_sig) in r8712_signal_scale_mapping() argument709 if (cur_sig >= 51 && cur_sig <= 100) in r8712_signal_scale_mapping()711 else if (cur_sig >= 41 && cur_sig <= 50) in r8712_signal_scale_mapping()712 ret_sig = 80 + ((cur_sig - 40) * 2); in r8712_signal_scale_mapping()713 else if (cur_sig >= 31 && cur_sig <= 40) in r8712_signal_scale_mapping()714 ret_sig = 66 + (cur_sig - 30); in r8712_signal_scale_mapping()715 else if (cur_sig >= 21 && cur_sig <= 30) in r8712_signal_scale_mapping()716 ret_sig = 54 + (cur_sig - 20); in r8712_signal_scale_mapping()717 else if (cur_sig >= 10 && cur_sig <= 20) in r8712_signal_scale_mapping()718 ret_sig = 42 + (((cur_sig - 10) * 2) / 3); in r8712_signal_scale_mapping()[all …]
153 s32 r8712_signal_scale_mapping(s32 cur_sig);