Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c1643 int rssi0, rssi1; in mt7603_edcca_check() local
1650 rssi0 = FIELD_GET(MT_AGC_41_RSSI_0, val); in mt7603_edcca_check()
1651 if (rssi0 > 128) in mt7603_edcca_check()
1652 rssi0 -= 256; in mt7603_edcca_check()
1659 rssi1 = rssi0; in mt7603_edcca_check()
1662 if (max(rssi0, rssi1) >= -40 && in mt7603_edcca_check()
/linux-5.19.10/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c836 s8 rssi0 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI0); in rt2800_agc_to_rssi() local
863 rssi0 = (rssi0) ? (-12 - offset0 - rt2x00dev->lna_gain - rssi0) : -128; in rt2800_agc_to_rssi()
873 rssi0 = max(rssi0, rssi1); in rt2800_agc_to_rssi()
874 return (int)max(rssi0, rssi2); in rt2800_agc_to_rssi()
/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
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()