Searched refs:ui_rssi (Results 1 – 3 of 3) sorted by relevance
83 if (rtlpriv->stats.ui_rssi.total_num++ >= PHY_RSSI_SLID_WIN_MAX) { in rtl_process_ui_rssi()84 rtlpriv->stats.ui_rssi.total_num = PHY_RSSI_SLID_WIN_MAX; in rtl_process_ui_rssi()85 last_rssi = rtlpriv->stats.ui_rssi.elements[ in rtl_process_ui_rssi()86 rtlpriv->stats.ui_rssi.index]; in rtl_process_ui_rssi()87 rtlpriv->stats.ui_rssi.total_val -= last_rssi; in rtl_process_ui_rssi()89 rtlpriv->stats.ui_rssi.total_val += pstatus->signalstrength; in rtl_process_ui_rssi()90 rtlpriv->stats.ui_rssi.elements[rtlpriv->stats.ui_rssi.index++] = in rtl_process_ui_rssi()92 if (rtlpriv->stats.ui_rssi.index >= PHY_RSSI_SLID_WIN_MAX) in rtl_process_ui_rssi()93 rtlpriv->stats.ui_rssi.index = 0; in rtl_process_ui_rssi()94 tmpval = rtlpriv->stats.ui_rssi.total_val / in rtl_process_ui_rssi()[all …]
1164 struct rt_smooth_data ui_rssi; member
226 if (rtlpriv->stats.ui_rssi.total_num++ >= in _rtl92de_process_ui_rssi()228 rtlpriv->stats.ui_rssi.total_num = in _rtl92de_process_ui_rssi()230 last_rssi = rtlpriv->stats.ui_rssi.elements[ in _rtl92de_process_ui_rssi()231 rtlpriv->stats.ui_rssi.index]; in _rtl92de_process_ui_rssi()232 rtlpriv->stats.ui_rssi.total_val -= last_rssi; in _rtl92de_process_ui_rssi()234 rtlpriv->stats.ui_rssi.total_val += pstats->signalstrength; in _rtl92de_process_ui_rssi()235 rtlpriv->stats.ui_rssi.elements in _rtl92de_process_ui_rssi()236 [rtlpriv->stats.ui_rssi.index++] = in _rtl92de_process_ui_rssi()238 if (rtlpriv->stats.ui_rssi.index >= PHY_RSSI_SLID_WIN_MAX) in _rtl92de_process_ui_rssi()239 rtlpriv->stats.ui_rssi.index = 0; in _rtl92de_process_ui_rssi()[all …]