Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8703b.c929 s8 val_s8; in query_phy_status_ofdm() local
931 val_s8 = phy_status->path_agc[RF_PATH_A].gain & 0x3F; in query_phy_status_ofdm()
932 pkt_stat->rx_power[RF_PATH_A] = (val_s8 * 2) - 110; in query_phy_status_ofdm()
937 val_s8 = phy_status->cck_sig_qual_ofdm_pwdb_all >> 1; in query_phy_status_ofdm()
938 pkt_stat->signal_power = (val_s8 & 0x7f) - 110; in query_phy_status_ofdm()
952 val_s8 = (s8)pkt_stat->rx_evm[RF_PATH_A]; in query_phy_status_ofdm()
953 val_s8 = clamp_t(s8, -val_s8 >> 1, 0, 64); in query_phy_status_ofdm()
954 val_s8 &= 0x3F; /* 64->0: second path of 1SS rate is 64 */ in query_phy_status_ofdm()
955 dm_info->rx_evm_dbm[RF_PATH_A] = val_s8; in query_phy_status_ofdm()