Home
last modified time | relevance | path

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

/freebsd/sys/dev/bwn/
H A Dif_bwn_phy_g.c2137 int trsw_rx_gain; in bwn_lo_measure_gain_values() local
2140 trsw_rx_gain = pg->pg_trsw_rx_gain / 2; in bwn_lo_measure_gain_values()
2141 if (max_rx_gain >= trsw_rx_gain) { in bwn_lo_measure_gain_values()
2142 trsw_rx_gain = max_rx_gain - trsw_rx_gain; in bwn_lo_measure_gain_values()
2145 trsw_rx_gain = max_rx_gain; in bwn_lo_measure_gain_values()
2146 if (trsw_rx_gain < 9) { in bwn_lo_measure_gain_values()
2150 trsw_rx_gain -= 8; in bwn_lo_measure_gain_values()
2152 trsw_rx_gain = MIN(MAX(trsw_rx_gain, 0), 0x2d); in bwn_lo_measure_gain_values()
2153 pg->pg_pga_gain = trsw_rx_gain / 3; in bwn_lo_measure_gain_values()