Lines Matching +full:pga +full:- +full:gain
1 /* SPDX-License-Identifier: GPL-2.0 */
5 /* OFDM PHY registers are defined in the A-PHY header. */
9 #define B43_PHY_VERSION_CCK B43_PHY_CCK(0x00) /* Versioning register for B-PHY */
11 #define B43_PHY_PGACTL B43_PHY_CCK(0x15) /* PGA control */
24 /* Extended G-PHY Registers */
26 #define B43_PHY_GTABCTL B43_PHY_EXTG(0x03) /* G-PHY table control (see below) */
27 #define B43_PHY_GTABOFF 0x03FF /* G-PHY table offset (see below) */
28 #define B43_PHY_GTABNR 0xFC00 /* G-PHY table number (see below) */
30 #define B43_PHY_GTABDATA B43_PHY_EXTG(0x04) /* G-PHY table data */
49 /*** G-PHY table numbers */
61 (((phy)->rev >= 2) && \
62 ((phy)->radio_ver == 0x2050) && \
63 ((phy)->radio_rev == 8))
64 /* Card uses the loopback gain stuff */
66 (((phy)->rev > 1) || ((phy)->gmode))
86 return ((a->att == b->att) && in b43_compare_rfatt()
87 (a->with_padmix == b->with_padmix)); in b43_compare_rfatt()
107 return (a->att == b->att); in b43_compare_bbatt()
111 #define B43_TXCTL_PA3DB 0x40 /* PA Gain 3dB */
112 #define B43_TXCTL_PA2DB 0x20 /* PA Gain 2dB */
113 #define B43_TXCTL_TXMIX 0x10 /* TX Mixer Gain */
137 * TSSI value to dBm-Q5.2 */
159 s16 max_lb_gain; /* Maximum Loopback gain in hdB */
160 s16 trsw_rx_gain; /* TRSW RX gain in hdB */
163 s16 pga_gain; /* PGA */
169 * bit 0-11: offset
170 * bit 12-15: register ID
171 * bit 16-32: value