Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/rtl8723bs/hal/
Dodm_HWConfig.c24 s32 odm_signal_scale_mapping(struct dm_odm_t *dm_odm, s32 curr_sig) in odm_signal_scale_mapping() argument
29 if (curr_sig >= 51 && curr_sig <= 100) in odm_signal_scale_mapping()
31 else if (curr_sig >= 41 && curr_sig <= 50) in odm_signal_scale_mapping()
32 ret_sig = 80 + ((curr_sig - 40)*2); in odm_signal_scale_mapping()
33 else if (curr_sig >= 31 && curr_sig <= 40) in odm_signal_scale_mapping()
34 ret_sig = 66 + (curr_sig - 30); in odm_signal_scale_mapping()
35 else if (curr_sig >= 21 && curr_sig <= 30) in odm_signal_scale_mapping()
36 ret_sig = 54 + (curr_sig - 20); in odm_signal_scale_mapping()
37 else if (curr_sig >= 10 && curr_sig <= 20) in odm_signal_scale_mapping()
38 ret_sig = 42 + (((curr_sig - 10) * 2) / 3); in odm_signal_scale_mapping()
[all …]