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()
856 s8 rssi0 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI0); in rt2800_agc_to_rssi() local883 rssi0 = (rssi0) ? (-12 - offset0 - rt2x00dev->lna_gain - rssi0) : -128; in rt2800_agc_to_rssi()893 rssi0 = max(rssi0, rssi1); in rt2800_agc_to_rssi()894 return (int)max(rssi0, rssi2); in rt2800_agc_to_rssi()
21864 s16 rssi0, rssi1; in wlc_phy_poll_rssi_nphy() local21910 rssi0 = read_phy_reg(pi, 0x1c9); in wlc_phy_poll_rssi_nphy()21913 rssi0 = read_phy_reg(pi, 0x219); in wlc_phy_poll_rssi_nphy()21918 tmp_buf[ctr++] = ((s8) ((rssi0 & 0x3f) << 2)) >> 2; in wlc_phy_poll_rssi_nphy()21919 tmp_buf[ctr++] = ((s8) (((rssi0 >> 8) & 0x3f) << 2)) >> 2; in wlc_phy_poll_rssi_nphy()