Searched refs:MAX_RSSI (Results 1 – 6 of 6) sorted by relevance
3090 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()
1990 survey->noise = rpt->noise - MAX_RSSI; in rtw89_ops_get_survey()
3578 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()
59 #define MAX_RSSI 110 macro61 #define RTW89_RSSI_RAW_TO_DBM(rssi) ((s8)((rssi) >> RSSI_FACTOR) - MAX_RSSI)
5403 sig = le32_get_bits(c2h->w2, RTW89_C2H_MAC_BCNFLTR_RPT_W2_MA) - MAX_RSSI; in rtw89_mac_bcn_fltr_rpt()
5451 le32_encode_bits(thold + MAX_RSSI, in rtw89_fw_h2c_set_bcn_fltr_cfg()