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 …]
1134 struct rt_smooth_data ui_rssi; member
210 struct rt_smooth_data *ui_rssi; in _rtl92d_process_ui_rssi() local216 ui_rssi = &rtlpriv->stats.ui_rssi; in _rtl92d_process_ui_rssi()219 if (ui_rssi->total_num++ >= PHY_RSSI_SLID_WIN_MAX) { in _rtl92d_process_ui_rssi()220 ui_rssi->total_num = PHY_RSSI_SLID_WIN_MAX; in _rtl92d_process_ui_rssi()221 last_rssi = ui_rssi->elements[ui_rssi->index]; in _rtl92d_process_ui_rssi()222 ui_rssi->total_val -= last_rssi; in _rtl92d_process_ui_rssi()224 ui_rssi->total_val += pstats->signalstrength; in _rtl92d_process_ui_rssi()225 ui_rssi->elements[ui_rssi->index++] = pstats->signalstrength; in _rtl92d_process_ui_rssi()226 if (ui_rssi->index >= PHY_RSSI_SLID_WIN_MAX) in _rtl92d_process_ui_rssi()227 ui_rssi->index = 0; in _rtl92d_process_ui_rssi()[all …]