1 /* 2 3 Broadcom B43 wireless driver 4 IEEE 802.11n PHY data tables 5 6 Copyright (c) 2008 Michael Buesch <m@bues.ch> 7 Copyright (c) 2010 Rafał Miłecki <zajec5@gmail.com> 8 9 This program is free software; you can redistribute it and/or modify 10 it under the terms of the GNU General Public License as published by 11 the Free Software Foundation; either version 2 of the License, or 12 (at your option) any later version. 13 14 This program is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with this program; see the file COPYING. If not, write to 21 the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, 22 Boston, MA 02110-1301, USA. 23 24 */ 25 26 /* 27 */ 28 29 #ifndef __IF_BWN_PHY_N_REGS_H__ 30 #define __IF_BWN_PHY_N_REGS_H__ 31 32 /* N-PHY registers. */ 33 34 #define BWN_NPHY_BBCFG BWN_PHY_N(0x001) /* BB config */ 35 #define BWN_NPHY_BBCFG_RSTCCA 0x4000 /* Reset CCA */ 36 #define BWN_NPHY_BBCFG_RSTRX 0x8000 /* Reset RX */ 37 #define BWN_NPHY_CHANNEL BWN_PHY_N(0x005) /* Channel */ 38 #define BWN_NPHY_TXERR BWN_PHY_N(0x007) /* TX error */ 39 #define BWN_NPHY_BANDCTL BWN_PHY_N(0x009) /* Band control */ 40 #define BWN_NPHY_BANDCTL_5GHZ 0x0001 /* Use the 5GHz band */ 41 #define BWN_NPHY_4WI_ADDR BWN_PHY_N(0x00B) /* Four-wire bus address */ 42 #define BWN_NPHY_4WI_DATAHI BWN_PHY_N(0x00C) /* Four-wire bus data high */ 43 #define BWN_NPHY_4WI_DATALO BWN_PHY_N(0x00D) /* Four-wire bus data low */ 44 #define BWN_NPHY_BIST_STAT0 BWN_PHY_N(0x00E) /* Built-in self test status 0 */ 45 #define BWN_NPHY_BIST_STAT1 BWN_PHY_N(0x00F) /* Built-in self test status 1 */ 46 47 #define BWN_NPHY_C1_DESPWR BWN_PHY_N(0x018) /* Core 1 desired power */ 48 #define BWN_NPHY_C1_CCK_DESPWR BWN_PHY_N(0x019) /* Core 1 CCK desired power */ 49 #define BWN_NPHY_C1_BCLIPBKOFF BWN_PHY_N(0x01A) /* Core 1 barely clip backoff */ 50 #define BWN_NPHY_C1_CCK_BCLIPBKOFF BWN_PHY_N(0x01B) /* Core 1 CCK barely clip backoff */ 51 #define BWN_NPHY_C1_CGAINI BWN_PHY_N(0x01C) /* Core 1 compute gain info */ 52 #define BWN_NPHY_C1_CGAINI_GAINBKOFF 0x001F /* Gain backoff */ 53 #define BWN_NPHY_C1_CGAINI_GAINBKOFF_SHIFT 0 54 #define BWN_NPHY_C1_CGAINI_CLIPGBKOFF 0x03E0 /* Clip gain backoff */ 55 #define BWN_NPHY_C1_CGAINI_CLIPGBKOFF_SHIFT 5 56 #define BWN_NPHY_C1_CGAINI_GAINSTEP 0x1C00 /* Gain step */ 57 #define BWN_NPHY_C1_CGAINI_GAINSTEP_SHIFT 10 58 #define BWN_NPHY_C1_CGAINI_CL2DETECT 0x2000 /* Clip 2 detect mask */ 59 #define BWN_NPHY_C1_CCK_CGAINI BWN_PHY_N(0x01D) /* Core 1 CCK compute gain info */ 60 #define BWN_NPHY_C1_CCK_CGAINI_GAINBKOFF 0x001F /* Gain backoff */ 61 #define BWN_NPHY_C1_CCK_CGAINI_CLIPGBKOFF 0x01E0 /* CCK barely clip gain backoff */ 62 #define BWN_NPHY_C1_MINMAX_GAIN BWN_PHY_N(0x01E) /* Core 1 min/max gain */ 63 #define BWN_NPHY_C1_MINGAIN 0x00FF /* Minimum gain */ 64 #define BWN_NPHY_C1_MINGAIN_SHIFT 0 65 #define BWN_NPHY_C1_MAXGAIN 0xFF00 /* Maximum gain */ 66 #define BWN_NPHY_C1_MAXGAIN_SHIFT 8 67 #define BWN_NPHY_C1_CCK_MINMAX_GAIN BWN_PHY_N(0x01F) /* Core 1 CCK min/max gain */ 68 #define BWN_NPHY_C1_CCK_MINGAIN 0x00FF /* Minimum gain */ 69 #define BWN_NPHY_C1_CCK_MINGAIN_SHIFT 0 70 #define BWN_NPHY_C1_CCK_MAXGAIN 0xFF00 /* Maximum gain */ 71 #define BWN_NPHY_C1_CCK_MAXGAIN_SHIFT 8 72 #define BWN_NPHY_C1_INITGAIN BWN_PHY_N(0x020) /* Core 1 initial gain code */ 73 #define BWN_NPHY_C1_INITGAIN_EXTLNA 0x0001 /* External LNA index */ 74 #define BWN_NPHY_C1_INITGAIN_LNA 0x0006 /* LNA index */ 75 #define BWN_NPHY_C1_INITGAIN_LNAIDX_SHIFT 1 76 #define BWN_NPHY_C1_INITGAIN_HPVGA1 0x0078 /* HPVGA1 index */ 77 #define BWN_NPHY_C1_INITGAIN_HPVGA1_SHIFT 3 78 #define BWN_NPHY_C1_INITGAIN_HPVGA2 0x0F80 /* HPVGA2 index */ 79 #define BWN_NPHY_C1_INITGAIN_HPVGA2_SHIFT 7 80 #define BWN_NPHY_C1_INITGAIN_TRRX 0x1000 /* TR RX index */ 81 #define BWN_NPHY_C1_INITGAIN_TRTX 0x2000 /* TR TX index */ 82 #define BWN_NPHY_REV3_C1_INITGAIN_A BWN_PHY_N(0x020) 83 #define BWN_NPHY_C1_CLIP1_HIGAIN BWN_PHY_N(0x021) /* Core 1 clip1 high gain code */ 84 #define BWN_NPHY_REV3_C1_INITGAIN_B BWN_PHY_N(0x021) 85 #define BWN_NPHY_C1_CLIP1_MEDGAIN BWN_PHY_N(0x022) /* Core 1 clip1 medium gain code */ 86 #define BWN_NPHY_REV3_C1_CLIP_HIGAIN_A BWN_PHY_N(0x022) 87 #define BWN_NPHY_C1_CLIP1_LOGAIN BWN_PHY_N(0x023) /* Core 1 clip1 low gain code */ 88 #define BWN_NPHY_REV3_C1_CLIP_HIGAIN_B BWN_PHY_N(0x023) 89 #define BWN_NPHY_C1_CLIP2_GAIN BWN_PHY_N(0x024) /* Core 1 clip2 gain code */ 90 #define BWN_NPHY_REV3_C1_CLIP_MEDGAIN_A BWN_PHY_N(0x024) 91 #define BWN_NPHY_C1_FILTERGAIN BWN_PHY_N(0x025) /* Core 1 filter gain */ 92 #define BWN_NPHY_C1_LPF_QHPF_BW BWN_PHY_N(0x026) /* Core 1 LPF Q HP F bandwidth */ 93 #define BWN_NPHY_C1_CLIPWBTHRES BWN_PHY_N(0x027) /* Core 1 clip wideband threshold */ 94 #define BWN_NPHY_C1_CLIPWBTHRES_CLIP2 0x003F /* Clip 2 */ 95 #define BWN_NPHY_C1_CLIPWBTHRES_CLIP2_SHIFT 0 96 #define BWN_NPHY_C1_CLIPWBTHRES_CLIP1 0x0FC0 /* Clip 1 */ 97 #define BWN_NPHY_C1_CLIPWBTHRES_CLIP1_SHIFT 6 98 #define BWN_NPHY_C1_W1THRES BWN_PHY_N(0x028) /* Core 1 W1 threshold */ 99 #define BWN_NPHY_C1_EDTHRES BWN_PHY_N(0x029) /* Core 1 ED threshold */ 100 #define BWN_NPHY_C1_SMSIGTHRES BWN_PHY_N(0x02A) /* Core 1 small sig threshold */ 101 #define BWN_NPHY_C1_NBCLIPTHRES BWN_PHY_N(0x02B) /* Core 1 NB clip threshold */ 102 #define BWN_NPHY_C1_CLIP1THRES BWN_PHY_N(0x02C) /* Core 1 clip1 threshold */ 103 #define BWN_NPHY_C1_CLIP2THRES BWN_PHY_N(0x02D) /* Core 1 clip2 threshold */ 104 105 #define BWN_NPHY_C2_DESPWR BWN_PHY_N(0x02E) /* Core 2 desired power */ 106 #define BWN_NPHY_C2_CCK_DESPWR BWN_PHY_N(0x02F) /* Core 2 CCK desired power */ 107 #define BWN_NPHY_C2_BCLIPBKOFF BWN_PHY_N(0x030) /* Core 2 barely clip backoff */ 108 #define BWN_NPHY_C2_CCK_BCLIPBKOFF BWN_PHY_N(0x031) /* Core 2 CCK barely clip backoff */ 109 #define BWN_NPHY_C2_CGAINI BWN_PHY_N(0x032) /* Core 2 compute gain info */ 110 #define BWN_NPHY_C2_CGAINI_GAINBKOFF 0x001F /* Gain backoff */ 111 #define BWN_NPHY_C2_CGAINI_GAINBKOFF_SHIFT 0 112 #define BWN_NPHY_C2_CGAINI_CLIPGBKOFF 0x03E0 /* Clip gain backoff */ 113 #define BWN_NPHY_C2_CGAINI_CLIPGBKOFF_SHIFT 5 114 #define BWN_NPHY_C2_CGAINI_GAINSTEP 0x1C00 /* Gain step */ 115 #define BWN_NPHY_C2_CGAINI_GAINSTEP_SHIFT 10 116 #define BWN_NPHY_C2_CGAINI_CL2DETECT 0x2000 /* Clip 2 detect mask */ 117 #define BWN_NPHY_C2_CCK_CGAINI BWN_PHY_N(0x033) /* Core 2 CCK compute gain info */ 118 #define BWN_NPHY_C2_CCK_CGAINI_GAINBKOFF 0x001F /* Gain backoff */ 119 #define BWN_NPHY_C2_CCK_CGAINI_CLIPGBKOFF 0x01E0 /* CCK barely clip gain backoff */ 120 #define BWN_NPHY_C2_MINMAX_GAIN BWN_PHY_N(0x034) /* Core 2 min/max gain */ 121 #define BWN_NPHY_C2_MINGAIN 0x00FF /* Minimum gain */ 122 #define BWN_NPHY_C2_MINGAIN_SHIFT 0 123 #define BWN_NPHY_C2_MAXGAIN 0xFF00 /* Maximum gain */ 124 #define BWN_NPHY_C2_MAXGAIN_SHIFT 8 125 #define BWN_NPHY_C2_CCK_MINMAX_GAIN BWN_PHY_N(0x035) /* Core 2 CCK min/max gain */ 126 #define BWN_NPHY_C2_CCK_MINGAIN 0x00FF /* Minimum gain */ 127 #define BWN_NPHY_C2_CCK_MINGAIN_SHIFT 0 128 #define BWN_NPHY_C2_CCK_MAXGAIN 0xFF00 /* Maximum gain */ 129 #define BWN_NPHY_C2_CCK_MAXGAIN_SHIFT 8 130 #define BWN_NPHY_C2_INITGAIN BWN_PHY_N(0x036) /* Core 2 initial gain code */ 131 #define BWN_NPHY_C2_INITGAIN_EXTLNA 0x0001 /* External LNA index */ 132 #define BWN_NPHY_C2_INITGAIN_LNA 0x0006 /* LNA index */ 133 #define BWN_NPHY_C2_INITGAIN_LNAIDX_SHIFT 1 134 #define BWN_NPHY_C2_INITGAIN_HPVGA1 0x0078 /* HPVGA1 index */ 135 #define BWN_NPHY_C2_INITGAIN_HPVGA1_SHIFT 3 136 #define BWN_NPHY_C2_INITGAIN_HPVGA2 0x0F80 /* HPVGA2 index */ 137 #define BWN_NPHY_C2_INITGAIN_HPVGA2_SHIFT 7 138 #define BWN_NPHY_C2_INITGAIN_TRRX 0x1000 /* TR RX index */ 139 #define BWN_NPHY_C2_INITGAIN_TRTX 0x2000 /* TR TX index */ 140 #define BWN_NPHY_REV3_C1_CLIP_MEDGAIN_B BWN_PHY_N(0x036) 141 #define BWN_NPHY_C2_CLIP1_HIGAIN BWN_PHY_N(0x037) /* Core 2 clip1 high gain code */ 142 #define BWN_NPHY_REV3_C1_CLIP_LOGAIN_A BWN_PHY_N(0x037) 143 #define BWN_NPHY_C2_CLIP1_MEDGAIN BWN_PHY_N(0x038) /* Core 2 clip1 medium gain code */ 144 #define BWN_NPHY_REV3_C1_CLIP_LOGAIN_B BWN_PHY_N(0x038) 145 #define BWN_NPHY_C2_CLIP1_LOGAIN BWN_PHY_N(0x039) /* Core 2 clip1 low gain code */ 146 #define BWN_NPHY_REV3_C1_CLIP2_GAIN_A BWN_PHY_N(0x039) 147 #define BWN_NPHY_C2_CLIP2_GAIN BWN_PHY_N(0x03A) /* Core 2 clip2 gain code */ 148 #define BWN_NPHY_REV3_C1_CLIP2_GAIN_B BWN_PHY_N(0x03A) 149 #define BWN_NPHY_C2_FILTERGAIN BWN_PHY_N(0x03B) /* Core 2 filter gain */ 150 #define BWN_NPHY_C2_LPF_QHPF_BW BWN_PHY_N(0x03C) /* Core 2 LPF Q HP F bandwidth */ 151 #define BWN_NPHY_C2_CLIPWBTHRES BWN_PHY_N(0x03D) /* Core 2 clip wideband threshold */ 152 #define BWN_NPHY_C2_CLIPWBTHRES_CLIP2 0x003F /* Clip 2 */ 153 #define BWN_NPHY_C2_CLIPWBTHRES_CLIP2_SHIFT 0 154 #define BWN_NPHY_C2_CLIPWBTHRES_CLIP1 0x0FC0 /* Clip 1 */ 155 #define BWN_NPHY_C2_CLIPWBTHRES_CLIP1_SHIFT 6 156 #define BWN_NPHY_C2_W1THRES BWN_PHY_N(0x03E) /* Core 2 W1 threshold */ 157 #define BWN_NPHY_C2_EDTHRES BWN_PHY_N(0x03F) /* Core 2 ED threshold */ 158 #define BWN_NPHY_C2_SMSIGTHRES BWN_PHY_N(0x040) /* Core 2 small sig threshold */ 159 #define BWN_NPHY_C2_NBCLIPTHRES BWN_PHY_N(0x041) /* Core 2 NB clip threshold */ 160 #define BWN_NPHY_C2_CLIP1THRES BWN_PHY_N(0x042) /* Core 2 clip1 threshold */ 161 #define BWN_NPHY_C2_CLIP2THRES BWN_PHY_N(0x043) /* Core 2 clip2 threshold */ 162 163 #define BWN_NPHY_CRS_THRES1 BWN_PHY_N(0x044) /* CRS threshold 1 */ 164 #define BWN_NPHY_CRS_THRES2 BWN_PHY_N(0x045) /* CRS threshold 2 */ 165 #define BWN_NPHY_CRS_THRES3 BWN_PHY_N(0x046) /* CRS threshold 3 */ 166 #define BWN_NPHY_CRSCTL BWN_PHY_N(0x047) /* CRS control */ 167 #define BWN_NPHY_DCFADDR BWN_PHY_N(0x048) /* DC filter address */ 168 #define BWN_NPHY_RXF20_NUM0 BWN_PHY_N(0x049) /* RX filter 20 numerator 0 */ 169 #define BWN_NPHY_RXF20_NUM1 BWN_PHY_N(0x04A) /* RX filter 20 numerator 1 */ 170 #define BWN_NPHY_RXF20_NUM2 BWN_PHY_N(0x04B) /* RX filter 20 numerator 2 */ 171 #define BWN_NPHY_RXF20_DENOM0 BWN_PHY_N(0x04C) /* RX filter 20 denominator 0 */ 172 #define BWN_NPHY_RXF20_DENOM1 BWN_PHY_N(0x04D) /* RX filter 20 denominator 1 */ 173 #define BWN_NPHY_RXF20_NUM10 BWN_PHY_N(0x04E) /* RX filter 20 numerator 10 */ 174 #define BWN_NPHY_RXF20_NUM11 BWN_PHY_N(0x04F) /* RX filter 20 numerator 11 */ 175 #define BWN_NPHY_RXF20_NUM12 BWN_PHY_N(0x050) /* RX filter 20 numerator 12 */ 176 #define BWN_NPHY_RXF20_DENOM10 BWN_PHY_N(0x051) /* RX filter 20 denominator 10 */ 177 #define BWN_NPHY_RXF20_DENOM11 BWN_PHY_N(0x052) /* RX filter 20 denominator 11 */ 178 #define BWN_NPHY_RXF40_NUM0 BWN_PHY_N(0x053) /* RX filter 40 numerator 0 */ 179 #define BWN_NPHY_RXF40_NUM1 BWN_PHY_N(0x054) /* RX filter 40 numerator 1 */ 180 #define BWN_NPHY_RXF40_NUM2 BWN_PHY_N(0x055) /* RX filter 40 numerator 2 */ 181 #define BWN_NPHY_RXF40_DENOM0 BWN_PHY_N(0x056) /* RX filter 40 denominator 0 */ 182 #define BWN_NPHY_RXF40_DENOM1 BWN_PHY_N(0x057) /* RX filter 40 denominator 1 */ 183 #define BWN_NPHY_RXF40_NUM10 BWN_PHY_N(0x058) /* RX filter 40 numerator 10 */ 184 #define BWN_NPHY_RXF40_NUM11 BWN_PHY_N(0x059) /* RX filter 40 numerator 11 */ 185 #define BWN_NPHY_RXF40_NUM12 BWN_PHY_N(0x05A) /* RX filter 40 numerator 12 */ 186 #define BWN_NPHY_RXF40_DENOM10 BWN_PHY_N(0x05B) /* RX filter 40 denominator 10 */ 187 #define BWN_NPHY_RXF40_DENOM11 BWN_PHY_N(0x05C) /* RX filter 40 denominator 11 */ 188 #define BWN_NPHY_PPROC_RSTLEN BWN_PHY_N(0x060) /* Packet processing reset length */ 189 #define BWN_NPHY_INITCARR_DLEN BWN_PHY_N(0x061) /* Initial carrier detection length */ 190 #define BWN_NPHY_CLIP1CARR_DLEN BWN_PHY_N(0x062) /* Clip1 carrier detection length */ 191 #define BWN_NPHY_CLIP2CARR_DLEN BWN_PHY_N(0x063) /* Clip2 carrier detection length */ 192 #define BWN_NPHY_INITGAIN_SLEN BWN_PHY_N(0x064) /* Initial gain settle length */ 193 #define BWN_NPHY_CLIP1GAIN_SLEN BWN_PHY_N(0x065) /* Clip1 gain settle length */ 194 #define BWN_NPHY_CLIP2GAIN_SLEN BWN_PHY_N(0x066) /* Clip2 gain settle length */ 195 #define BWN_NPHY_PACKGAIN_SLEN BWN_PHY_N(0x067) /* Packet gain settle length */ 196 #define BWN_NPHY_CARRSRC_TLEN BWN_PHY_N(0x068) /* Carrier search timeout length */ 197 #define BWN_NPHY_TISRC_TLEN BWN_PHY_N(0x069) /* Timing search timeout length */ 198 #define BWN_NPHY_ENDROP_TLEN BWN_PHY_N(0x06A) /* Energy drop timeout length */ 199 #define BWN_NPHY_CLIP1_NBDWELL_LEN BWN_PHY_N(0x06B) /* Clip1 NB dwell length */ 200 #define BWN_NPHY_CLIP2_NBDWELL_LEN BWN_PHY_N(0x06C) /* Clip2 NB dwell length */ 201 #define BWN_NPHY_W1CLIP1_DWELL_LEN BWN_PHY_N(0x06D) /* W1 clip1 dwell length */ 202 #define BWN_NPHY_W1CLIP2_DWELL_LEN BWN_PHY_N(0x06E) /* W1 clip2 dwell length */ 203 #define BWN_NPHY_W2CLIP1_DWELL_LEN BWN_PHY_N(0x06F) /* W2 clip1 dwell length */ 204 #define BWN_NPHY_PLOAD_CSENSE_EXTLEN BWN_PHY_N(0x070) /* Payload carrier sense extension length */ 205 #define BWN_NPHY_EDROP_CSENSE_EXTLEN BWN_PHY_N(0x071) /* Energy drop carrier sense extension length */ 206 #define BWN_NPHY_TABLE_ADDR BWN_PHY_N(0x072) /* Table address */ 207 #define BWN_NPHY_TABLE_DATALO BWN_PHY_N(0x073) /* Table data low */ 208 #define BWN_NPHY_TABLE_DATAHI BWN_PHY_N(0x074) /* Table data high */ 209 #define BWN_NPHY_WWISE_LENIDX BWN_PHY_N(0x075) /* WWiSE length index */ 210 #define BWN_NPHY_TGNSYNC_LENIDX BWN_PHY_N(0x076) /* TGNsync length index */ 211 #define BWN_NPHY_TXMACIF_HOLDOFF BWN_PHY_N(0x077) /* TX MAC IF Hold off */ 212 #define BWN_NPHY_RFCTL_CMD BWN_PHY_N(0x078) /* RF control (command) */ 213 #define BWN_NPHY_RFCTL_CMD_START 0x0001 /* Start sequence */ 214 #define BWN_NPHY_RFCTL_CMD_RXTX 0x0002 /* RX/TX */ 215 #define BWN_NPHY_RFCTL_CMD_CORESEL 0x0038 /* Core select */ 216 #define BWN_NPHY_RFCTL_CMD_CORESEL_SHIFT 3 217 #define BWN_NPHY_RFCTL_CMD_PORFORCE 0x0040 /* POR force */ 218 #define BWN_NPHY_RFCTL_CMD_OEPORFORCE 0x0080 /* OE POR force */ 219 #define BWN_NPHY_RFCTL_CMD_RXEN 0x0100 /* RX enable */ 220 #define BWN_NPHY_RFCTL_CMD_TXEN 0x0200 /* TX enable */ 221 #define BWN_NPHY_RFCTL_CMD_CHIP0PU 0x0400 /* Chip0 PU */ 222 #define BWN_NPHY_RFCTL_CMD_EN 0x0800 /* Radio enabled */ 223 #define BWN_NPHY_RFCTL_CMD_SEQENCORE 0xF000 /* Seq en core */ 224 #define BWN_NPHY_RFCTL_CMD_SEQENCORE_SHIFT 12 225 #define BWN_NPHY_RFCTL_RSSIO1 BWN_PHY_N(0x07A) /* RF control (RSSI others 1) */ 226 #define BWN_NPHY_RFCTL_RSSIO1_RXPD 0x0001 /* RX PD */ 227 #define BWN_NPHY_RFCTL_RSSIO1_TXPD 0x0002 /* TX PD */ 228 #define BWN_NPHY_RFCTL_RSSIO1_PAPD 0x0004 /* PA PD */ 229 #define BWN_NPHY_RFCTL_RSSIO1_RSSICTL 0x0030 /* RSSI control */ 230 #define BWN_NPHY_RFCTL_RSSIO1_LPFBW 0x00C0 /* LPF bandwidth */ 231 #define BWN_NPHY_RFCTL_RSSIO1_HPFBWHI 0x0100 /* HPF bandwidth high */ 232 #define BWN_NPHY_RFCTL_RSSIO1_HIQDISCO 0x0200 /* HIQ dis core */ 233 #define BWN_NPHY_RFCTL_RXG1 BWN_PHY_N(0x07B) /* RF control (RX gain 1) */ 234 #define BWN_NPHY_RFCTL_TXG1 BWN_PHY_N(0x07C) /* RF control (TX gain 1) */ 235 #define BWN_NPHY_RFCTL_RSSIO2 BWN_PHY_N(0x07D) /* RF control (RSSI others 2) */ 236 #define BWN_NPHY_RFCTL_RSSIO2_RXPD 0x0001 /* RX PD */ 237 #define BWN_NPHY_RFCTL_RSSIO2_TXPD 0x0002 /* TX PD */ 238 #define BWN_NPHY_RFCTL_RSSIO2_PAPD 0x0004 /* PA PD */ 239 #define BWN_NPHY_RFCTL_RSSIO2_RSSICTL 0x0030 /* RSSI control */ 240 #define BWN_NPHY_RFCTL_RSSIO2_LPFBW 0x00C0 /* LPF bandwidth */ 241 #define BWN_NPHY_RFCTL_RSSIO2_HPFBWHI 0x0100 /* HPF bandwidth high */ 242 #define BWN_NPHY_RFCTL_RSSIO2_HIQDISCO 0x0200 /* HIQ dis core */ 243 #define BWN_NPHY_RFCTL_RXG2 BWN_PHY_N(0x07E) /* RF control (RX gain 2) */ 244 #define BWN_NPHY_RFCTL_TXG2 BWN_PHY_N(0x07F) /* RF control (TX gain 2) */ 245 #define BWN_NPHY_RFCTL_RSSIO3 BWN_PHY_N(0x080) /* RF control (RSSI others 3) */ 246 #define BWN_NPHY_RFCTL_RSSIO3_RXPD 0x0001 /* RX PD */ 247 #define BWN_NPHY_RFCTL_RSSIO3_TXPD 0x0002 /* TX PD */ 248 #define BWN_NPHY_RFCTL_RSSIO3_PAPD 0x0004 /* PA PD */ 249 #define BWN_NPHY_RFCTL_RSSIO3_RSSICTL 0x0030 /* RSSI control */ 250 #define BWN_NPHY_RFCTL_RSSIO3_LPFBW 0x00C0 /* LPF bandwidth */ 251 #define BWN_NPHY_RFCTL_RSSIO3_HPFBWHI 0x0100 /* HPF bandwidth high */ 252 #define BWN_NPHY_RFCTL_RSSIO3_HIQDISCO 0x0200 /* HIQ dis core */ 253 #define BWN_NPHY_RFCTL_RXG3 BWN_PHY_N(0x081) /* RF control (RX gain 3) */ 254 #define BWN_NPHY_RFCTL_TXG3 BWN_PHY_N(0x082) /* RF control (TX gain 3) */ 255 #define BWN_NPHY_RFCTL_RSSIO4 BWN_PHY_N(0x083) /* RF control (RSSI others 4) */ 256 #define BWN_NPHY_RFCTL_RSSIO4_RXPD 0x0001 /* RX PD */ 257 #define BWN_NPHY_RFCTL_RSSIO4_TXPD 0x0002 /* TX PD */ 258 #define BWN_NPHY_RFCTL_RSSIO4_PAPD 0x0004 /* PA PD */ 259 #define BWN_NPHY_RFCTL_RSSIO4_RSSICTL 0x0030 /* RSSI control */ 260 #define BWN_NPHY_RFCTL_RSSIO4_LPFBW 0x00C0 /* LPF bandwidth */ 261 #define BWN_NPHY_RFCTL_RSSIO4_HPFBWHI 0x0100 /* HPF bandwidth high */ 262 #define BWN_NPHY_RFCTL_RSSIO4_HIQDISCO 0x0200 /* HIQ dis core */ 263 #define BWN_NPHY_RFCTL_RXG4 BWN_PHY_N(0x084) /* RF control (RX gain 4) */ 264 #define BWN_NPHY_RFCTL_TXG4 BWN_PHY_N(0x085) /* RF control (TX gain 4) */ 265 #define BWN_NPHY_C1_TXIQ_COMP_OFF BWN_PHY_N(0x087) /* Core 1 TX I/Q comp offset */ 266 #define BWN_NPHY_C2_TXIQ_COMP_OFF BWN_PHY_N(0x088) /* Core 2 TX I/Q comp offset */ 267 #define BWN_NPHY_C1_TXCTL BWN_PHY_N(0x08B) /* Core 1 TX control */ 268 #define BWN_NPHY_C2_TXCTL BWN_PHY_N(0x08C) /* Core 2 TX control */ 269 #define BWN_NPHY_AFECTL_OVER1 BWN_PHY_N(0x08F) /* AFE control override 1 */ 270 #define BWN_NPHY_SCRAM_SIGCTL BWN_PHY_N(0x090) /* Scram signal control */ 271 #define BWN_NPHY_SCRAM_SIGCTL_INITST 0x007F /* Initial state value */ 272 #define BWN_NPHY_SCRAM_SIGCTL_INITST_SHIFT 0 273 #define BWN_NPHY_SCRAM_SIGCTL_SCM 0x0080 /* Scram control mode */ 274 #define BWN_NPHY_SCRAM_SIGCTL_SICE 0x0100 /* Scram index control enable */ 275 #define BWN_NPHY_SCRAM_SIGCTL_START 0xFE00 /* Scram start bit */ 276 #define BWN_NPHY_SCRAM_SIGCTL_START_SHIFT 9 277 #define BWN_NPHY_RFCTL_INTC1 BWN_PHY_N(0x091) /* RF control (intc 1) */ 278 #define BWN_NPHY_RFCTL_INTC2 BWN_PHY_N(0x092) /* RF control (intc 2) */ 279 #define BWN_NPHY_RFCTL_INTC3 BWN_PHY_N(0x093) /* RF control (intc 3) */ 280 #define BWN_NPHY_RFCTL_INTC4 BWN_PHY_N(0x094) /* RF control (intc 4) */ 281 #define BWN_NPHY_NRDTO_WWISE BWN_PHY_N(0x095) /* # datatones WWiSE */ 282 #define BWN_NPHY_NRDTO_TGNSYNC BWN_PHY_N(0x096) /* # datatones TGNsync */ 283 #define BWN_NPHY_SIGFMOD_WWISE BWN_PHY_N(0x097) /* Signal field mod WWiSE */ 284 #define BWN_NPHY_LEG_SIGFMOD_11N BWN_PHY_N(0x098) /* Legacy signal field mod 11n */ 285 #define BWN_NPHY_HT_SIGFMOD_11N BWN_PHY_N(0x099) /* HT signal field mod 11n */ 286 #define BWN_NPHY_C1_RXIQ_COMPA0 BWN_PHY_N(0x09A) /* Core 1 RX I/Q comp A0 */ 287 #define BWN_NPHY_C1_RXIQ_COMPB0 BWN_PHY_N(0x09B) /* Core 1 RX I/Q comp B0 */ 288 #define BWN_NPHY_C2_RXIQ_COMPA1 BWN_PHY_N(0x09C) /* Core 2 RX I/Q comp A1 */ 289 #define BWN_NPHY_C2_RXIQ_COMPB1 BWN_PHY_N(0x09D) /* Core 2 RX I/Q comp B1 */ 290 #define BWN_NPHY_RXCTL BWN_PHY_N(0x0A0) /* RX control */ 291 #define BWN_NPHY_RXCTL_BSELU20 0x0010 /* Band select upper 20 */ 292 #define BWN_NPHY_RXCTL_RIFSEN 0x0080 /* RIFS enable */ 293 #define BWN_NPHY_RFSEQMODE BWN_PHY_N(0x0A1) /* RF seq mode */ 294 #define BWN_NPHY_RFSEQMODE_CAOVER 0x0001 /* Core active override */ 295 #define BWN_NPHY_RFSEQMODE_TROVER 0x0002 /* Trigger override */ 296 #define BWN_NPHY_RFSEQCA BWN_PHY_N(0x0A2) /* RF seq core active */ 297 #define BWN_NPHY_RFSEQCA_TXEN 0x000F /* TX enable */ 298 #define BWN_NPHY_RFSEQCA_TXEN_SHIFT 0 299 #define BWN_NPHY_RFSEQCA_RXEN 0x00F0 /* RX enable */ 300 #define BWN_NPHY_RFSEQCA_RXEN_SHIFT 4 301 #define BWN_NPHY_RFSEQCA_TXDIS 0x0F00 /* TX disable */ 302 #define BWN_NPHY_RFSEQCA_TXDIS_SHIFT 8 303 #define BWN_NPHY_RFSEQCA_RXDIS 0xF000 /* RX disable */ 304 #define BWN_NPHY_RFSEQCA_RXDIS_SHIFT 12 305 #define BWN_NPHY_RFSEQTR BWN_PHY_N(0x0A3) /* RF seq trigger */ 306 #define BWN_NPHY_RFSEQTR_RX2TX 0x0001 /* RX2TX */ 307 #define BWN_NPHY_RFSEQTR_TX2RX 0x0002 /* TX2RX */ 308 #define BWN_NPHY_RFSEQTR_UPGH 0x0004 /* Update gain H */ 309 #define BWN_NPHY_RFSEQTR_UPGL 0x0008 /* Update gain L */ 310 #define BWN_NPHY_RFSEQTR_UPGU 0x0010 /* Update gain U */ 311 #define BWN_NPHY_RFSEQTR_RST2RX 0x0020 /* Reset to RX */ 312 #define BWN_NPHY_RFSEQST BWN_PHY_N(0x0A4) /* RF seq status. Values same as trigger. */ 313 #define BWN_NPHY_AFECTL_OVER BWN_PHY_N(0x0A5) /* AFE control override */ 314 #define BWN_NPHY_AFECTL_C1 BWN_PHY_N(0x0A6) /* AFE control core 1 */ 315 #define BWN_NPHY_AFECTL_C2 BWN_PHY_N(0x0A7) /* AFE control core 2 */ 316 #define BWN_NPHY_AFECTL_C3 BWN_PHY_N(0x0A8) /* AFE control core 3 */ 317 #define BWN_NPHY_AFECTL_C4 BWN_PHY_N(0x0A9) /* AFE control core 4 */ 318 #define BWN_NPHY_AFECTL_DACGAIN1 BWN_PHY_N(0x0AA) /* AFE control DAC gain 1 */ 319 #define BWN_NPHY_AFECTL_DACGAIN2 BWN_PHY_N(0x0AB) /* AFE control DAC gain 2 */ 320 #define BWN_NPHY_AFECTL_DACGAIN3 BWN_PHY_N(0x0AC) /* AFE control DAC gain 3 */ 321 #define BWN_NPHY_AFECTL_DACGAIN4 BWN_PHY_N(0x0AD) /* AFE control DAC gain 4 */ 322 #define BWN_NPHY_STR_ADDR1 BWN_PHY_N(0x0AE) /* STR address 1 */ 323 #define BWN_NPHY_STR_ADDR2 BWN_PHY_N(0x0AF) /* STR address 2 */ 324 #define BWN_NPHY_CLASSCTL BWN_PHY_N(0x0B0) /* Classifier control */ 325 #define BWN_NPHY_CLASSCTL_CCKEN 0x0001 /* CCK enable */ 326 #define BWN_NPHY_CLASSCTL_OFDMEN 0x0002 /* OFDM enable */ 327 #define BWN_NPHY_CLASSCTL_WAITEDEN 0x0004 /* Waited enable */ 328 #define BWN_NPHY_IQFLIP BWN_PHY_N(0x0B1) /* I/Q flip */ 329 #define BWN_NPHY_IQFLIP_ADC1 0x0001 /* ADC1 */ 330 #define BWN_NPHY_IQFLIP_ADC2 0x0010 /* ADC2 */ 331 #define BWN_NPHY_SISO_SNR_THRES BWN_PHY_N(0x0B2) /* SISO SNR threshold */ 332 #define BWN_NPHY_SIGMA_N_MULT BWN_PHY_N(0x0B3) /* Sigma N multiplier */ 333 #define BWN_NPHY_TXMACDELAY BWN_PHY_N(0x0B4) /* TX MAC delay */ 334 #define BWN_NPHY_TXFRAMEDELAY BWN_PHY_N(0x0B5) /* TX frame delay */ 335 #define BWN_NPHY_MLPARM BWN_PHY_N(0x0B6) /* ML parameters */ 336 #define BWN_NPHY_MLCTL BWN_PHY_N(0x0B7) /* ML control */ 337 #define BWN_NPHY_WWISE_20NCYCDAT BWN_PHY_N(0x0B8) /* WWiSE 20 N cyc data */ 338 #define BWN_NPHY_WWISE_40NCYCDAT BWN_PHY_N(0x0B9) /* WWiSE 40 N cyc data */ 339 #define BWN_NPHY_TGNSYNC_20NCYCDAT BWN_PHY_N(0x0BA) /* TGNsync 20 N cyc data */ 340 #define BWN_NPHY_TGNSYNC_40NCYCDAT BWN_PHY_N(0x0BB) /* TGNsync 40 N cyc data */ 341 #define BWN_NPHY_INITSWIZP BWN_PHY_N(0x0BC) /* Initial swizzle pattern */ 342 #define BWN_NPHY_TXTAILCNT BWN_PHY_N(0x0BD) /* TX tail count value */ 343 #define BWN_NPHY_BPHY_CTL1 BWN_PHY_N(0x0BE) /* B PHY control 1 */ 344 #define BWN_NPHY_BPHY_CTL2 BWN_PHY_N(0x0BF) /* B PHY control 2 */ 345 #define BWN_NPHY_BPHY_CTL2_LUT 0x001F /* LUT index */ 346 #define BWN_NPHY_BPHY_CTL2_LUT_SHIFT 0 347 #define BWN_NPHY_BPHY_CTL2_MACDEL 0x7FE0 /* MAC delay */ 348 #define BWN_NPHY_BPHY_CTL2_MACDEL_SHIFT 5 349 #define BWN_NPHY_IQLOCAL_CMD BWN_PHY_N(0x0C0) /* I/Q LO cal command */ 350 #define BWN_NPHY_IQLOCAL_CMD_EN 0x8000 351 #define BWN_NPHY_IQLOCAL_CMDNNUM BWN_PHY_N(0x0C1) /* I/Q LO cal command N num */ 352 #define BWN_NPHY_IQLOCAL_CMDGCTL BWN_PHY_N(0x0C2) /* I/Q LO cal command G control */ 353 #define BWN_NPHY_SAMP_CMD BWN_PHY_N(0x0C3) /* Sample command */ 354 #define BWN_NPHY_SAMP_CMD_STOP 0x0002 /* Stop */ 355 #define BWN_NPHY_SAMP_LOOPCNT BWN_PHY_N(0x0C4) /* Sample loop count */ 356 #define BWN_NPHY_SAMP_WAITCNT BWN_PHY_N(0x0C5) /* Sample wait count */ 357 #define BWN_NPHY_SAMP_DEPCNT BWN_PHY_N(0x0C6) /* Sample depth count */ 358 #define BWN_NPHY_SAMP_STAT BWN_PHY_N(0x0C7) /* Sample status */ 359 #define BWN_NPHY_GPIO_LOOEN BWN_PHY_N(0x0C8) /* GPIO low out enable */ 360 #define BWN_NPHY_GPIO_HIOEN BWN_PHY_N(0x0C9) /* GPIO high out enable */ 361 #define BWN_NPHY_GPIO_SEL BWN_PHY_N(0x0CA) /* GPIO select */ 362 #define BWN_NPHY_GPIO_CLKCTL BWN_PHY_N(0x0CB) /* GPIO clock control */ 363 #define BWN_NPHY_TXF_20CO_AS0 BWN_PHY_N(0x0CC) /* TX filter 20 coeff A stage 0 */ 364 #define BWN_NPHY_TXF_20CO_AS1 BWN_PHY_N(0x0CD) /* TX filter 20 coeff A stage 1 */ 365 #define BWN_NPHY_TXF_20CO_AS2 BWN_PHY_N(0x0CE) /* TX filter 20 coeff A stage 2 */ 366 #define BWN_NPHY_TXF_20CO_B32S0 BWN_PHY_N(0x0CF) /* TX filter 20 coeff B32 stage 0 */ 367 #define BWN_NPHY_TXF_20CO_B1S0 BWN_PHY_N(0x0D0) /* TX filter 20 coeff B1 stage 0 */ 368 #define BWN_NPHY_TXF_20CO_B32S1 BWN_PHY_N(0x0D1) /* TX filter 20 coeff B32 stage 1 */ 369 #define BWN_NPHY_TXF_20CO_B1S1 BWN_PHY_N(0x0D2) /* TX filter 20 coeff B1 stage 1 */ 370 #define BWN_NPHY_TXF_20CO_B32S2 BWN_PHY_N(0x0D3) /* TX filter 20 coeff B32 stage 2 */ 371 #define BWN_NPHY_TXF_20CO_B1S2 BWN_PHY_N(0x0D4) /* TX filter 20 coeff B1 stage 2 */ 372 #define BWN_NPHY_SIGFLDTOL BWN_PHY_N(0x0D5) /* Signal fld tolerance */ 373 #define BWN_NPHY_TXSERFLD BWN_PHY_N(0x0D6) /* TX service field */ 374 #define BWN_NPHY_AFESEQ_RX2TX_PUD BWN_PHY_N(0x0D7) /* AFE seq RX2TX power up/down delay */ 375 #define BWN_NPHY_AFESEQ_TX2RX_PUD BWN_PHY_N(0x0D8) /* AFE seq TX2RX power up/down delay */ 376 #define BWN_NPHY_TGNSYNC_SCRAMI0 BWN_PHY_N(0x0D9) /* TGNsync scram init 0 */ 377 #define BWN_NPHY_TGNSYNC_SCRAMI1 BWN_PHY_N(0x0DA) /* TGNsync scram init 1 */ 378 #define BWN_NPHY_INITSWIZPATTLEG BWN_PHY_N(0x0DB) /* Initial swizzle pattern leg */ 379 #define BWN_NPHY_BPHY_CTL3 BWN_PHY_N(0x0DC) /* B PHY control 3 */ 380 #define BWN_NPHY_BPHY_CTL3_SCALE 0x00FF /* Scale */ 381 #define BWN_NPHY_BPHY_CTL3_SCALE_SHIFT 0 382 #define BWN_NPHY_BPHY_CTL3_FSC 0xFF00 /* Frame start count value */ 383 #define BWN_NPHY_BPHY_CTL3_FSC_SHIFT 8 384 #define BWN_NPHY_BPHY_CTL4 BWN_PHY_N(0x0DD) /* B PHY control 4 */ 385 #define BWN_NPHY_C1_TXBBMULT BWN_PHY_N(0x0DE) /* Core 1 TX BB multiplier */ 386 #define BWN_NPHY_C2_TXBBMULT BWN_PHY_N(0x0DF) /* Core 2 TX BB multiplier */ 387 #define BWN_NPHY_TXF_40CO_AS0 BWN_PHY_N(0x0E1) /* TX filter 40 coeff A stage 0 */ 388 #define BWN_NPHY_TXF_40CO_AS1 BWN_PHY_N(0x0E2) /* TX filter 40 coeff A stage 1 */ 389 #define BWN_NPHY_TXF_40CO_AS2 BWN_PHY_N(0x0E3) /* TX filter 40 coeff A stage 2 */ 390 #define BWN_NPHY_TXF_40CO_B32S0 BWN_PHY_N(0x0E4) /* TX filter 40 coeff B32 stage 0 */ 391 #define BWN_NPHY_TXF_40CO_B1S0 BWN_PHY_N(0x0E5) /* TX filter 40 coeff B1 stage 0 */ 392 #define BWN_NPHY_TXF_40CO_B32S1 BWN_PHY_N(0x0E6) /* TX filter 40 coeff B32 stage 1 */ 393 #define BWN_NPHY_TXF_40CO_B1S1 BWN_PHY_N(0x0E7) /* TX filter 40 coeff B1 stage 1 */ 394 #define BWN_NPHY_REV3_RFCTL_OVER0 BWN_PHY_N(0x0E7) 395 #define BWN_NPHY_TXF_40CO_B32S2 BWN_PHY_N(0x0E8) /* TX filter 40 coeff B32 stage 2 */ 396 #define BWN_NPHY_TXF_40CO_B1S2 BWN_PHY_N(0x0E9) /* TX filter 40 coeff B1 stage 2 */ 397 #define BWN_NPHY_BIST_STAT2 BWN_PHY_N(0x0EA) /* BIST status 2 */ 398 #define BWN_NPHY_BIST_STAT3 BWN_PHY_N(0x0EB) /* BIST status 3 */ 399 #define BWN_NPHY_RFCTL_OVER BWN_PHY_N(0x0EC) /* RF control override */ 400 #define BWN_NPHY_REV3_RFCTL_OVER1 BWN_PHY_N(0x0EC) 401 #define BWN_NPHY_MIMOCFG BWN_PHY_N(0x0ED) /* MIMO config */ 402 #define BWN_NPHY_MIMOCFG_GFMIX 0x0004 /* Greenfield or mixed mode */ 403 #define BWN_NPHY_MIMOCFG_AUTO 0x0100 /* Greenfield/mixed mode auto */ 404 #define BWN_NPHY_RADAR_BLNKCTL BWN_PHY_N(0x0EE) /* Radar blank control */ 405 #define BWN_NPHY_A0RADAR_FIFOCTL BWN_PHY_N(0x0EF) /* Antenna 0 radar FIFO control */ 406 #define BWN_NPHY_A1RADAR_FIFOCTL BWN_PHY_N(0x0F0) /* Antenna 1 radar FIFO control */ 407 #define BWN_NPHY_A0RADAR_FIFODAT BWN_PHY_N(0x0F1) /* Antenna 0 radar FIFO data */ 408 #define BWN_NPHY_A1RADAR_FIFODAT BWN_PHY_N(0x0F2) /* Antenna 1 radar FIFO data */ 409 #define BWN_NPHY_RADAR_THRES0 BWN_PHY_N(0x0F3) /* Radar threshold 0 */ 410 #define BWN_NPHY_RADAR_THRES1 BWN_PHY_N(0x0F4) /* Radar threshold 1 */ 411 #define BWN_NPHY_RADAR_THRES0R BWN_PHY_N(0x0F5) /* Radar threshold 0R */ 412 #define BWN_NPHY_RADAR_THRES1R BWN_PHY_N(0x0F6) /* Radar threshold 1R */ 413 #define BWN_NPHY_CSEN_20IN40_DLEN BWN_PHY_N(0x0F7) /* Carrier sense 20 in 40 dwell length */ 414 #define BWN_NPHY_RFCTL_LUT_TRSW_LO1 BWN_PHY_N(0x0F8) /* RF control LUT TRSW lower 1 */ 415 #define BWN_NPHY_RFCTL_LUT_TRSW_UP1 BWN_PHY_N(0x0F9) /* RF control LUT TRSW upper 1 */ 416 #define BWN_NPHY_RFCTL_LUT_TRSW_LO2 BWN_PHY_N(0x0FA) /* RF control LUT TRSW lower 2 */ 417 #define BWN_NPHY_RFCTL_LUT_TRSW_UP2 BWN_PHY_N(0x0FB) /* RF control LUT TRSW upper 2 */ 418 #define BWN_NPHY_RFCTL_LUT_TRSW_LO3 BWN_PHY_N(0x0FC) /* RF control LUT TRSW lower 3 */ 419 #define BWN_NPHY_RFCTL_LUT_TRSW_UP3 BWN_PHY_N(0x0FD) /* RF control LUT TRSW upper 3 */ 420 #define BWN_NPHY_RFCTL_LUT_TRSW_LO4 BWN_PHY_N(0x0FE) /* RF control LUT TRSW lower 4 */ 421 #define BWN_NPHY_RFCTL_LUT_TRSW_UP4 BWN_PHY_N(0x0FF) /* RF control LUT TRSW upper 4 */ 422 #define BWN_NPHY_RFCTL_LUT_LNAPA1 BWN_PHY_N(0x100) /* RF control LUT LNA PA 1 */ 423 #define BWN_NPHY_RFCTL_LUT_LNAPA2 BWN_PHY_N(0x101) /* RF control LUT LNA PA 2 */ 424 #define BWN_NPHY_RFCTL_LUT_LNAPA3 BWN_PHY_N(0x102) /* RF control LUT LNA PA 3 */ 425 #define BWN_NPHY_RFCTL_LUT_LNAPA4 BWN_PHY_N(0x103) /* RF control LUT LNA PA 4 */ 426 #define BWN_NPHY_TGNSYNC_CRCM0 BWN_PHY_N(0x104) /* TGNsync CRC mask 0 */ 427 #define BWN_NPHY_TGNSYNC_CRCM1 BWN_PHY_N(0x105) /* TGNsync CRC mask 1 */ 428 #define BWN_NPHY_TGNSYNC_CRCM2 BWN_PHY_N(0x106) /* TGNsync CRC mask 2 */ 429 #define BWN_NPHY_TGNSYNC_CRCM3 BWN_PHY_N(0x107) /* TGNsync CRC mask 3 */ 430 #define BWN_NPHY_TGNSYNC_CRCM4 BWN_PHY_N(0x108) /* TGNsync CRC mask 4 */ 431 #define BWN_NPHY_CRCPOLY BWN_PHY_N(0x109) /* CRC polynomial */ 432 #define BWN_NPHY_SIGCNT BWN_PHY_N(0x10A) /* # sig count */ 433 #define BWN_NPHY_SIGSTARTBIT_CTL BWN_PHY_N(0x10B) /* Sig start bit control */ 434 #define BWN_NPHY_CRCPOLY_ORDER BWN_PHY_N(0x10C) /* CRC polynomial order */ 435 #define BWN_NPHY_RFCTL_CST0 BWN_PHY_N(0x10D) /* RF control core swap table 0 */ 436 #define BWN_NPHY_RFCTL_CST1 BWN_PHY_N(0x10E) /* RF control core swap table 1 */ 437 #define BWN_NPHY_RFCTL_CST2O BWN_PHY_N(0x10F) /* RF control core swap table 2 + others */ 438 #define BWN_NPHY_BPHY_CTL5 BWN_PHY_N(0x111) /* B PHY control 5 */ 439 #define BWN_NPHY_RFSEQ_LPFBW BWN_PHY_N(0x112) /* RF seq LPF bandwidth */ 440 #define BWN_NPHY_TSSIBIAS1 BWN_PHY_N(0x114) /* TSSI bias val 1 */ 441 #define BWN_NPHY_TSSIBIAS2 BWN_PHY_N(0x115) /* TSSI bias val 2 */ 442 #define BWN_NPHY_TSSIBIAS_BIAS 0x00FF /* Bias */ 443 #define BWN_NPHY_TSSIBIAS_BIAS_SHIFT 0 444 #define BWN_NPHY_TSSIBIAS_VAL 0xFF00 /* Value */ 445 #define BWN_NPHY_TSSIBIAS_VAL_SHIFT 8 446 #define BWN_NPHY_ESTPWR1 BWN_PHY_N(0x118) /* Estimated power 1 */ 447 #define BWN_NPHY_ESTPWR2 BWN_PHY_N(0x119) /* Estimated power 2 */ 448 #define BWN_NPHY_ESTPWR_PWR 0x00FF /* Estimated power */ 449 #define BWN_NPHY_ESTPWR_PWR_SHIFT 0 450 #define BWN_NPHY_ESTPWR_VALID 0x0100 /* Estimated power valid */ 451 #define BWN_NPHY_TSSI_MAXTXFDT BWN_PHY_N(0x11C) /* TSSI max TX frame delay time */ 452 #define BWN_NPHY_TSSI_MAXTXFDT_VAL 0x00FF /* max TX frame delay time */ 453 #define BWN_NPHY_TSSI_MAXTXFDT_VAL_SHIFT 0 454 #define BWN_NPHY_TSSI_MAXTDT BWN_PHY_N(0x11D) /* TSSI max TSSI delay time */ 455 #define BWN_NPHY_TSSI_MAXTDT_VAL 0x00FF /* max TSSI delay time */ 456 #define BWN_NPHY_TSSI_MAXTDT_VAL_SHIFT 0 457 #define BWN_NPHY_ITSSI1 BWN_PHY_N(0x11E) /* TSSI idle 1 */ 458 #define BWN_NPHY_ITSSI2 BWN_PHY_N(0x11F) /* TSSI idle 2 */ 459 #define BWN_NPHY_ITSSI_VAL 0x00FF /* Idle TSSI */ 460 #define BWN_NPHY_ITSSI_VAL_SHIFT 0 461 #define BWN_NPHY_TSSIMODE BWN_PHY_N(0x122) /* TSSI mode */ 462 #define BWN_NPHY_TSSIMODE_EN 0x0001 /* TSSI enable */ 463 #define BWN_NPHY_TSSIMODE_PDEN 0x0002 /* Power det enable */ 464 #define BWN_NPHY_RXMACIFM BWN_PHY_N(0x123) /* RX Macif mode */ 465 #define BWN_NPHY_CRSIT_COCNT_LO BWN_PHY_N(0x124) /* CRS idle time CRS-on count (low) */ 466 #define BWN_NPHY_CRSIT_COCNT_HI BWN_PHY_N(0x125) /* CRS idle time CRS-on count (high) */ 467 #define BWN_NPHY_CRSIT_MTCNT_LO BWN_PHY_N(0x126) /* CRS idle time measure time count (low) */ 468 #define BWN_NPHY_CRSIT_MTCNT_HI BWN_PHY_N(0x127) /* CRS idle time measure time count (high) */ 469 #define BWN_NPHY_SAMTWC BWN_PHY_N(0x128) /* Sample tail wait count */ 470 #define BWN_NPHY_IQEST_CMD BWN_PHY_N(0x129) /* I/Q estimate command */ 471 #define BWN_NPHY_IQEST_CMD_START 0x0001 /* Start */ 472 #define BWN_NPHY_IQEST_CMD_MODE 0x0002 /* Mode */ 473 #define BWN_NPHY_IQEST_WT BWN_PHY_N(0x12A) /* I/Q estimate wait time */ 474 #define BWN_NPHY_IQEST_WT_VAL 0x00FF /* Wait time */ 475 #define BWN_NPHY_IQEST_WT_VAL_SHIFT 0 476 #define BWN_NPHY_IQEST_SAMCNT BWN_PHY_N(0x12B) /* I/Q estimate sample count */ 477 #define BWN_NPHY_IQEST_IQACC_LO0 BWN_PHY_N(0x12C) /* I/Q estimate I/Q acc lo 0 */ 478 #define BWN_NPHY_IQEST_IQACC_HI0 BWN_PHY_N(0x12D) /* I/Q estimate I/Q acc hi 0 */ 479 #define BWN_NPHY_IQEST_IPACC_LO0 BWN_PHY_N(0x12E) /* I/Q estimate I power acc lo 0 */ 480 #define BWN_NPHY_IQEST_IPACC_HI0 BWN_PHY_N(0x12F) /* I/Q estimate I power acc hi 0 */ 481 #define BWN_NPHY_IQEST_QPACC_LO0 BWN_PHY_N(0x130) /* I/Q estimate Q power acc lo 0 */ 482 #define BWN_NPHY_IQEST_QPACC_HI0 BWN_PHY_N(0x131) /* I/Q estimate Q power acc hi 0 */ 483 #define BWN_NPHY_IQEST_IQACC_LO1 BWN_PHY_N(0x134) /* I/Q estimate I/Q acc lo 1 */ 484 #define BWN_NPHY_IQEST_IQACC_HI1 BWN_PHY_N(0x135) /* I/Q estimate I/Q acc hi 1 */ 485 #define BWN_NPHY_IQEST_IPACC_LO1 BWN_PHY_N(0x136) /* I/Q estimate I power acc lo 1 */ 486 #define BWN_NPHY_IQEST_IPACC_HI1 BWN_PHY_N(0x137) /* I/Q estimate I power acc hi 1 */ 487 #define BWN_NPHY_IQEST_QPACC_LO1 BWN_PHY_N(0x138) /* I/Q estimate Q power acc lo 1 */ 488 #define BWN_NPHY_IQEST_QPACC_HI1 BWN_PHY_N(0x139) /* I/Q estimate Q power acc hi 1 */ 489 #define BWN_NPHY_MIMO_CRSTXEXT BWN_PHY_N(0x13A) /* MIMO PHY CRS TX extension */ 490 #define BWN_NPHY_PWRDET1 BWN_PHY_N(0x13B) /* Power det 1 */ 491 #define BWN_NPHY_PWRDET2 BWN_PHY_N(0x13C) /* Power det 2 */ 492 #define BWN_NPHY_MAXRSSI_DTIME BWN_PHY_N(0x13F) /* RSSI max RSSI delay time */ 493 #define BWN_NPHY_PIL_DW0 BWN_PHY_N(0x141) /* Pilot data weight 0 */ 494 #define BWN_NPHY_PIL_DW1 BWN_PHY_N(0x142) /* Pilot data weight 1 */ 495 #define BWN_NPHY_PIL_DW2 BWN_PHY_N(0x143) /* Pilot data weight 2 */ 496 #define BWN_NPHY_PIL_DW_BPSK 0x000F /* BPSK */ 497 #define BWN_NPHY_PIL_DW_BPSK_SHIFT 0 498 #define BWN_NPHY_PIL_DW_QPSK 0x00F0 /* QPSK */ 499 #define BWN_NPHY_PIL_DW_QPSK_SHIFT 4 500 #define BWN_NPHY_PIL_DW_16QAM 0x0F00 /* 16-QAM */ 501 #define BWN_NPHY_PIL_DW_16QAM_SHIFT 8 502 #define BWN_NPHY_PIL_DW_64QAM 0xF000 /* 64-QAM */ 503 #define BWN_NPHY_PIL_DW_64QAM_SHIFT 12 504 #define BWN_NPHY_FMDEM_CFG BWN_PHY_N(0x144) /* FM demodulation config */ 505 #define BWN_NPHY_PHASETR_A0 BWN_PHY_N(0x145) /* Phase track alpha 0 */ 506 #define BWN_NPHY_PHASETR_A1 BWN_PHY_N(0x146) /* Phase track alpha 1 */ 507 #define BWN_NPHY_PHASETR_A2 BWN_PHY_N(0x147) /* Phase track alpha 2 */ 508 #define BWN_NPHY_PHASETR_B0 BWN_PHY_N(0x148) /* Phase track beta 0 */ 509 #define BWN_NPHY_PHASETR_B1 BWN_PHY_N(0x149) /* Phase track beta 1 */ 510 #define BWN_NPHY_PHASETR_B2 BWN_PHY_N(0x14A) /* Phase track beta 2 */ 511 #define BWN_NPHY_PHASETR_CHG0 BWN_PHY_N(0x14B) /* Phase track change 0 */ 512 #define BWN_NPHY_PHASETR_CHG1 BWN_PHY_N(0x14C) /* Phase track change 1 */ 513 #define BWN_NPHY_PHASETW_OFF BWN_PHY_N(0x14D) /* Phase track offset */ 514 #define BWN_NPHY_RFCTL_DBG BWN_PHY_N(0x14E) /* RF control debug */ 515 #define BWN_NPHY_CCK_SHIFTB_REF BWN_PHY_N(0x150) /* CCK shiftbits reference var */ 516 #define BWN_NPHY_OVER_DGAIN0 BWN_PHY_N(0x152) /* Override digital gain 0 */ 517 #define BWN_NPHY_OVER_DGAIN1 BWN_PHY_N(0x153) /* Override digital gain 1 */ 518 #define BWN_NPHY_OVER_DGAIN_FDGV 0x0007 /* Force digital gain value */ 519 #define BWN_NPHY_OVER_DGAIN_FDGV_SHIFT 0 520 #define BWN_NPHY_OVER_DGAIN_FDGEN 0x0008 /* Force digital gain enable */ 521 #define BWN_NPHY_OVER_DGAIN_CCKDGECV 0xFF00 /* CCK digital gain enable count value */ 522 #define BWN_NPHY_OVER_DGAIN_CCKDGECV_SHIFT 8 523 #define BWN_NPHY_BIST_STAT4 BWN_PHY_N(0x156) /* BIST status 4 */ 524 #define BWN_NPHY_RADAR_MAL BWN_PHY_N(0x157) /* Radar MA length */ 525 #define BWN_NPHY_RADAR_SRCCTL BWN_PHY_N(0x158) /* Radar search control */ 526 #define BWN_NPHY_VLD_DTSIG BWN_PHY_N(0x159) /* VLD data tones sig */ 527 #define BWN_NPHY_VLD_DTDAT BWN_PHY_N(0x15A) /* VLD data tones data */ 528 #define BWN_NPHY_C1_BPHY_RXIQCA0 BWN_PHY_N(0x15B) /* Core 1 B PHY RX I/Q comp A0 */ 529 #define BWN_NPHY_C1_BPHY_RXIQCB0 BWN_PHY_N(0x15C) /* Core 1 B PHY RX I/Q comp B0 */ 530 #define BWN_NPHY_C2_BPHY_RXIQCA1 BWN_PHY_N(0x15D) /* Core 2 B PHY RX I/Q comp A1 */ 531 #define BWN_NPHY_C2_BPHY_RXIQCB1 BWN_PHY_N(0x15E) /* Core 2 B PHY RX I/Q comp B1 */ 532 #define BWN_NPHY_FREQGAIN0 BWN_PHY_N(0x160) /* Frequency gain 0 */ 533 #define BWN_NPHY_FREQGAIN1 BWN_PHY_N(0x161) /* Frequency gain 1 */ 534 #define BWN_NPHY_FREQGAIN2 BWN_PHY_N(0x162) /* Frequency gain 2 */ 535 #define BWN_NPHY_FREQGAIN3 BWN_PHY_N(0x163) /* Frequency gain 3 */ 536 #define BWN_NPHY_FREQGAIN4 BWN_PHY_N(0x164) /* Frequency gain 4 */ 537 #define BWN_NPHY_FREQGAIN5 BWN_PHY_N(0x165) /* Frequency gain 5 */ 538 #define BWN_NPHY_FREQGAIN6 BWN_PHY_N(0x166) /* Frequency gain 6 */ 539 #define BWN_NPHY_FREQGAIN7 BWN_PHY_N(0x167) /* Frequency gain 7 */ 540 #define BWN_NPHY_FREQGAIN_BYPASS BWN_PHY_N(0x168) /* Frequency gain bypass */ 541 #define BWN_NPHY_TRLOSS BWN_PHY_N(0x169) /* TR loss value */ 542 #define BWN_NPHY_C1_ADCCLIP BWN_PHY_N(0x16A) /* Core 1 ADC clip */ 543 #define BWN_NPHY_C2_ADCCLIP BWN_PHY_N(0x16B) /* Core 2 ADC clip */ 544 #define BWN_NPHY_LTRN_OFFGAIN BWN_PHY_N(0x16F) /* LTRN offset gain */ 545 #define BWN_NPHY_LTRN_OFF BWN_PHY_N(0x170) /* LTRN offset */ 546 #define BWN_NPHY_NRDATAT_WWISE20SIG BWN_PHY_N(0x171) /* # data tones WWiSE 20 sig */ 547 #define BWN_NPHY_NRDATAT_WWISE40SIG BWN_PHY_N(0x172) /* # data tones WWiSE 40 sig */ 548 #define BWN_NPHY_NRDATAT_TGNSYNC20SIG BWN_PHY_N(0x173) /* # data tones TGNsync 20 sig */ 549 #define BWN_NPHY_NRDATAT_TGNSYNC40SIG BWN_PHY_N(0x174) /* # data tones TGNsync 40 sig */ 550 #define BWN_NPHY_WWISE_CRCM0 BWN_PHY_N(0x175) /* WWiSE CRC mask 0 */ 551 #define BWN_NPHY_WWISE_CRCM1 BWN_PHY_N(0x176) /* WWiSE CRC mask 1 */ 552 #define BWN_NPHY_WWISE_CRCM2 BWN_PHY_N(0x177) /* WWiSE CRC mask 2 */ 553 #define BWN_NPHY_WWISE_CRCM3 BWN_PHY_N(0x178) /* WWiSE CRC mask 3 */ 554 #define BWN_NPHY_WWISE_CRCM4 BWN_PHY_N(0x179) /* WWiSE CRC mask 4 */ 555 #define BWN_NPHY_CHANEST_CDDSH BWN_PHY_N(0x17A) /* Channel estimate CDD shift */ 556 #define BWN_NPHY_HTAGC_WCNT BWN_PHY_N(0x17B) /* HT ADC wait counters */ 557 #define BWN_NPHY_SQPARM BWN_PHY_N(0x17C) /* SQ params */ 558 #define BWN_NPHY_MCSDUP6M BWN_PHY_N(0x17D) /* MCS dup 6M */ 559 #define BWN_NPHY_NDATAT_DUP40 BWN_PHY_N(0x17E) /* # data tones dup 40 */ 560 #define BWN_NPHY_DUP40_TGNSYNC_CYCD BWN_PHY_N(0x17F) /* Dup40 TGNsync cycle data */ 561 #define BWN_NPHY_DUP40_GFBL BWN_PHY_N(0x180) /* Dup40 GF format BL address */ 562 #define BWN_NPHY_DUP40_BL BWN_PHY_N(0x181) /* Dup40 format BL address */ 563 #define BWN_NPHY_LEGDUP_FTA BWN_PHY_N(0x182) /* Legacy dup frm table address */ 564 #define BWN_NPHY_PACPROC_DBG BWN_PHY_N(0x183) /* Packet processing debug */ 565 #define BWN_NPHY_PIL_CYC1 BWN_PHY_N(0x184) /* Pilot cycle counter 1 */ 566 #define BWN_NPHY_PIL_CYC2 BWN_PHY_N(0x185) /* Pilot cycle counter 2 */ 567 #define BWN_NPHY_TXF_20CO_S0A1 BWN_PHY_N(0x186) /* TX filter 20 coeff stage 0 A1 */ 568 #define BWN_NPHY_TXF_20CO_S0A2 BWN_PHY_N(0x187) /* TX filter 20 coeff stage 0 A2 */ 569 #define BWN_NPHY_TXF_20CO_S1A1 BWN_PHY_N(0x188) /* TX filter 20 coeff stage 1 A1 */ 570 #define BWN_NPHY_TXF_20CO_S1A2 BWN_PHY_N(0x189) /* TX filter 20 coeff stage 1 A2 */ 571 #define BWN_NPHY_TXF_20CO_S2A1 BWN_PHY_N(0x18A) /* TX filter 20 coeff stage 2 A1 */ 572 #define BWN_NPHY_TXF_20CO_S2A2 BWN_PHY_N(0x18B) /* TX filter 20 coeff stage 2 A2 */ 573 #define BWN_NPHY_TXF_20CO_S0B1 BWN_PHY_N(0x18C) /* TX filter 20 coeff stage 0 B1 */ 574 #define BWN_NPHY_TXF_20CO_S0B2 BWN_PHY_N(0x18D) /* TX filter 20 coeff stage 0 B2 */ 575 #define BWN_NPHY_TXF_20CO_S0B3 BWN_PHY_N(0x18E) /* TX filter 20 coeff stage 0 B3 */ 576 #define BWN_NPHY_TXF_20CO_S1B1 BWN_PHY_N(0x18F) /* TX filter 20 coeff stage 1 B1 */ 577 #define BWN_NPHY_TXF_20CO_S1B2 BWN_PHY_N(0x190) /* TX filter 20 coeff stage 1 B2 */ 578 #define BWN_NPHY_TXF_20CO_S1B3 BWN_PHY_N(0x191) /* TX filter 20 coeff stage 1 B3 */ 579 #define BWN_NPHY_TXF_20CO_S2B1 BWN_PHY_N(0x192) /* TX filter 20 coeff stage 2 B1 */ 580 #define BWN_NPHY_TXF_20CO_S2B2 BWN_PHY_N(0x193) /* TX filter 20 coeff stage 2 B2 */ 581 #define BWN_NPHY_TXF_20CO_S2B3 BWN_PHY_N(0x194) /* TX filter 20 coeff stage 2 B3 */ 582 #define BWN_NPHY_TXF_40CO_S0A1 BWN_PHY_N(0x195) /* TX filter 40 coeff stage 0 A1 */ 583 #define BWN_NPHY_TXF_40CO_S0A2 BWN_PHY_N(0x196) /* TX filter 40 coeff stage 0 A2 */ 584 #define BWN_NPHY_TXF_40CO_S1A1 BWN_PHY_N(0x197) /* TX filter 40 coeff stage 1 A1 */ 585 #define BWN_NPHY_TXF_40CO_S1A2 BWN_PHY_N(0x198) /* TX filter 40 coeff stage 1 A2 */ 586 #define BWN_NPHY_TXF_40CO_S2A1 BWN_PHY_N(0x199) /* TX filter 40 coeff stage 2 A1 */ 587 #define BWN_NPHY_TXF_40CO_S2A2 BWN_PHY_N(0x19A) /* TX filter 40 coeff stage 2 A2 */ 588 #define BWN_NPHY_TXF_40CO_S0B1 BWN_PHY_N(0x19B) /* TX filter 40 coeff stage 0 B1 */ 589 #define BWN_NPHY_TXF_40CO_S0B2 BWN_PHY_N(0x19C) /* TX filter 40 coeff stage 0 B2 */ 590 #define BWN_NPHY_TXF_40CO_S0B3 BWN_PHY_N(0x19D) /* TX filter 40 coeff stage 0 B3 */ 591 #define BWN_NPHY_TXF_40CO_S1B1 BWN_PHY_N(0x19E) /* TX filter 40 coeff stage 1 B1 */ 592 #define BWN_NPHY_TXF_40CO_S1B2 BWN_PHY_N(0x19F) /* TX filter 40 coeff stage 1 B2 */ 593 #define BWN_NPHY_TXF_40CO_S1B3 BWN_PHY_N(0x1A0) /* TX filter 40 coeff stage 1 B3 */ 594 #define BWN_NPHY_TXF_40CO_S2B1 BWN_PHY_N(0x1A1) /* TX filter 40 coeff stage 2 B1 */ 595 #define BWN_NPHY_TXF_40CO_S2B2 BWN_PHY_N(0x1A2) /* TX filter 40 coeff stage 2 B2 */ 596 #define BWN_NPHY_TXF_40CO_S2B3 BWN_PHY_N(0x1A3) /* TX filter 40 coeff stage 2 B3 */ 597 #define BWN_NPHY_RSSIMC_0I_RSSI_X BWN_PHY_N(0x1A4) /* RSSI multiplication coefficient 0 I RSSI X */ 598 #define BWN_NPHY_RSSIMC_0I_RSSI_Y BWN_PHY_N(0x1A5) /* RSSI multiplication coefficient 0 I RSSI Y */ 599 #define BWN_NPHY_RSSIMC_0I_RSSI_Z BWN_PHY_N(0x1A6) /* RSSI multiplication coefficient 0 I RSSI Z */ 600 #define BWN_NPHY_RSSIMC_0I_TBD BWN_PHY_N(0x1A7) /* RSSI multiplication coefficient 0 I TBD */ 601 #define BWN_NPHY_RSSIMC_0I_PWRDET BWN_PHY_N(0x1A8) /* RSSI multiplication coefficient 0 I power det */ 602 #define BWN_NPHY_RSSIMC_0I_TSSI BWN_PHY_N(0x1A9) /* RSSI multiplication coefficient 0 I TSSI */ 603 #define BWN_NPHY_RSSIMC_0Q_RSSI_X BWN_PHY_N(0x1AA) /* RSSI multiplication coefficient 0 Q RSSI X */ 604 #define BWN_NPHY_RSSIMC_0Q_RSSI_Y BWN_PHY_N(0x1AB) /* RSSI multiplication coefficient 0 Q RSSI Y */ 605 #define BWN_NPHY_RSSIMC_0Q_RSSI_Z BWN_PHY_N(0x1AC) /* RSSI multiplication coefficient 0 Q RSSI Z */ 606 #define BWN_NPHY_RSSIMC_0Q_TBD BWN_PHY_N(0x1AD) /* RSSI multiplication coefficient 0 Q TBD */ 607 #define BWN_NPHY_RSSIMC_0Q_PWRDET BWN_PHY_N(0x1AE) /* RSSI multiplication coefficient 0 Q power det */ 608 #define BWN_NPHY_RSSIMC_0Q_TSSI BWN_PHY_N(0x1AF) /* RSSI multiplication coefficient 0 Q TSSI */ 609 #define BWN_NPHY_RSSIMC_1I_RSSI_X BWN_PHY_N(0x1B0) /* RSSI multiplication coefficient 1 I RSSI X */ 610 #define BWN_NPHY_RSSIMC_1I_RSSI_Y BWN_PHY_N(0x1B1) /* RSSI multiplication coefficient 1 I RSSI Y */ 611 #define BWN_NPHY_RSSIMC_1I_RSSI_Z BWN_PHY_N(0x1B2) /* RSSI multiplication coefficient 1 I RSSI Z */ 612 #define BWN_NPHY_RSSIMC_1I_TBD BWN_PHY_N(0x1B3) /* RSSI multiplication coefficient 1 I TBD */ 613 #define BWN_NPHY_RSSIMC_1I_PWRDET BWN_PHY_N(0x1B4) /* RSSI multiplication coefficient 1 I power det */ 614 #define BWN_NPHY_RSSIMC_1I_TSSI BWN_PHY_N(0x1B5) /* RSSI multiplication coefficient 1 I TSSI */ 615 #define BWN_NPHY_RSSIMC_1Q_RSSI_X BWN_PHY_N(0x1B6) /* RSSI multiplication coefficient 1 Q RSSI X */ 616 #define BWN_NPHY_RSSIMC_1Q_RSSI_Y BWN_PHY_N(0x1B7) /* RSSI multiplication coefficient 1 Q RSSI Y */ 617 #define BWN_NPHY_RSSIMC_1Q_RSSI_Z BWN_PHY_N(0x1B8) /* RSSI multiplication coefficient 1 Q RSSI Z */ 618 #define BWN_NPHY_RSSIMC_1Q_TBD BWN_PHY_N(0x1B9) /* RSSI multiplication coefficient 1 Q TBD */ 619 #define BWN_NPHY_RSSIMC_1Q_PWRDET BWN_PHY_N(0x1BA) /* RSSI multiplication coefficient 1 Q power det */ 620 #define BWN_NPHY_RSSIMC_1Q_TSSI BWN_PHY_N(0x1BB) /* RSSI multiplication coefficient 1 Q TSSI */ 621 #define BWN_NPHY_SAMC_WCNT BWN_PHY_N(0x1BC) /* Sample collect wait counter */ 622 #define BWN_NPHY_PTHROUGH_CNT BWN_PHY_N(0x1BD) /* Pass-through counter */ 623 #define BWN_NPHY_LTRN_OFF_G20L BWN_PHY_N(0x1C4) /* LTRN offset gain 20L */ 624 #define BWN_NPHY_LTRN_OFF_20L BWN_PHY_N(0x1C5) /* LTRN offset 20L */ 625 #define BWN_NPHY_LTRN_OFF_G20U BWN_PHY_N(0x1C6) /* LTRN offset gain 20U */ 626 #define BWN_NPHY_LTRN_OFF_20U BWN_PHY_N(0x1C7) /* LTRN offset 20U */ 627 #define BWN_NPHY_DSSSCCK_GAINSL BWN_PHY_N(0x1C8) /* DSSS/CCK gain settle length */ 628 #define BWN_NPHY_GPIO_LOOUT BWN_PHY_N(0x1C9) /* GPIO low out */ 629 #define BWN_NPHY_GPIO_HIOUT BWN_PHY_N(0x1CA) /* GPIO high out */ 630 #define BWN_NPHY_CRS_CHECK BWN_PHY_N(0x1CB) /* CRS check */ 631 #define BWN_NPHY_ML_LOGSS_RAT BWN_PHY_N(0x1CC) /* ML/logss ratio */ 632 #define BWN_NPHY_DUPSCALE BWN_PHY_N(0x1CD) /* Dup scale */ 633 #define BWN_NPHY_BW1A BWN_PHY_N(0x1CE) /* BW 1A */ 634 #define BWN_NPHY_BW2 BWN_PHY_N(0x1CF) /* BW 2 */ 635 #define BWN_NPHY_BW3 BWN_PHY_N(0x1D0) /* BW 3 */ 636 #define BWN_NPHY_BW4 BWN_PHY_N(0x1D1) /* BW 4 */ 637 #define BWN_NPHY_BW5 BWN_PHY_N(0x1D2) /* BW 5 */ 638 #define BWN_NPHY_BW6 BWN_PHY_N(0x1D3) /* BW 6 */ 639 #define BWN_NPHY_COALEN0 BWN_PHY_N(0x1D4) /* Coarse length 0 */ 640 #define BWN_NPHY_COALEN1 BWN_PHY_N(0x1D5) /* Coarse length 1 */ 641 #define BWN_NPHY_CRSTHRES_1U BWN_PHY_N(0x1D6) /* CRS threshold 1 U */ 642 #define BWN_NPHY_CRSTHRES_2U BWN_PHY_N(0x1D7) /* CRS threshold 2 U */ 643 #define BWN_NPHY_CRSTHRES_3U BWN_PHY_N(0x1D8) /* CRS threshold 3 U */ 644 #define BWN_NPHY_CRSCTL_U BWN_PHY_N(0x1D9) /* CRS control U */ 645 #define BWN_NPHY_CRSTHRES_1L BWN_PHY_N(0x1DA) /* CRS threshold 1 L */ 646 #define BWN_NPHY_CRSTHRES_2L BWN_PHY_N(0x1DB) /* CRS threshold 2 L */ 647 #define BWN_NPHY_CRSTHRES_3L BWN_PHY_N(0x1DC) /* CRS threshold 3 L */ 648 #define BWN_NPHY_CRSCTL_L BWN_PHY_N(0x1DD) /* CRS control L */ 649 #define BWN_NPHY_STRA_1U BWN_PHY_N(0x1DE) /* STR address 1 U */ 650 #define BWN_NPHY_STRA_2U BWN_PHY_N(0x1DF) /* STR address 2 U */ 651 #define BWN_NPHY_STRA_1L BWN_PHY_N(0x1E0) /* STR address 1 L */ 652 #define BWN_NPHY_STRA_2L BWN_PHY_N(0x1E1) /* STR address 2 L */ 653 #define BWN_NPHY_CRSCHECK1 BWN_PHY_N(0x1E2) /* CRS check 1 */ 654 #define BWN_NPHY_CRSCHECK2 BWN_PHY_N(0x1E3) /* CRS check 2 */ 655 #define BWN_NPHY_CRSCHECK3 BWN_PHY_N(0x1E4) /* CRS check 3 */ 656 #define BWN_NPHY_JMPSTP0 BWN_PHY_N(0x1E5) /* Jump step 0 */ 657 #define BWN_NPHY_JMPSTP1 BWN_PHY_N(0x1E6) /* Jump step 1 */ 658 #define BWN_NPHY_TXPCTL_CMD BWN_PHY_N(0x1E7) /* TX power control command */ 659 #define BWN_NPHY_TXPCTL_CMD_INIT 0x007F /* Init */ 660 #define BWN_NPHY_TXPCTL_CMD_INIT_SHIFT 0 661 #define BWN_NPHY_TXPCTL_CMD_COEFF 0x2000 /* Power control coefficients */ 662 #define BWN_NPHY_TXPCTL_CMD_HWPCTLEN 0x4000 /* Hardware TX power control enable */ 663 #define BWN_NPHY_TXPCTL_CMD_PCTLEN 0x8000 /* TX power control enable */ 664 #define BWN_NPHY_TXPCTL_N BWN_PHY_N(0x1E8) /* TX power control N num */ 665 #define BWN_NPHY_TXPCTL_N_TSSID 0x00FF /* N TSSI delay */ 666 #define BWN_NPHY_TXPCTL_N_TSSID_SHIFT 0 667 #define BWN_NPHY_TXPCTL_N_NPTIL2 0x0700 /* N PT integer log2 */ 668 #define BWN_NPHY_TXPCTL_N_NPTIL2_SHIFT 8 669 #define BWN_NPHY_TXPCTL_ITSSI BWN_PHY_N(0x1E9) /* TX power control idle TSSI */ 670 #define BWN_NPHY_TXPCTL_ITSSI_0 0x003F /* Idle TSSI 0 */ 671 #define BWN_NPHY_TXPCTL_ITSSI_0_SHIFT 0 672 #define BWN_NPHY_TXPCTL_ITSSI_1 0x3F00 /* Idle TSSI 1 */ 673 #define BWN_NPHY_TXPCTL_ITSSI_1_SHIFT 8 674 #define BWN_NPHY_TXPCTL_ITSSI_BINF 0x8000 /* Raw TSSI offset bin format */ 675 #define BWN_NPHY_TXPCTL_TPWR BWN_PHY_N(0x1EA) /* TX power control target power */ 676 #define BWN_NPHY_TXPCTL_TPWR_0 0x00FF /* Power 0 */ 677 #define BWN_NPHY_TXPCTL_TPWR_0_SHIFT 0 678 #define BWN_NPHY_TXPCTL_TPWR_1 0xFF00 /* Power 1 */ 679 #define BWN_NPHY_TXPCTL_TPWR_1_SHIFT 8 680 #define BWN_NPHY_TXPCTL_BIDX BWN_PHY_N(0x1EB) /* TX power control base index */ 681 #define BWN_NPHY_TXPCTL_BIDX_0 0x007F /* uC base index 0 */ 682 #define BWN_NPHY_TXPCTL_BIDX_0_SHIFT 0 683 #define BWN_NPHY_TXPCTL_BIDX_1 0x7F00 /* uC base index 1 */ 684 #define BWN_NPHY_TXPCTL_BIDX_1_SHIFT 8 685 #define BWN_NPHY_TXPCTL_BIDX_LOAD 0x8000 /* Load base index */ 686 #define BWN_NPHY_TXPCTL_PIDX BWN_PHY_N(0x1EC) /* TX power control power index */ 687 #define BWN_NPHY_TXPCTL_PIDX_0 0x007F /* uC power index 0 */ 688 #define BWN_NPHY_TXPCTL_PIDX_0_SHIFT 0 689 #define BWN_NPHY_TXPCTL_PIDX_1 0x7F00 /* uC power index 1 */ 690 #define BWN_NPHY_TXPCTL_PIDX_1_SHIFT 8 691 #define BWN_NPHY_C1_TXPCTL_STAT BWN_PHY_N(0x1ED) /* Core 1 TX power control status */ 692 #define BWN_NPHY_C2_TXPCTL_STAT BWN_PHY_N(0x1EE) /* Core 2 TX power control status */ 693 #define BWN_NPHY_TXPCTL_STAT_EST 0x00FF /* Estimated power */ 694 #define BWN_NPHY_TXPCTL_STAT_EST_SHIFT 0 695 #define BWN_NPHY_TXPCTL_STAT_BIDX 0x7F00 /* Base index */ 696 #define BWN_NPHY_TXPCTL_STAT_BIDX_SHIFT 8 697 #define BWN_NPHY_TXPCTL_STAT_ESTVALID 0x8000 /* Estimated power valid */ 698 #define BWN_NPHY_SMALLSGS_LEN BWN_PHY_N(0x1EF) /* Small sig gain settle length */ 699 #define BWN_NPHY_PHYSTAT_GAIN0 BWN_PHY_N(0x1F0) /* PHY stats gain info 0 */ 700 #define BWN_NPHY_PHYSTAT_GAIN1 BWN_PHY_N(0x1F1) /* PHY stats gain info 1 */ 701 #define BWN_NPHY_PHYSTAT_FREQEST BWN_PHY_N(0x1F2) /* PHY stats frequency estimate */ 702 #define BWN_NPHY_PHYSTAT_ADVRET BWN_PHY_N(0x1F3) /* PHY stats ADV retard */ 703 #define BWN_NPHY_PHYLB_MODE BWN_PHY_N(0x1F4) /* PHY loopback mode */ 704 #define BWN_NPHY_TONE_MIDX20_1 BWN_PHY_N(0x1F5) /* Tone map index 20/1 */ 705 #define BWN_NPHY_TONE_MIDX20_2 BWN_PHY_N(0x1F6) /* Tone map index 20/2 */ 706 #define BWN_NPHY_TONE_MIDX20_3 BWN_PHY_N(0x1F7) /* Tone map index 20/3 */ 707 #define BWN_NPHY_TONE_MIDX40_1 BWN_PHY_N(0x1F8) /* Tone map index 40/1 */ 708 #define BWN_NPHY_TONE_MIDX40_2 BWN_PHY_N(0x1F9) /* Tone map index 40/2 */ 709 #define BWN_NPHY_TONE_MIDX40_3 BWN_PHY_N(0x1FA) /* Tone map index 40/3 */ 710 #define BWN_NPHY_TONE_MIDX40_4 BWN_PHY_N(0x1FB) /* Tone map index 40/4 */ 711 #define BWN_NPHY_PILTONE_MIDX1 BWN_PHY_N(0x1FC) /* Pilot tone map index 1 */ 712 #define BWN_NPHY_PILTONE_MIDX2 BWN_PHY_N(0x1FD) /* Pilot tone map index 2 */ 713 #define BWN_NPHY_PILTONE_MIDX3 BWN_PHY_N(0x1FE) /* Pilot tone map index 3 */ 714 #define BWN_NPHY_TXRIFS_FRDEL BWN_PHY_N(0x1FF) /* TX RIFS frame delay */ 715 #define BWN_NPHY_AFESEQ_RX2TX_PUD_40M BWN_PHY_N(0x200) /* AFE seq rx2tx power up/down delay 40M */ 716 #define BWN_NPHY_AFESEQ_TX2RX_PUD_40M BWN_PHY_N(0x201) /* AFE seq tx2rx power up/down delay 40M */ 717 #define BWN_NPHY_AFESEQ_RX2TX_PUD_20M BWN_PHY_N(0x202) /* AFE seq rx2tx power up/down delay 20M */ 718 #define BWN_NPHY_AFESEQ_TX2RX_PUD_20M BWN_PHY_N(0x203) /* AFE seq tx2rx power up/down delay 20M */ 719 #define BWN_NPHY_RX_SIGCTL BWN_PHY_N(0x204) /* RX signal control */ 720 #define BWN_NPHY_RXPIL_CYCNT0 BWN_PHY_N(0x205) /* RX pilot cycle counter 0 */ 721 #define BWN_NPHY_RXPIL_CYCNT1 BWN_PHY_N(0x206) /* RX pilot cycle counter 1 */ 722 #define BWN_NPHY_RXPIL_CYCNT2 BWN_PHY_N(0x207) /* RX pilot cycle counter 2 */ 723 #define BWN_NPHY_AFESEQ_RX2TX_PUD_10M BWN_PHY_N(0x208) /* AFE seq rx2tx power up/down delay 10M */ 724 #define BWN_NPHY_AFESEQ_TX2RX_PUD_10M BWN_PHY_N(0x209) /* AFE seq tx2rx power up/down delay 10M */ 725 #define BWN_NPHY_DSSSCCK_CRSEXTL BWN_PHY_N(0x20A) /* DSSS/CCK CRS extension length */ 726 #define BWN_NPHY_ML_LOGSS_RATSLOPE BWN_PHY_N(0x20B) /* ML/logss ratio slope */ 727 #define BWN_NPHY_RIFS_SRCTL BWN_PHY_N(0x20C) /* RIFS search timeout length */ 728 #define BWN_NPHY_TXREALFD BWN_PHY_N(0x20D) /* TX real frame delay */ 729 #define BWN_NPHY_HPANT_SWTHRES BWN_PHY_N(0x20E) /* High power antenna switch threshold */ 730 #define BWN_NPHY_EDCRS_ASSTHRES0 BWN_PHY_N(0x210) /* ED CRS assert threshold 0 */ 731 #define BWN_NPHY_EDCRS_ASSTHRES1 BWN_PHY_N(0x211) /* ED CRS assert threshold 1 */ 732 #define BWN_NPHY_EDCRS_DEASSTHRES0 BWN_PHY_N(0x212) /* ED CRS deassert threshold 0 */ 733 #define BWN_NPHY_EDCRS_DEASSTHRES1 BWN_PHY_N(0x213) /* ED CRS deassert threshold 1 */ 734 #define BWN_NPHY_STR_WTIME20U BWN_PHY_N(0x214) /* STR wait time 20U */ 735 #define BWN_NPHY_STR_WTIME20L BWN_PHY_N(0x215) /* STR wait time 20L */ 736 #define BWN_NPHY_TONE_MIDX657M BWN_PHY_N(0x216) /* Tone map index 657M */ 737 #define BWN_NPHY_HTSIGTONES BWN_PHY_N(0x217) /* HT signal tones */ 738 #define BWN_NPHY_RSSI1 BWN_PHY_N(0x219) /* RSSI value 1 */ 739 #define BWN_NPHY_RSSI2 BWN_PHY_N(0x21A) /* RSSI value 2 */ 740 #define BWN_NPHY_CHAN_ESTHANG BWN_PHY_N(0x21D) /* Channel estimate hang */ 741 #define BWN_NPHY_FINERX2_CGC BWN_PHY_N(0x221) /* Fine RX 2 clock gate control */ 742 #define BWN_NPHY_FINERX2_CGC_DECGC 0x0008 /* Decode gated clocks */ 743 #define BWN_NPHY_TXPCTL_INIT BWN_PHY_N(0x222) /* TX power control init */ 744 #define BWN_NPHY_TXPCTL_INIT_PIDXI1 0x00FF /* Power index init 1 */ 745 #define BWN_NPHY_TXPCTL_INIT_PIDXI1_SHIFT 0 746 #define BWN_NPHY_ED_CRSEN BWN_PHY_N(0x223) 747 #define BWN_NPHY_ED_CRS40ASSERTTHRESH0 BWN_PHY_N(0x224) 748 #define BWN_NPHY_ED_CRS40ASSERTTHRESH1 BWN_PHY_N(0x225) 749 #define BWN_NPHY_ED_CRS40DEASSERTTHRESH0 BWN_PHY_N(0x226) 750 #define BWN_NPHY_ED_CRS40DEASSERTTHRESH1 BWN_PHY_N(0x227) 751 #define BWN_NPHY_ED_CRS20LASSERTTHRESH0 BWN_PHY_N(0x228) 752 #define BWN_NPHY_ED_CRS20LASSERTTHRESH1 BWN_PHY_N(0x229) 753 #define BWN_NPHY_ED_CRS20LDEASSERTTHRESH0 BWN_PHY_N(0x22A) 754 #define BWN_NPHY_ED_CRS20LDEASSERTTHRESH1 BWN_PHY_N(0x22B) 755 #define BWN_NPHY_ED_CRS20UASSERTTHRESH0 BWN_PHY_N(0x22C) 756 #define BWN_NPHY_ED_CRS20UASSERTTHRESH1 BWN_PHY_N(0x22D) 757 #define BWN_NPHY_ED_CRS20UDEASSERTTHRESH0 BWN_PHY_N(0x22E) 758 #define BWN_NPHY_ED_CRS20UDEASSERTTHRESH1 BWN_PHY_N(0x22F) 759 #define BWN_NPHY_ED_CRS BWN_PHY_N(0x230) 760 #define BWN_NPHY_TIMEOUTEN BWN_PHY_N(0x231) 761 #define BWN_NPHY_OFDMPAYDECODETIMEOUTLEN BWN_PHY_N(0x232) 762 #define BWN_NPHY_CCKPAYDECODETIMEOUTLEN BWN_PHY_N(0x233) 763 #define BWN_NPHY_NONPAYDECODETIMEOUTLEN BWN_PHY_N(0x234) 764 #define BWN_NPHY_TIMEOUTSTATUS BWN_PHY_N(0x235) 765 #define BWN_NPHY_RFCTRLCORE0GPIO0 BWN_PHY_N(0x236) 766 #define BWN_NPHY_RFCTRLCORE0GPIO1 BWN_PHY_N(0x237) 767 #define BWN_NPHY_RFCTRLCORE0GPIO2 BWN_PHY_N(0x238) 768 #define BWN_NPHY_RFCTRLCORE0GPIO3 BWN_PHY_N(0x239) 769 #define BWN_NPHY_RFCTRLCORE1GPIO0 BWN_PHY_N(0x23A) 770 #define BWN_NPHY_RFCTRLCORE1GPIO1 BWN_PHY_N(0x23B) 771 #define BWN_NPHY_RFCTRLCORE1GPIO2 BWN_PHY_N(0x23C) 772 #define BWN_NPHY_RFCTRLCORE1GPIO3 BWN_PHY_N(0x23D) 773 #define BWN_NPHY_BPHYTESTCONTROL BWN_PHY_N(0x23E) 774 775 /* REV3+ */ 776 #define BWN_NPHY_FORCEFRONT0 BWN_PHY_N(0x23F) 777 #define BWN_NPHY_FORCEFRONT1 BWN_PHY_N(0x240) 778 #define BWN_NPHY_NORMVARHYSTTH BWN_PHY_N(0x241) 779 #define BWN_NPHY_TXCCKERROR BWN_PHY_N(0x242) 780 #define BWN_NPHY_AFESEQINITDACGAIN BWN_PHY_N(0x243) 781 #define BWN_NPHY_TXANTSWLUT BWN_PHY_N(0x244) 782 #define BWN_NPHY_CORECONFIG BWN_PHY_N(0x245) 783 #define BWN_NPHY_ANTENNADIVDWELLTIME BWN_PHY_N(0x246) 784 #define BWN_NPHY_ANTENNACCKDIVDWELLTIME BWN_PHY_N(0x247) 785 #define BWN_NPHY_ANTENNADIVBACKOFFGAIN BWN_PHY_N(0x248) 786 #define BWN_NPHY_ANTENNADIVMINGAIN BWN_PHY_N(0x249) 787 #define BWN_NPHY_BRDSEL_NORMVARHYSTTH BWN_PHY_N(0x24A) 788 #define BWN_NPHY_RXANTSWITCHCTRL BWN_PHY_N(0x24B) 789 #define BWN_NPHY_ENERGYDROPTIMEOUTLEN2 BWN_PHY_N(0x24C) 790 #define BWN_NPHY_ML_LOG_TXEVM0 BWN_PHY_N(0x250) 791 #define BWN_NPHY_ML_LOG_TXEVM1 BWN_PHY_N(0x251) 792 #define BWN_NPHY_ML_LOG_TXEVM2 BWN_PHY_N(0x252) 793 #define BWN_NPHY_ML_LOG_TXEVM3 BWN_PHY_N(0x253) 794 #define BWN_NPHY_ML_LOG_TXEVM4 BWN_PHY_N(0x254) 795 #define BWN_NPHY_ML_LOG_TXEVM5 BWN_PHY_N(0x255) 796 #define BWN_NPHY_ML_LOG_TXEVM6 BWN_PHY_N(0x256) 797 #define BWN_NPHY_ML_LOG_TXEVM7 BWN_PHY_N(0x257) 798 #define BWN_NPHY_ML_SCALE_TWEAK BWN_PHY_N(0x258) 799 #define BWN_NPHY_MLUA BWN_PHY_N(0x259) 800 #define BWN_NPHY_ZFUA BWN_PHY_N(0x25A) 801 #define BWN_NPHY_CHANUPSYM01 BWN_PHY_N(0x25B) 802 #define BWN_NPHY_CHANUPSYM2 BWN_PHY_N(0x25C) 803 #define BWN_NPHY_RXSTRNFILT20NUM00 BWN_PHY_N(0x25D) 804 #define BWN_NPHY_RXSTRNFILT20NUM01 BWN_PHY_N(0x25E) 805 #define BWN_NPHY_RXSTRNFILT20NUM02 BWN_PHY_N(0x25F) 806 #define BWN_NPHY_RXSTRNFILT20DEN00 BWN_PHY_N(0x260) 807 #define BWN_NPHY_RXSTRNFILT20DEN01 BWN_PHY_N(0x261) 808 #define BWN_NPHY_RXSTRNFILT20NUM10 BWN_PHY_N(0x262) 809 #define BWN_NPHY_RXSTRNFILT20NUM11 BWN_PHY_N(0x263) 810 #define BWN_NPHY_RXSTRNFILT20NUM12 BWN_PHY_N(0x264) 811 #define BWN_NPHY_RXSTRNFILT20DEN10 BWN_PHY_N(0x265) 812 #define BWN_NPHY_RXSTRNFILT20DEN11 BWN_PHY_N(0x266) 813 #define BWN_NPHY_RXSTRNFILT40NUM00 BWN_PHY_N(0x267) 814 #define BWN_NPHY_RXSTRNFILT40NUM01 BWN_PHY_N(0x268) 815 #define BWN_NPHY_RXSTRNFILT40NUM02 BWN_PHY_N(0x269) 816 #define BWN_NPHY_RXSTRNFILT40DEN00 BWN_PHY_N(0x26A) 817 #define BWN_NPHY_RXSTRNFILT40DEN01 BWN_PHY_N(0x26B) 818 #define BWN_NPHY_RXSTRNFILT40NUM10 BWN_PHY_N(0x26C) 819 #define BWN_NPHY_RXSTRNFILT40NUM11 BWN_PHY_N(0x26D) 820 #define BWN_NPHY_RXSTRNFILT40NUM12 BWN_PHY_N(0x26E) 821 #define BWN_NPHY_RXSTRNFILT40DEN10 BWN_PHY_N(0x26F) 822 #define BWN_NPHY_RXSTRNFILT40DEN11 BWN_PHY_N(0x270) 823 #define BWN_NPHY_CRSHIGHPOWTHRESHOLD1 BWN_PHY_N(0x271) 824 #define BWN_NPHY_CRSHIGHPOWTHRESHOLD2 BWN_PHY_N(0x272) 825 #define BWN_NPHY_CRSHIGHLOWPOWTHRESHOLD BWN_PHY_N(0x273) 826 #define BWN_NPHY_CRSHIGHPOWTHRESHOLD1L BWN_PHY_N(0x274) 827 #define BWN_NPHY_CRSHIGHPOWTHRESHOLD2L BWN_PHY_N(0x275) 828 #define BWN_NPHY_CRSHIGHLOWPOWTHRESHOLDL BWN_PHY_N(0x276) 829 #define BWN_NPHY_CRSHIGHPOWTHRESHOLD1U BWN_PHY_N(0x277) 830 #define BWN_NPHY_CRSHIGHPOWTHRESHOLD2U BWN_PHY_N(0x278) 831 #define BWN_NPHY_CRSHIGHLOWPOWTHRESHOLDU BWN_PHY_N(0x279) 832 #define BWN_NPHY_CRSACIDETECTTHRESH BWN_PHY_N(0x27A) 833 #define BWN_NPHY_CRSACIDETECTTHRESHL BWN_PHY_N(0x27B) 834 #define BWN_NPHY_CRSACIDETECTTHRESHU BWN_PHY_N(0x27C) 835 #define BWN_NPHY_CRSMINPOWER0 BWN_PHY_N(0x27D) 836 #define BWN_NPHY_CRSMINPOWER1 BWN_PHY_N(0x27E) 837 #define BWN_NPHY_CRSMINPOWER2 BWN_PHY_N(0x27F) 838 #define BWN_NPHY_CRSMINPOWERL0 BWN_PHY_N(0x280) 839 #define BWN_NPHY_CRSMINPOWERL1 BWN_PHY_N(0x281) 840 #define BWN_NPHY_CRSMINPOWERL2 BWN_PHY_N(0x282) 841 #define BWN_NPHY_CRSMINPOWERU0 BWN_PHY_N(0x283) 842 #define BWN_NPHY_CRSMINPOWERU1 BWN_PHY_N(0x284) 843 #define BWN_NPHY_CRSMINPOWERU2 BWN_PHY_N(0x285) 844 #define BWN_NPHY_STRPARAM BWN_PHY_N(0x286) 845 #define BWN_NPHY_STRPARAML BWN_PHY_N(0x287) 846 #define BWN_NPHY_STRPARAMU BWN_PHY_N(0x288) 847 #define BWN_NPHY_BPHYCRSMINPOWER0 BWN_PHY_N(0x289) 848 #define BWN_NPHY_BPHYCRSMINPOWER1 BWN_PHY_N(0x28A) 849 #define BWN_NPHY_BPHYCRSMINPOWER2 BWN_PHY_N(0x28B) 850 #define BWN_NPHY_BPHYFILTDEN0COEF BWN_PHY_N(0x28C) 851 #define BWN_NPHY_BPHYFILTDEN1COEF BWN_PHY_N(0x28D) 852 #define BWN_NPHY_BPHYFILTDEN2COEF BWN_PHY_N(0x28E) 853 #define BWN_NPHY_BPHYFILTNUM0COEF BWN_PHY_N(0x28F) 854 #define BWN_NPHY_BPHYFILTNUM1COEF BWN_PHY_N(0x290) 855 #define BWN_NPHY_BPHYFILTNUM2COEF BWN_PHY_N(0x291) 856 #define BWN_NPHY_BPHYFILTNUM01COEF2 BWN_PHY_N(0x292) 857 #define BWN_NPHY_BPHYFILTBYPASS BWN_PHY_N(0x293) 858 #define BWN_NPHY_SGILTRNOFFSET BWN_PHY_N(0x294) 859 #define BWN_NPHY_RADAR_T2_MIN BWN_PHY_N(0x295) 860 #define BWN_NPHY_TXPWRCTRLDAMPING BWN_PHY_N(0x296) 861 #define BWN_NPHY_PAPD_EN0 BWN_PHY_N(0x297) /* PAPD Enable0 TBD */ 862 #define BWN_NPHY_EPS_TABLE_ADJ0 BWN_PHY_N(0x298) /* EPS Table Adj0 TBD */ 863 #define BWN_NPHY_EPS_OVERRIDEI_0 BWN_PHY_N(0x299) 864 #define BWN_NPHY_EPS_OVERRIDEQ_0 BWN_PHY_N(0x29A) 865 #define BWN_NPHY_PAPD_EN1 BWN_PHY_N(0x29B) /* PAPD Enable1 TBD */ 866 #define BWN_NPHY_EPS_TABLE_ADJ1 BWN_PHY_N(0x29C) /* EPS Table Adj1 TBD */ 867 #define BWN_NPHY_EPS_OVERRIDEI_1 BWN_PHY_N(0x29D) 868 #define BWN_NPHY_EPS_OVERRIDEQ_1 BWN_PHY_N(0x29E) 869 #define BWN_NPHY_PAPD_CAL_ADDRESS BWN_PHY_N(0x29F) 870 #define BWN_NPHY_PAPD_CAL_YREFEPSILON BWN_PHY_N(0x2A0) 871 #define BWN_NPHY_PAPD_CAL_SETTLE BWN_PHY_N(0x2A1) 872 #define BWN_NPHY_PAPD_CAL_CORRELATE BWN_PHY_N(0x2A2) 873 #define BWN_NPHY_PAPD_CAL_SHIFTS0 BWN_PHY_N(0x2A3) 874 #define BWN_NPHY_PAPD_CAL_SHIFTS1 BWN_PHY_N(0x2A4) 875 #define BWN_NPHY_SAMPLE_START_ADDR BWN_PHY_N(0x2A5) 876 #define BWN_NPHY_RADAR_ADC_TO_DBM BWN_PHY_N(0x2A6) 877 #define BWN_NPHY_REV3_C2_INITGAIN_A BWN_PHY_N(0x2A7) 878 #define BWN_NPHY_REV3_C2_INITGAIN_B BWN_PHY_N(0x2A8) 879 #define BWN_NPHY_REV3_C2_CLIP_HIGAIN_A BWN_PHY_N(0x2A9) 880 #define BWN_NPHY_REV3_C2_CLIP_HIGAIN_B BWN_PHY_N(0x2AA) 881 #define BWN_NPHY_REV3_C2_CLIP_MEDGAIN_A BWN_PHY_N(0x2AB) 882 #define BWN_NPHY_REV3_C2_CLIP_MEDGAIN_B BWN_PHY_N(0x2AC) 883 #define BWN_NPHY_REV3_C2_CLIP_LOGAIN_A BWN_PHY_N(0x2AD) 884 #define BWN_NPHY_REV3_C2_CLIP_LOGAIN_B BWN_PHY_N(0x2AE) 885 #define BWN_NPHY_REV3_C2_CLIP2_GAIN_A BWN_PHY_N(0x2AF) 886 #define BWN_NPHY_REV3_C2_CLIP2_GAIN_B BWN_PHY_N(0x2B0) 887 888 #define BWN_NPHY_REV7_RF_CTL_MISC_REG3 BWN_PHY_N(0x340) 889 #define BWN_NPHY_REV7_RF_CTL_MISC_REG4 BWN_PHY_N(0x341) 890 #define BWN_NPHY_REV7_RF_CTL_OVER3 BWN_PHY_N(0x342) 891 #define BWN_NPHY_REV7_RF_CTL_OVER4 BWN_PHY_N(0x343) 892 #define BWN_NPHY_REV7_RF_CTL_MISC_REG5 BWN_PHY_N(0x344) 893 #define BWN_NPHY_REV7_RF_CTL_MISC_REG6 BWN_PHY_N(0x345) 894 #define BWN_NPHY_REV7_RF_CTL_OVER5 BWN_PHY_N(0x346) 895 #define BWN_NPHY_REV7_RF_CTL_OVER6 BWN_PHY_N(0x347) 896 897 #define BWN_PHY_B_BBCFG BWN_PHY_N_BMODE(0x001) /* BB config */ 898 #define BWN_PHY_B_BBCFG_RSTCCA 0x4000 /* Reset CCA */ 899 #define BWN_PHY_B_BBCFG_RSTRX 0x8000 /* Reset RX */ 900 #define BWN_PHY_B_TEST BWN_PHY_N_BMODE(0x00A) 901 902 #endif /* __IF_BWN_PHY_N_REGS_H__ */ 903