Searched refs:ui_rssi (Results 1 – 3 of 3) sorted by relevance
126 if (rtlpriv->stats.ui_rssi.total_num++ >= PHY_RSSI_SLID_WIN_MAX) { in rtl_process_ui_rssi()127 rtlpriv->stats.ui_rssi.total_num = PHY_RSSI_SLID_WIN_MAX; in rtl_process_ui_rssi()128 last_rssi = rtlpriv->stats.ui_rssi.elements[ in rtl_process_ui_rssi()129 rtlpriv->stats.ui_rssi.index]; in rtl_process_ui_rssi()130 rtlpriv->stats.ui_rssi.total_val -= last_rssi; in rtl_process_ui_rssi()132 rtlpriv->stats.ui_rssi.total_val += pstatus->signalstrength; in rtl_process_ui_rssi()133 rtlpriv->stats.ui_rssi.elements[rtlpriv->stats.ui_rssi.index++] = in rtl_process_ui_rssi()135 if (rtlpriv->stats.ui_rssi.index >= PHY_RSSI_SLID_WIN_MAX) in rtl_process_ui_rssi()136 rtlpriv->stats.ui_rssi.index = 0; in rtl_process_ui_rssi()137 tmpval = rtlpriv->stats.ui_rssi.total_val / in rtl_process_ui_rssi()[all …]
1006 struct rt_smooth_data ui_rssi; member
303 if (rtlpriv->stats.ui_rssi.total_num++ >= in _rtl92de_process_ui_rssi()305 rtlpriv->stats.ui_rssi.total_num = in _rtl92de_process_ui_rssi()307 last_rssi = rtlpriv->stats.ui_rssi.elements[ in _rtl92de_process_ui_rssi()308 rtlpriv->stats.ui_rssi.index]; in _rtl92de_process_ui_rssi()309 rtlpriv->stats.ui_rssi.total_val -= last_rssi; in _rtl92de_process_ui_rssi()311 rtlpriv->stats.ui_rssi.total_val += pstats->signalstrength; in _rtl92de_process_ui_rssi()312 rtlpriv->stats.ui_rssi.elements in _rtl92de_process_ui_rssi()313 [rtlpriv->stats.ui_rssi.index++] = in _rtl92de_process_ui_rssi()315 if (rtlpriv->stats.ui_rssi.index >= PHY_RSSI_SLID_WIN_MAX) in _rtl92de_process_ui_rssi()316 rtlpriv->stats.ui_rssi.index = 0; in _rtl92de_process_ui_rssi()[all …]