Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8712/
Drtl8712_recv.c671 s32 ret_sig; in r8712_signal_scale_mapping() local
674 ret_sig = 100; in r8712_signal_scale_mapping()
676 ret_sig = 80 + ((cur_sig - 40) * 2); in r8712_signal_scale_mapping()
678 ret_sig = 66 + (cur_sig - 30); in r8712_signal_scale_mapping()
680 ret_sig = 54 + (cur_sig - 20); in r8712_signal_scale_mapping()
682 ret_sig = 42 + (((cur_sig - 10) * 2) / 3); in r8712_signal_scale_mapping()
684 ret_sig = 22 + (((cur_sig - 5) * 3) / 2); in r8712_signal_scale_mapping()
686 ret_sig = 6 + (((cur_sig - 1) * 3) / 2); in r8712_signal_scale_mapping()
688 ret_sig = cur_sig; in r8712_signal_scale_mapping()
689 return ret_sig; in r8712_signal_scale_mapping()