Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8922a.c3090 if (desc_info->rssi <= 0x1 || (desc_info->rssi >> 2) > MAX_RSSI) in rtw8922a_phy_rpt_to_rssi()
3093 rx_status->signal = (desc_info->rssi >> 2) - MAX_RSSI; in rtw8922a_phy_rpt_to_rssi()
H A Dmac80211.c1990 survey->noise = rpt->noise - MAX_RSSI; in rtw89_ops_get_survey()
H A Drtw8922d.c3578 if (desc_info->rssi <= 0x1 || (desc_info->rssi >> 2) > MAX_RSSI) in rtw8922d_phy_rpt_to_rssi()
3581 rx_status->signal = (desc_info->rssi >> 2) - MAX_RSSI; in rtw8922d_phy_rpt_to_rssi()
H A Dcore.h59 #define MAX_RSSI 110 macro
61 #define RTW89_RSSI_RAW_TO_DBM(rssi) ((s8)((rssi) >> RSSI_FACTOR) - MAX_RSSI)
H A Dmac.c5403 sig = le32_get_bits(c2h->w2, RTW89_C2H_MAC_BCNFLTR_RPT_W2_MA) - MAX_RSSI; in rtw89_mac_bcn_fltr_rpt()
H A Dfw.c5451 le32_encode_bits(thold + MAX_RSSI, in rtw89_fw_h2c_set_bcn_fltr_cfg()