Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8712/
Drtl8712_recv.c707 s32 ret_sig; in r8712_signal_scale_mapping() local
710 ret_sig = 100; in r8712_signal_scale_mapping()
712 ret_sig = 80 + ((cur_sig - 40) * 2); in r8712_signal_scale_mapping()
714 ret_sig = 66 + (cur_sig - 30); in r8712_signal_scale_mapping()
716 ret_sig = 54 + (cur_sig - 20); in r8712_signal_scale_mapping()
718 ret_sig = 42 + (((cur_sig - 10) * 2) / 3); in r8712_signal_scale_mapping()
720 ret_sig = 22 + (((cur_sig - 5) * 3) / 2); in r8712_signal_scale_mapping()
722 ret_sig = 6 + (((cur_sig - 1) * 3) / 2); in r8712_signal_scale_mapping()
724 ret_sig = cur_sig; in r8712_signal_scale_mapping()
725 return ret_sig; in r8712_signal_scale_mapping()