Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmac.c1662 int rssi0, rssi1; in mt7603_edcca_check() local
1669 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()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2800lib.c856 s8 rssi0 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI0); in rt2800_agc_to_rssi() local
883 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()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_n.c21864 s16 rssi0, rssi1; in wlc_phy_poll_rssi_nphy() local
21910 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()