Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_n.c23083 s16 rxpwr, rxpwr0, rxpwr1; in wlc_phy_rssi_compute_nphy() local
23087 rxpwr0 = rxh->PhyRxStatus_1 & PRXS1_nphy_PWR0_MASK; in wlc_phy_rssi_compute_nphy()
23090 if (rxpwr0 > 127) in wlc_phy_rssi_compute_nphy()
23091 rxpwr0 -= 256; in wlc_phy_rssi_compute_nphy()
23100 if (((rxpwr0 == 16) || (rxpwr0 == 32))) { in wlc_phy_rssi_compute_nphy()
23101 rxpwr0 = rxpwr1; in wlc_phy_rssi_compute_nphy()
23106 rxpwr = (rxpwr0 > rxpwr1) ? rxpwr0 : rxpwr1; in wlc_phy_rssi_compute_nphy()
23108 rxpwr = (rxpwr0 < rxpwr1) ? rxpwr0 : rxpwr1; in wlc_phy_rssi_compute_nphy()
23110 rxpwr = (rxpwr0 + rxpwr1) >> 1; in wlc_phy_rssi_compute_nphy()