Searched refs:rssi0 (Results 1 – 3 of 3) sorted by relevance
1662 int rssi0, rssi1; in mt7603_edcca_check() local1669 rssi0 = FIELD_GET(MT_AGC_41_RSSI_0, val); in mt7603_edcca_check()1670 if (rssi0 > 128) in mt7603_edcca_check()1671 rssi0 -= 256; in mt7603_edcca_check()1678 rssi1 = rssi0; in mt7603_edcca_check()1681 if (max(rssi0, rssi1) >= -40 && in mt7603_edcca_check()
857 s8 rssi0 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI0); in rt2800_agc_to_rssi() local885 rssi0 = (rssi0) ? (base_val - offset0 - rt2x00dev->lna_gain - rssi0) : -128; in rt2800_agc_to_rssi()895 rssi0 = max(rssi0, rssi1); in rt2800_agc_to_rssi()896 return (int)max(rssi0, rssi2); in rt2800_agc_to_rssi()
21860 s16 rssi0, rssi1; in wlc_phy_poll_rssi_nphy() local21906 rssi0 = read_phy_reg(pi, 0x1c9); in wlc_phy_poll_rssi_nphy()21909 rssi0 = read_phy_reg(pi, 0x219); in wlc_phy_poll_rssi_nphy()21914 tmp_buf[ctr++] = ((s8) ((rssi0 & 0x3f) << 2)) >> 2; in wlc_phy_poll_rssi_nphy()21915 tmp_buf[ctr++] = ((s8) (((rssi0 >> 8) & 0x3f) << 2)) >> 2; in wlc_phy_poll_rssi_nphy()