Searched refs:currsig (Results 1 – 2 of 2) sorted by relevance
40 long rtl_signal_scale_mapping(struct ieee80211_hw *hw, long currsig) in rtl_signal_scale_mapping() argument44 if (currsig >= 61 && currsig <= 100) in rtl_signal_scale_mapping()45 retsig = 90 + ((currsig - 60) / 4); in rtl_signal_scale_mapping()46 else if (currsig >= 41 && currsig <= 60) in rtl_signal_scale_mapping()47 retsig = 78 + ((currsig - 40) / 2); in rtl_signal_scale_mapping()48 else if (currsig >= 31 && currsig <= 40) in rtl_signal_scale_mapping()49 retsig = 66 + (currsig - 30); in rtl_signal_scale_mapping()50 else if (currsig >= 21 && currsig <= 30) in rtl_signal_scale_mapping()51 retsig = 54 + (currsig - 20); in rtl_signal_scale_mapping()52 else if (currsig >= 5 && currsig <= 20) in rtl_signal_scale_mapping()[all …]
16 long rtl_signal_scale_mapping(struct ieee80211_hw *hw, long currsig);