Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
Drtw8703b.c997 s8 val_s8; in query_phy_status_ofdm() local
999 val_s8 = phy_status->path_agc[RF_PATH_A].gain & 0x3F; in query_phy_status_ofdm()
1000 pkt_stat->rx_power[RF_PATH_A] = (val_s8 * 2) - 110; in query_phy_status_ofdm()
1005 val_s8 = phy_status->cck_sig_qual_ofdm_pwdb_all >> 1; in query_phy_status_ofdm()
1006 pkt_stat->signal_power = (val_s8 & 0x7f) - 110; in query_phy_status_ofdm()
1020 val_s8 = (s8)pkt_stat->rx_evm[RF_PATH_A]; in query_phy_status_ofdm()
1021 val_s8 = clamp_t(s8, -val_s8 >> 1, 0, 64); in query_phy_status_ofdm()
1022 val_s8 &= 0x3F; /* 64->0: second path of 1SS rate is 64 */ in query_phy_status_ofdm()
1023 dm_info->rx_evm_dbm[RF_PATH_A] = val_s8; in query_phy_status_ofdm()