Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8712/
H A Drtl8712_recv.c674 if (cur_sig >= 51 && cur_sig <= 100) in r8712_signal_scale_mapping()
676 else if (cur_sig >= 41 && cur_sig <= 50) in r8712_signal_scale_mapping()
677 ret_sig = 80 + ((cur_sig - 40) * 2); in r8712_signal_scale_mapping()
678 else if (cur_sig >= 31 && cur_sig <= 40) in r8712_signal_scale_mapping()
679 ret_sig = 66 + (cur_sig - 30); in r8712_signal_scale_mapping()
680 else if (cur_sig >= 21 && cur_sig <= 30) in r8712_signal_scale_mapping()
681 ret_sig = 54 + (cur_sig - 20); in r8712_signal_scale_mapping()
682 else if (cur_sig >= 10 && cur_sig <= 20) in r8712_signal_scale_mapping()
684 else if (cur_sig >= 5 && cur_sig <= 9) in r8712_signal_scale_mapping()
686 else if (cur_sig >= 1 && cur_sig <= 4) in r8712_signal_scale_mapping()
[all …]
H A Drtl8712_recv.h141 s32 r8712_signal_scale_mapping(s32 cur_sig);