Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c628 u16 Avg_TSSI_Meas, TSSI_13dBm, Avg_TSSI_Meas_from_driver = 0; in _rtl92e_dm_tx_power_tracking_callback_tssi() local
713 Avg_TSSI_Meas_from_driver += tmp_report[k]; in _rtl92e_dm_tx_power_tracking_callback_tssi()
715 Avg_TSSI_Meas_from_driver *= 100 / 5; in _rtl92e_dm_tx_power_tracking_callback_tssi()
718 Avg_TSSI_Meas_from_driver); in _rtl92e_dm_tx_power_tracking_callback_tssi()
723 if (Avg_TSSI_Meas_from_driver > TSSI_13dBm) in _rtl92e_dm_tx_power_tracking_callback_tssi()
724 delta = Avg_TSSI_Meas_from_driver - TSSI_13dBm; in _rtl92e_dm_tx_power_tracking_callback_tssi()
726 delta = TSSI_13dBm - Avg_TSSI_Meas_from_driver; in _rtl92e_dm_tx_power_tracking_callback_tssi()
748 if (Avg_TSSI_Meas_from_driver < TSSI_13dBm - E_FOR_TX_POWER_TRACK) in _rtl92e_dm_tx_power_tracking_callback_tssi()
812 Avg_TSSI_Meas_from_driver = 0; in _rtl92e_dm_tx_power_tracking_callback_tssi()
/Linux-v5.10/drivers/staging/rtl8192u/
Dr8192U_dm.c504 u16 Avg_TSSI_Meas, TSSI_13dBm, Avg_TSSI_Meas_from_driver = 0; in dm_TXPowerTrackingCallback_TSSI() local
566 Avg_TSSI_Meas_from_driver += tmp_report[k]; in dm_TXPowerTrackingCallback_TSSI()
568 Avg_TSSI_Meas_from_driver = Avg_TSSI_Meas_from_driver*100/5; in dm_TXPowerTrackingCallback_TSSI()
569 RT_TRACE(COMP_POWER_TRACKING, "Avg_TSSI_Meas_from_driver = %d\n", Avg_TSSI_Meas_from_driver); in dm_TXPowerTrackingCallback_TSSI()
575 if (Avg_TSSI_Meas_from_driver > TSSI_13dBm) in dm_TXPowerTrackingCallback_TSSI()
576 delta = Avg_TSSI_Meas_from_driver - TSSI_13dBm; in dm_TXPowerTrackingCallback_TSSI()
578 delta = TSSI_13dBm - Avg_TSSI_Meas_from_driver; in dm_TXPowerTrackingCallback_TSSI()
590 if (Avg_TSSI_Meas_from_driver < TSSI_13dBm - E_FOR_TX_POWER_TRACK) { in dm_TXPowerTrackingCallback_TSSI()
638 Avg_TSSI_Meas_from_driver = 0; in dm_TXPowerTrackingCallback_TSSI()