Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c1662 int rssi0, rssi1; in mt7603_edcca_check() local
1674 rssi1 = FIELD_GET(MT_AGC_41_RSSI_1, val); in mt7603_edcca_check()
1675 if (rssi1 > 128) in mt7603_edcca_check()
1676 rssi1 -= 256; in mt7603_edcca_check()
1678 rssi1 = rssi0; in mt7603_edcca_check()
1681 if (max(rssi0, rssi1) >= -40 && in mt7603_edcca_check()
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c858 s8 rssi1 = rt2x00_get_field32(rxwi_w2, RXWI_W2_RSSI1); in rt2800_agc_to_rssi() local
886 rssi1 = (rssi1) ? (base_val - offset1 - rt2x00dev->lna_gain - rssi1) : -128; in rt2800_agc_to_rssi()
895 rssi0 = max(rssi0, rssi1); in rt2800_agc_to_rssi()
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c21860 s16 rssi0, rssi1; in wlc_phy_poll_rssi_nphy() local
21907 rssi1 = read_phy_reg(pi, 0x1ca); in wlc_phy_poll_rssi_nphy()
21910 rssi1 = read_phy_reg(pi, 0x21a); in wlc_phy_poll_rssi_nphy()
21916 tmp_buf[ctr++] = ((s8) ((rssi1 & 0x3f) << 2)) >> 2; in wlc_phy_poll_rssi_nphy()
21917 tmp_buf[ctr++] = ((s8) (((rssi1 >> 8) & 0x3f) << 2)) >> 2; in wlc_phy_poll_rssi_nphy()