xref: /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/bcmsrom_tbl.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Table that encodes the srom formats for PCI/PCIe NICs.
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * Copyright (C) 2020, Broadcom.
5*4882a593Smuzhiyun  *
6*4882a593Smuzhiyun  *      Unless you and Broadcom execute a separate written software license
7*4882a593Smuzhiyun  * agreement governing use of this software, this software is licensed to you
8*4882a593Smuzhiyun  * under the terms of the GNU General Public License version 2 (the "GPL"),
9*4882a593Smuzhiyun  * available at http://www.broadcom.com/licenses/GPLv2.php, with the
10*4882a593Smuzhiyun  * following added to such license:
11*4882a593Smuzhiyun  *
12*4882a593Smuzhiyun  *      As a special exception, the copyright holders of this software give you
13*4882a593Smuzhiyun  * permission to link this software with independent modules, and to copy and
14*4882a593Smuzhiyun  * distribute the resulting executable under terms of your choice, provided that
15*4882a593Smuzhiyun  * you also meet, for each linked independent module, the terms and conditions of
16*4882a593Smuzhiyun  * the license of that module.  An independent module is a module which is not
17*4882a593Smuzhiyun  * derived from this software.  The special exception does not apply to any
18*4882a593Smuzhiyun  * modifications of the software.
19*4882a593Smuzhiyun  *
20*4882a593Smuzhiyun  *
21*4882a593Smuzhiyun  * <<Broadcom-WL-IPTag/Dual:>>
22*4882a593Smuzhiyun  */
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun #ifndef	_bcmsrom_tbl_h_
25*4882a593Smuzhiyun #define	_bcmsrom_tbl_h_
26*4882a593Smuzhiyun 
27*4882a593Smuzhiyun #include <sbpcmcia.h>
28*4882a593Smuzhiyun #include <bcmsrom_fmt.h>
29*4882a593Smuzhiyun 
30*4882a593Smuzhiyun typedef struct {
31*4882a593Smuzhiyun 	const char *name;
32*4882a593Smuzhiyun 	uint32	revmask;
33*4882a593Smuzhiyun 	uint32	flags;
34*4882a593Smuzhiyun 	uint16	off;
35*4882a593Smuzhiyun 	uint16	mask;
36*4882a593Smuzhiyun } sromvar_t;
37*4882a593Smuzhiyun 
38*4882a593Smuzhiyun #define SRFL_MORE	1		/* value continues as described by the next entry */
39*4882a593Smuzhiyun #define	SRFL_NOFFS	2		/* value bits can't be all one's */
40*4882a593Smuzhiyun #define	SRFL_PRHEX	4		/* value is in hexdecimal format */
41*4882a593Smuzhiyun #define	SRFL_PRSIGN	8		/* value is in signed decimal format */
42*4882a593Smuzhiyun #define	SRFL_CCODE	0x10		/* value is in country code format */
43*4882a593Smuzhiyun #define	SRFL_ETHADDR	0x20		/* value is an Ethernet address */
44*4882a593Smuzhiyun #define SRFL_UNUSED	0x40		/* unused, was SRFL_LEDDC */
45*4882a593Smuzhiyun #define SRFL_NOVAR	0x80		/* do not generate a nvram param, entry is for mfgc */
46*4882a593Smuzhiyun #define SRFL_ARRAY	0x100		/* value is in an array. All elements EXCEPT FOR THE LAST
47*4882a593Smuzhiyun 					 * ONE in the array should have this flag set.
48*4882a593Smuzhiyun 					 */
49*4882a593Smuzhiyun #define PRHEX_N_MORE (SRFL_PRHEX | SRFL_MORE)
50*4882a593Smuzhiyun 
51*4882a593Smuzhiyun #define SROM_DEVID_PCIE	48
52*4882a593Smuzhiyun 
53*4882a593Smuzhiyun /**
54*4882a593Smuzhiyun  * Assumptions:
55*4882a593Smuzhiyun  * - Ethernet address spans across 3 consecutive words
56*4882a593Smuzhiyun  *
57*4882a593Smuzhiyun  * Table rules:
58*4882a593Smuzhiyun  * - Add multiple entries next to each other if a value spans across multiple words
59*4882a593Smuzhiyun  *   (even multiple fields in the same word) with each entry except the last having
60*4882a593Smuzhiyun  *   it's SRFL_MORE bit set.
61*4882a593Smuzhiyun  * - Ethernet address entry does not follow above rule and must not have SRFL_MORE
62*4882a593Smuzhiyun  *   bit set. Its SRFL_ETHADDR bit implies it takes multiple words.
63*4882a593Smuzhiyun  * - The last entry's name field must be NULL to indicate the end of the table. Other
64*4882a593Smuzhiyun  *   entries must have non-NULL name.
65*4882a593Smuzhiyun  */
66*4882a593Smuzhiyun #if !defined(SROM15_MEMOPT)
67*4882a593Smuzhiyun static const sromvar_t BCMATTACHDATA(pci_sromvars)[] = {
68*4882a593Smuzhiyun /*	name		revmask		flags		off			mask */
69*4882a593Smuzhiyun #if defined(BCMPCIEDEV) && defined(BCMPCIEDEV_ENABLED)
70*4882a593Smuzhiyun 	{"devid",	0xffffff00,	SRFL_PRHEX, SROM_DEVID_PCIE,		0xffff},
71*4882a593Smuzhiyun #else
72*4882a593Smuzhiyun 	{"devid",	0xffffff00,	SRFL_PRHEX|SRFL_NOVAR,	PCI_F0DEVID,	0xffff},
73*4882a593Smuzhiyun #endif /* BCMPCIEDEV && BCMPCIEDEV_ENABLED */
74*4882a593Smuzhiyun 	{"boardrev",	0x0000000e,	SRFL_PRHEX,	SROM_AABREV,		SROM_BR_MASK},
75*4882a593Smuzhiyun 	{"boardrev",	0x000000f0,	SRFL_PRHEX,	SROM4_BREV,		0xffff},
76*4882a593Smuzhiyun 	{"boardrev",	0xffffff00,	SRFL_PRHEX,	SROM8_BREV,		0xffff},
77*4882a593Smuzhiyun 	{"boardflags",	0x00000002,	SRFL_PRHEX,	SROM_BFL,		0xffff},
78*4882a593Smuzhiyun 	{"boardflags",	0x00000004,	SRFL_PRHEX|SRFL_MORE,	SROM_BFL,	0xffff},
79*4882a593Smuzhiyun 	{"",		0,		0,		SROM_BFL2,		0xffff},
80*4882a593Smuzhiyun 	{"boardflags",	0x00000008,	SRFL_PRHEX|SRFL_MORE,	SROM_BFL,	0xffff},
81*4882a593Smuzhiyun 	{"",		0,		0,		SROM3_BFL2,		0xffff},
82*4882a593Smuzhiyun 	{"boardflags",	0x00000010,	SRFL_PRHEX|SRFL_MORE,	SROM4_BFL0,	0xffff},
83*4882a593Smuzhiyun 	{"",		0,		0,		SROM4_BFL1,		0xffff},
84*4882a593Smuzhiyun 	{"boardflags",	0x000000e0,	SRFL_PRHEX|SRFL_MORE,	SROM5_BFL0,	0xffff},
85*4882a593Smuzhiyun 	{"",		0,		0,		SROM5_BFL1,		0xffff},
86*4882a593Smuzhiyun 	{"boardflags",	0xffffff00,	SRFL_PRHEX|SRFL_MORE,	SROM8_BFL0,	0xffff},
87*4882a593Smuzhiyun 	{"",		0,		0,		SROM8_BFL1,		0xffff},
88*4882a593Smuzhiyun 	{"boardflags2", 0x00000010,	SRFL_PRHEX|SRFL_MORE,	SROM4_BFL2,	0xffff},
89*4882a593Smuzhiyun 	{"",		0,		0,		SROM4_BFL3,		0xffff},
90*4882a593Smuzhiyun 	{"boardflags2", 0x000000e0,	SRFL_PRHEX|SRFL_MORE,	SROM5_BFL2,	0xffff},
91*4882a593Smuzhiyun 	{"",		0,		0,		SROM5_BFL3,		0xffff},
92*4882a593Smuzhiyun 	{"boardflags2", 0xffffff00,	SRFL_PRHEX|SRFL_MORE,	SROM8_BFL2,	0xffff},
93*4882a593Smuzhiyun 	{"",		0,		0,		SROM8_BFL3,		0xffff},
94*4882a593Smuzhiyun 	{"boardtype",	0xfffffffc,	SRFL_PRHEX,	SROM_SSID,		0xffff},
95*4882a593Smuzhiyun 	{"subvid",	0xfffffffc,	SRFL_PRHEX,	SROM_SVID,		0xffff},
96*4882a593Smuzhiyun 	{"boardnum",	0x00000006,	0,		SROM_MACLO_IL0,		0xffff},
97*4882a593Smuzhiyun 	{"boardnum",	0x00000008,	0,		SROM3_MACLO,		0xffff},
98*4882a593Smuzhiyun 	{"boardnum",	0x00000010,	0,		SROM4_MACLO,		0xffff},
99*4882a593Smuzhiyun 	{"boardnum",	0x000000e0,	0,		SROM5_MACLO,		0xffff},
100*4882a593Smuzhiyun 	{"boardnum",	0x00000700,	0,		SROM8_MACLO,		0xffff},
101*4882a593Smuzhiyun 	{"cc",		0x00000002,	0,		SROM_AABREV,		SROM_CC_MASK},
102*4882a593Smuzhiyun 	{"regrev",	0x00000008,	0,		SROM_OPO,		0xff00},
103*4882a593Smuzhiyun 	{"regrev",	0x00000010,	0,		SROM4_REGREV,		0xffff},
104*4882a593Smuzhiyun 	{"regrev",	0x000000e0,	0,		SROM5_REGREV,		0xffff},
105*4882a593Smuzhiyun 	{"regrev",	0x00000700,	0,		SROM8_REGREV,		0xffff},
106*4882a593Smuzhiyun 	{"pa0b0",	0x0000000e,	SRFL_PRHEX,	SROM_WL0PAB0,		0xffff},
107*4882a593Smuzhiyun 	{"pa0b1",	0x0000000e,	SRFL_PRHEX,	SROM_WL0PAB1,		0xffff},
108*4882a593Smuzhiyun 	{"pa0b2",	0x0000000e,	SRFL_PRHEX,	SROM_WL0PAB2,		0xffff},
109*4882a593Smuzhiyun 	{"pa0itssit",	0x0000000e,	0,		SROM_ITT,		0x00ff},
110*4882a593Smuzhiyun 	{"pa0maxpwr",	0x0000000e,	0,		SROM_WL10MAXP,		0x00ff},
111*4882a593Smuzhiyun 	{"pa0b0",	0x00000700,	SRFL_PRHEX,	SROM8_W0_PAB0,		0xffff},
112*4882a593Smuzhiyun 	{"pa0b1",	0x00000700,	SRFL_PRHEX,	SROM8_W0_PAB1,		0xffff},
113*4882a593Smuzhiyun 	{"pa0b2",	0x00000700,	SRFL_PRHEX,	SROM8_W0_PAB2,		0xffff},
114*4882a593Smuzhiyun 	{"pa0itssit",	0x00000700,	0,		SROM8_W0_ITTMAXP,	0xff00},
115*4882a593Smuzhiyun 	{"pa0maxpwr",	0x00000700,	0,		SROM8_W0_ITTMAXP,	0x00ff},
116*4882a593Smuzhiyun 	{"opo",		0x0000000c,	0,		SROM_OPO,		0x00ff},
117*4882a593Smuzhiyun 	{"opo",		0x00000700,	0,		SROM8_2G_OFDMPO,	0x00ff},
118*4882a593Smuzhiyun 	{"aa2g",	0x0000000e,	0,		SROM_AABREV,		SROM_AA0_MASK},
119*4882a593Smuzhiyun 	{"aa2g",	0x000000f0,	0,		SROM4_AA,		0x00ff},
120*4882a593Smuzhiyun 	{"aa2g",	0x00000700,	0,		SROM8_AA,		0x00ff},
121*4882a593Smuzhiyun 	{"aa5g",	0x0000000e,	0,		SROM_AABREV,		SROM_AA1_MASK},
122*4882a593Smuzhiyun 	{"aa5g",	0x000000f0,	0,		SROM4_AA,		0xff00},
123*4882a593Smuzhiyun 	{"aa5g",	0x00000700,	0,		SROM8_AA,		0xff00},
124*4882a593Smuzhiyun 	{"ag0",		0x0000000e,	0,		SROM_AG10,		0x00ff},
125*4882a593Smuzhiyun 	{"ag1",		0x0000000e,	0,		SROM_AG10,		0xff00},
126*4882a593Smuzhiyun 	{"ag0",		0x000000f0,	0,		SROM4_AG10,		0x00ff},
127*4882a593Smuzhiyun 	{"ag1",		0x000000f0,	0,		SROM4_AG10,		0xff00},
128*4882a593Smuzhiyun 	{"ag2",		0x000000f0,	0,		SROM4_AG32,		0x00ff},
129*4882a593Smuzhiyun 	{"ag3",		0x000000f0,	0,		SROM4_AG32,		0xff00},
130*4882a593Smuzhiyun 	{"ag0",		0x00000700,	0,		SROM8_AG10,		0x00ff},
131*4882a593Smuzhiyun 	{"ag1",		0x00000700,	0,		SROM8_AG10,		0xff00},
132*4882a593Smuzhiyun 	{"ag2",		0x00000700,	0,		SROM8_AG32,		0x00ff},
133*4882a593Smuzhiyun 	{"ag3",		0x00000700,	0,		SROM8_AG32,		0xff00},
134*4882a593Smuzhiyun 	{"pa1b0",	0x0000000e,	SRFL_PRHEX,	SROM_WL1PAB0,		0xffff},
135*4882a593Smuzhiyun 	{"pa1b1",	0x0000000e,	SRFL_PRHEX,	SROM_WL1PAB1,		0xffff},
136*4882a593Smuzhiyun 	{"pa1b2",	0x0000000e,	SRFL_PRHEX,	SROM_WL1PAB2,		0xffff},
137*4882a593Smuzhiyun 	{"pa1lob0",	0x0000000c,	SRFL_PRHEX,	SROM_WL1LPAB0,		0xffff},
138*4882a593Smuzhiyun 	{"pa1lob1",	0x0000000c,	SRFL_PRHEX,	SROM_WL1LPAB1,		0xffff},
139*4882a593Smuzhiyun 	{"pa1lob2",	0x0000000c,	SRFL_PRHEX,	SROM_WL1LPAB2,		0xffff},
140*4882a593Smuzhiyun 	{"pa1hib0",	0x0000000c,	SRFL_PRHEX,	SROM_WL1HPAB0,		0xffff},
141*4882a593Smuzhiyun 	{"pa1hib1",	0x0000000c,	SRFL_PRHEX,	SROM_WL1HPAB1,		0xffff},
142*4882a593Smuzhiyun 	{"pa1hib2",	0x0000000c,	SRFL_PRHEX,	SROM_WL1HPAB2,		0xffff},
143*4882a593Smuzhiyun 	{"pa1itssit",	0x0000000e,	0,		SROM_ITT,		0xff00},
144*4882a593Smuzhiyun 	{"pa1maxpwr",	0x0000000e,	0,		SROM_WL10MAXP,		0xff00},
145*4882a593Smuzhiyun 	{"pa1lomaxpwr",	0x0000000c,	0,		SROM_WL1LHMAXP,		0xff00},
146*4882a593Smuzhiyun 	{"pa1himaxpwr",	0x0000000c,	0,		SROM_WL1LHMAXP,		0x00ff},
147*4882a593Smuzhiyun 	{"pa1b0",	0x00000700,	SRFL_PRHEX,	SROM8_W1_PAB0,		0xffff},
148*4882a593Smuzhiyun 	{"pa1b1",	0x00000700,	SRFL_PRHEX,	SROM8_W1_PAB1,		0xffff},
149*4882a593Smuzhiyun 	{"pa1b2",	0x00000700,	SRFL_PRHEX,	SROM8_W1_PAB2,		0xffff},
150*4882a593Smuzhiyun 	{"pa1lob0",	0x00000700,	SRFL_PRHEX,	SROM8_W1_PAB0_LC,	0xffff},
151*4882a593Smuzhiyun 	{"pa1lob1",	0x00000700,	SRFL_PRHEX,	SROM8_W1_PAB1_LC,	0xffff},
152*4882a593Smuzhiyun 	{"pa1lob2",	0x00000700,	SRFL_PRHEX,	SROM8_W1_PAB2_LC,	0xffff},
153*4882a593Smuzhiyun 	{"pa1hib0",	0x00000700,	SRFL_PRHEX,	SROM8_W1_PAB0_HC,	0xffff},
154*4882a593Smuzhiyun 	{"pa1hib1",	0x00000700,	SRFL_PRHEX,	SROM8_W1_PAB1_HC,	0xffff},
155*4882a593Smuzhiyun 	{"pa1hib2",	0x00000700,	SRFL_PRHEX,	SROM8_W1_PAB2_HC,	0xffff},
156*4882a593Smuzhiyun 	{"pa1itssit",	0x00000700,	0,		SROM8_W1_ITTMAXP,	0xff00},
157*4882a593Smuzhiyun 	{"pa1maxpwr",	0x00000700,	0,		SROM8_W1_ITTMAXP,	0x00ff},
158*4882a593Smuzhiyun 	{"pa1lomaxpwr",	0x00000700,	0,		SROM8_W1_MAXP_LCHC,	0xff00},
159*4882a593Smuzhiyun 	{"pa1himaxpwr",	0x00000700,	0,		SROM8_W1_MAXP_LCHC,	0x00ff},
160*4882a593Smuzhiyun 	{"bxa2g",	0x00000008,	0,		SROM_BXARSSI2G,		0x1800},
161*4882a593Smuzhiyun 	{"rssisav2g",	0x00000008,	0,		SROM_BXARSSI2G,		0x0700},
162*4882a593Smuzhiyun 	{"rssismc2g",	0x00000008,	0,		SROM_BXARSSI2G,		0x00f0},
163*4882a593Smuzhiyun 	{"rssismf2g",	0x00000008,	0,		SROM_BXARSSI2G,		0x000f},
164*4882a593Smuzhiyun 	{"bxa2g",	0x00000700,	0,		SROM8_BXARSSI2G,	0x1800},
165*4882a593Smuzhiyun 	{"rssisav2g",	0x00000700,	0,		SROM8_BXARSSI2G,	0x0700},
166*4882a593Smuzhiyun 	{"rssismc2g",	0x00000700,	0,		SROM8_BXARSSI2G,	0x00f0},
167*4882a593Smuzhiyun 	{"rssismf2g",	0x00000700,	0,		SROM8_BXARSSI2G,	0x000f},
168*4882a593Smuzhiyun 	{"bxa5g",	0x00000008,	0,		SROM_BXARSSI5G,		0x1800},
169*4882a593Smuzhiyun 	{"rssisav5g",	0x00000008,	0,		SROM_BXARSSI5G,		0x0700},
170*4882a593Smuzhiyun 	{"rssismc5g",	0x00000008,	0,		SROM_BXARSSI5G,		0x00f0},
171*4882a593Smuzhiyun 	{"rssismf5g",	0x00000008,	0,		SROM_BXARSSI5G,		0x000f},
172*4882a593Smuzhiyun 	{"bxa5g",	0x00000700,	0,		SROM8_BXARSSI5G,	0x1800},
173*4882a593Smuzhiyun 	{"rssisav5g",	0x00000700,	0,		SROM8_BXARSSI5G,	0x0700},
174*4882a593Smuzhiyun 	{"rssismc5g",	0x00000700,	0,		SROM8_BXARSSI5G,	0x00f0},
175*4882a593Smuzhiyun 	{"rssismf5g",	0x00000700,	0,		SROM8_BXARSSI5G,	0x000f},
176*4882a593Smuzhiyun 	{"tri2g",	0x00000008,	0,		SROM_TRI52G,		0x00ff},
177*4882a593Smuzhiyun 	{"tri5g",	0x00000008,	0,		SROM_TRI52G,		0xff00},
178*4882a593Smuzhiyun 	{"tri5gl",	0x00000008,	0,		SROM_TRI5GHL,		0x00ff},
179*4882a593Smuzhiyun 	{"tri5gh",	0x00000008,	0,		SROM_TRI5GHL,		0xff00},
180*4882a593Smuzhiyun 	{"tri2g",	0x00000700,	0,		SROM8_TRI52G,		0x00ff},
181*4882a593Smuzhiyun 	{"tri5g",	0x00000700,	0,		SROM8_TRI52G,		0xff00},
182*4882a593Smuzhiyun 	{"tri5gl",	0x00000700,	0,		SROM8_TRI5GHL,		0x00ff},
183*4882a593Smuzhiyun 	{"tri5gh",	0x00000700,	0,		SROM8_TRI5GHL,		0xff00},
184*4882a593Smuzhiyun 	{"rxpo2g",	0x00000008,	SRFL_PRSIGN,	SROM_RXPO52G,		0x00ff},
185*4882a593Smuzhiyun 	{"rxpo5g",	0x00000008,	SRFL_PRSIGN,	SROM_RXPO52G,		0xff00},
186*4882a593Smuzhiyun 	{"rxpo2g",	0x00000700,	SRFL_PRSIGN,	SROM8_RXPO52G,		0x00ff},
187*4882a593Smuzhiyun 	{"rxpo5g",	0x00000700,	SRFL_PRSIGN,	SROM8_RXPO52G,		0xff00},
188*4882a593Smuzhiyun 	{"txchain",	0x000000f0,	SRFL_NOFFS,	SROM4_TXRXC,		SROM4_TXCHAIN_MASK},
189*4882a593Smuzhiyun 	{"rxchain",	0x000000f0,	SRFL_NOFFS,	SROM4_TXRXC,		SROM4_RXCHAIN_MASK},
190*4882a593Smuzhiyun 	{"antswitch",	0x000000f0,	SRFL_NOFFS,	SROM4_TXRXC,		SROM4_SWITCH_MASK},
191*4882a593Smuzhiyun 	{"txchain",	0x00000700,	SRFL_NOFFS,	SROM8_TXRXC,		SROM4_TXCHAIN_MASK},
192*4882a593Smuzhiyun 	{"rxchain",	0x00000700,	SRFL_NOFFS,	SROM8_TXRXC,		SROM4_RXCHAIN_MASK},
193*4882a593Smuzhiyun 	{"antswitch",	0x00000700,	SRFL_NOFFS,	SROM8_TXRXC,		SROM4_SWITCH_MASK},
194*4882a593Smuzhiyun 	{"tssipos2g",	0x00000700,	0,		SROM8_FEM2G,	SROM8_FEM_TSSIPOS_MASK},
195*4882a593Smuzhiyun 	{"extpagain2g",	0x00000700,	0,		SROM8_FEM2G,	SROM8_FEM_EXTPA_GAIN_MASK},
196*4882a593Smuzhiyun 	{"pdetrange2g",	0x00000700,	0,		SROM8_FEM2G,	SROM8_FEM_PDET_RANGE_MASK},
197*4882a593Smuzhiyun 	{"triso2g",	0x00000700,	0,		SROM8_FEM2G,	SROM8_FEM_TR_ISO_MASK},
198*4882a593Smuzhiyun 	{"antswctl2g",	0x00000700,	0,		SROM8_FEM2G,	SROM8_FEM_ANTSWLUT_MASK},
199*4882a593Smuzhiyun 	{"tssipos5g",	0x00000700,	0,		SROM8_FEM5G,	SROM8_FEM_TSSIPOS_MASK},
200*4882a593Smuzhiyun 	{"extpagain5g",	0x00000700,	0,		SROM8_FEM5G,	SROM8_FEM_EXTPA_GAIN_MASK},
201*4882a593Smuzhiyun 	{"pdetrange5g",	0x00000700,	0,		SROM8_FEM5G,	SROM8_FEM_PDET_RANGE_MASK},
202*4882a593Smuzhiyun 	{"triso5g",	0x00000700,	0,		SROM8_FEM5G,	SROM8_FEM_TR_ISO_MASK},
203*4882a593Smuzhiyun 	{"antswctl5g",	0x00000700,	0,		SROM8_FEM5G,	SROM8_FEM_ANTSWLUT_MASK},
204*4882a593Smuzhiyun 	{"txpid2ga0",	0x000000f0,	0,		SROM4_TXPID2G,		0x00ff},
205*4882a593Smuzhiyun 	{"txpid2ga1",	0x000000f0,	0,		SROM4_TXPID2G,		0xff00},
206*4882a593Smuzhiyun 	{"txpid2ga2",	0x000000f0,	0,		SROM4_TXPID2G + 1,	0x00ff},
207*4882a593Smuzhiyun 	{"txpid2ga3",	0x000000f0,	0,		SROM4_TXPID2G + 1,	0xff00},
208*4882a593Smuzhiyun 	{"txpid5ga0",	0x000000f0,	0,		SROM4_TXPID5G,		0x00ff},
209*4882a593Smuzhiyun 	{"txpid5ga1",	0x000000f0,	0,		SROM4_TXPID5G,		0xff00},
210*4882a593Smuzhiyun 	{"txpid5ga2",	0x000000f0,	0,		SROM4_TXPID5G + 1,	0x00ff},
211*4882a593Smuzhiyun 	{"txpid5ga3",	0x000000f0,	0,		SROM4_TXPID5G + 1,	0xff00},
212*4882a593Smuzhiyun 	{"txpid5gla0",	0x000000f0,	0,		SROM4_TXPID5GL,		0x00ff},
213*4882a593Smuzhiyun 	{"txpid5gla1",	0x000000f0,	0,		SROM4_TXPID5GL,		0xff00},
214*4882a593Smuzhiyun 	{"txpid5gla2",	0x000000f0,	0,		SROM4_TXPID5GL + 1,	0x00ff},
215*4882a593Smuzhiyun 	{"txpid5gla3",	0x000000f0,	0,		SROM4_TXPID5GL + 1,	0xff00},
216*4882a593Smuzhiyun 	{"txpid5gha0",	0x000000f0,	0,		SROM4_TXPID5GH,		0x00ff},
217*4882a593Smuzhiyun 	{"txpid5gha1",	0x000000f0,	0,		SROM4_TXPID5GH,		0xff00},
218*4882a593Smuzhiyun 	{"txpid5gha2",	0x000000f0,	0,		SROM4_TXPID5GH + 1,	0x00ff},
219*4882a593Smuzhiyun 	{"txpid5gha3",	0x000000f0,	0,		SROM4_TXPID5GH + 1,	0xff00},
220*4882a593Smuzhiyun 
221*4882a593Smuzhiyun 	{"ccode",	0x0000000f,	SRFL_CCODE,	SROM_CCODE,		0xffff},
222*4882a593Smuzhiyun 	{"ccode",	0x00000010,	SRFL_CCODE,	SROM4_CCODE,		0xffff},
223*4882a593Smuzhiyun 	{"ccode",	0x000000e0,	SRFL_CCODE,	SROM5_CCODE,		0xffff},
224*4882a593Smuzhiyun 	{"ccode",	0x00000700,	SRFL_CCODE,	SROM8_CCODE,		0xffff},
225*4882a593Smuzhiyun 	{"macaddr",	0x00000700,	SRFL_ETHADDR,	SROM8_MACHI,		0xffff},
226*4882a593Smuzhiyun 	{"macaddr",	0x000000e0,	SRFL_ETHADDR,	SROM5_MACHI,		0xffff},
227*4882a593Smuzhiyun 	{"macaddr",	0x00000010,	SRFL_ETHADDR,	SROM4_MACHI,		0xffff},
228*4882a593Smuzhiyun 	{"macaddr",	0x00000008,	SRFL_ETHADDR,	SROM3_MACHI,		0xffff},
229*4882a593Smuzhiyun 	{"il0macaddr",	0x00000007,	SRFL_ETHADDR,	SROM_MACHI_IL0,		0xffff},
230*4882a593Smuzhiyun 	{"et1macaddr",	0x00000007,	SRFL_ETHADDR,	SROM_MACHI_ET1,		0xffff},
231*4882a593Smuzhiyun 
232*4882a593Smuzhiyun 	{"tempthresh",	0x00000700,	0,		SROM8_THERMAL,		0xff00},
233*4882a593Smuzhiyun 	{"tempoffset",	0x00000700,	0,		SROM8_THERMAL,		0x00ff},
234*4882a593Smuzhiyun 	{"rawtempsense", 0x00000700,	SRFL_PRHEX,	SROM8_MPWR_RAWTS,	0x01ff},
235*4882a593Smuzhiyun 	{"measpower",	0x00000700,	SRFL_PRHEX,	SROM8_MPWR_RAWTS,	0xfe00},
236*4882a593Smuzhiyun 	{"tempsense_slope",	0x00000700,	SRFL_PRHEX, 	SROM8_TS_SLP_OPT_CORRX,	0x00ff},
237*4882a593Smuzhiyun 	{"tempcorrx",	0x00000700,	SRFL_PRHEX, 	SROM8_TS_SLP_OPT_CORRX,	0xfc00},
238*4882a593Smuzhiyun 	{"tempsense_option",	0x00000700,	SRFL_PRHEX,	SROM8_TS_SLP_OPT_CORRX,	0x0300},
239*4882a593Smuzhiyun 	{"freqoffset_corr",	0x00000700,	SRFL_PRHEX,	SROM8_FOC_HWIQ_IQSWP,	0x000f},
240*4882a593Smuzhiyun 	{"iqcal_swp_dis",	0x00000700,	SRFL_PRHEX,	SROM8_FOC_HWIQ_IQSWP,	0x0010},
241*4882a593Smuzhiyun 	{"hw_iqcal_en",	0x00000700,	SRFL_PRHEX,	SROM8_FOC_HWIQ_IQSWP,	0x0020},
242*4882a593Smuzhiyun 	{"elna2g",      0x00000700,     0,              SROM8_EXTLNAGAIN,       0x00ff},
243*4882a593Smuzhiyun 	{"elna5g",      0x00000700,     0,              SROM8_EXTLNAGAIN,       0xff00},
244*4882a593Smuzhiyun 	{"phycal_tempdelta",	0x00000700,	0,	SROM8_PHYCAL_TEMPDELTA,	0x00ff},
245*4882a593Smuzhiyun 	{"temps_period",	0x00000700,	0,	SROM8_PHYCAL_TEMPDELTA,	0x0f00},
246*4882a593Smuzhiyun 	{"temps_hysteresis",	0x00000700,	0,	SROM8_PHYCAL_TEMPDELTA,	0xf000},
247*4882a593Smuzhiyun 	{"measpower1", 0x00000700,	SRFL_PRHEX, SROM8_MPWR_1_AND_2, 	0x007f},
248*4882a593Smuzhiyun 	{"measpower2",	0x00000700, 	SRFL_PRHEX, SROM8_MPWR_1_AND_2, 	0x3f80},
249*4882a593Smuzhiyun 
250*4882a593Smuzhiyun 	{"cck2gpo",	0x000000f0,	0,		SROM4_2G_CCKPO,		0xffff},
251*4882a593Smuzhiyun 	{"cck2gpo",	0x00000100,	0,		SROM8_2G_CCKPO,		0xffff},
252*4882a593Smuzhiyun 	{"ofdm2gpo",	0x000000f0,	SRFL_MORE,	SROM4_2G_OFDMPO,	0xffff},
253*4882a593Smuzhiyun 	{"",		0,		0,		SROM4_2G_OFDMPO + 1,	0xffff},
254*4882a593Smuzhiyun 	{"ofdm5gpo",	0x000000f0,	SRFL_MORE,	SROM4_5G_OFDMPO,	0xffff},
255*4882a593Smuzhiyun 	{"",		0,		0,		SROM4_5G_OFDMPO + 1,	0xffff},
256*4882a593Smuzhiyun 	{"ofdm5glpo",	0x000000f0,	SRFL_MORE,	SROM4_5GL_OFDMPO,	0xffff},
257*4882a593Smuzhiyun 	{"",		0,		0,		SROM4_5GL_OFDMPO + 1,	0xffff},
258*4882a593Smuzhiyun 	{"ofdm5ghpo",	0x000000f0,	SRFL_MORE,	SROM4_5GH_OFDMPO,	0xffff},
259*4882a593Smuzhiyun 	{"",		0,		0,		SROM4_5GH_OFDMPO + 1,	0xffff},
260*4882a593Smuzhiyun 	{"ofdm2gpo",	0x00000100,	SRFL_MORE,	SROM8_2G_OFDMPO,	0xffff},
261*4882a593Smuzhiyun 	{"",		0,		0,		SROM8_2G_OFDMPO + 1,	0xffff},
262*4882a593Smuzhiyun 	{"ofdm5gpo",	0x00000100,	SRFL_MORE,	SROM8_5G_OFDMPO,	0xffff},
263*4882a593Smuzhiyun 	{"",		0,		0,		SROM8_5G_OFDMPO + 1,	0xffff},
264*4882a593Smuzhiyun 	{"ofdm5glpo",	0x00000100,	SRFL_MORE,	SROM8_5GL_OFDMPO,	0xffff},
265*4882a593Smuzhiyun 	{"",		0,		0,		SROM8_5GL_OFDMPO + 1,	0xffff},
266*4882a593Smuzhiyun 	{"ofdm5ghpo",	0x00000100,	SRFL_MORE,	SROM8_5GH_OFDMPO,	0xffff},
267*4882a593Smuzhiyun 	{"",		0,		0,		SROM8_5GH_OFDMPO + 1,	0xffff},
268*4882a593Smuzhiyun 	{"mcs2gpo0",	0x000000f0,	0,		SROM4_2G_MCSPO,		0xffff},
269*4882a593Smuzhiyun 	{"mcs2gpo1",	0x000000f0,	0,		SROM4_2G_MCSPO + 1,	0xffff},
270*4882a593Smuzhiyun 	{"mcs2gpo2",	0x000000f0,	0,		SROM4_2G_MCSPO + 2,	0xffff},
271*4882a593Smuzhiyun 	{"mcs2gpo3",	0x000000f0,	0,		SROM4_2G_MCSPO + 3,	0xffff},
272*4882a593Smuzhiyun 	{"mcs2gpo4",	0x000000f0,	0,		SROM4_2G_MCSPO + 4,	0xffff},
273*4882a593Smuzhiyun 	{"mcs2gpo5",	0x000000f0,	0,		SROM4_2G_MCSPO + 5,	0xffff},
274*4882a593Smuzhiyun 	{"mcs2gpo6",	0x000000f0,	0,		SROM4_2G_MCSPO + 6,	0xffff},
275*4882a593Smuzhiyun 	{"mcs2gpo7",	0x000000f0,	0,		SROM4_2G_MCSPO + 7,	0xffff},
276*4882a593Smuzhiyun 	{"mcs5gpo0",	0x000000f0,	0,		SROM4_5G_MCSPO,		0xffff},
277*4882a593Smuzhiyun 	{"mcs5gpo1",	0x000000f0,	0,		SROM4_5G_MCSPO + 1,	0xffff},
278*4882a593Smuzhiyun 	{"mcs5gpo2",	0x000000f0,	0,		SROM4_5G_MCSPO + 2,	0xffff},
279*4882a593Smuzhiyun 	{"mcs5gpo3",	0x000000f0,	0,		SROM4_5G_MCSPO + 3,	0xffff},
280*4882a593Smuzhiyun 	{"mcs5gpo4",	0x000000f0,	0,		SROM4_5G_MCSPO + 4,	0xffff},
281*4882a593Smuzhiyun 	{"mcs5gpo5",	0x000000f0,	0,		SROM4_5G_MCSPO + 5,	0xffff},
282*4882a593Smuzhiyun 	{"mcs5gpo6",	0x000000f0,	0,		SROM4_5G_MCSPO + 6,	0xffff},
283*4882a593Smuzhiyun 	{"mcs5gpo7",	0x000000f0,	0,		SROM4_5G_MCSPO + 7,	0xffff},
284*4882a593Smuzhiyun 	{"mcs5glpo0",	0x000000f0,	0,		SROM4_5GL_MCSPO,	0xffff},
285*4882a593Smuzhiyun 	{"mcs5glpo1",	0x000000f0,	0,		SROM4_5GL_MCSPO + 1,	0xffff},
286*4882a593Smuzhiyun 	{"mcs5glpo2",	0x000000f0,	0,		SROM4_5GL_MCSPO + 2,	0xffff},
287*4882a593Smuzhiyun 	{"mcs5glpo3",	0x000000f0,	0,		SROM4_5GL_MCSPO + 3,	0xffff},
288*4882a593Smuzhiyun 	{"mcs5glpo4",	0x000000f0,	0,		SROM4_5GL_MCSPO + 4,	0xffff},
289*4882a593Smuzhiyun 	{"mcs5glpo5",	0x000000f0,	0,		SROM4_5GL_MCSPO + 5,	0xffff},
290*4882a593Smuzhiyun 	{"mcs5glpo6",	0x000000f0,	0,		SROM4_5GL_MCSPO + 6,	0xffff},
291*4882a593Smuzhiyun 	{"mcs5glpo7",	0x000000f0,	0,		SROM4_5GL_MCSPO + 7,	0xffff},
292*4882a593Smuzhiyun 	{"mcs5ghpo0",	0x000000f0,	0,		SROM4_5GH_MCSPO,	0xffff},
293*4882a593Smuzhiyun 	{"mcs5ghpo1",	0x000000f0,	0,		SROM4_5GH_MCSPO + 1,	0xffff},
294*4882a593Smuzhiyun 	{"mcs5ghpo2",	0x000000f0,	0,		SROM4_5GH_MCSPO + 2,	0xffff},
295*4882a593Smuzhiyun 	{"mcs5ghpo3",	0x000000f0,	0,		SROM4_5GH_MCSPO + 3,	0xffff},
296*4882a593Smuzhiyun 	{"mcs5ghpo4",	0x000000f0,	0,		SROM4_5GH_MCSPO + 4,	0xffff},
297*4882a593Smuzhiyun 	{"mcs5ghpo5",	0x000000f0,	0,		SROM4_5GH_MCSPO + 5,	0xffff},
298*4882a593Smuzhiyun 	{"mcs5ghpo6",	0x000000f0,	0,		SROM4_5GH_MCSPO + 6,	0xffff},
299*4882a593Smuzhiyun 	{"mcs5ghpo7",	0x000000f0,	0,		SROM4_5GH_MCSPO + 7,	0xffff},
300*4882a593Smuzhiyun 	{"mcs2gpo0",	0x00000100,	0,		SROM8_2G_MCSPO,		0xffff},
301*4882a593Smuzhiyun 	{"mcs2gpo1",	0x00000100,	0,		SROM8_2G_MCSPO + 1,	0xffff},
302*4882a593Smuzhiyun 	{"mcs2gpo2",	0x00000100,	0,		SROM8_2G_MCSPO + 2,	0xffff},
303*4882a593Smuzhiyun 	{"mcs2gpo3",	0x00000100,	0,		SROM8_2G_MCSPO + 3,	0xffff},
304*4882a593Smuzhiyun 	{"mcs2gpo4",	0x00000100,	0,		SROM8_2G_MCSPO + 4,	0xffff},
305*4882a593Smuzhiyun 	{"mcs2gpo5",	0x00000100,	0,		SROM8_2G_MCSPO + 5,	0xffff},
306*4882a593Smuzhiyun 	{"mcs2gpo6",	0x00000100,	0,		SROM8_2G_MCSPO + 6,	0xffff},
307*4882a593Smuzhiyun 	{"mcs2gpo7",	0x00000100,	0,		SROM8_2G_MCSPO + 7,	0xffff},
308*4882a593Smuzhiyun 	{"mcs5gpo0",	0x00000100,	0,		SROM8_5G_MCSPO,		0xffff},
309*4882a593Smuzhiyun 	{"mcs5gpo1",	0x00000100,	0,		SROM8_5G_MCSPO + 1,	0xffff},
310*4882a593Smuzhiyun 	{"mcs5gpo2",	0x00000100,	0,		SROM8_5G_MCSPO + 2,	0xffff},
311*4882a593Smuzhiyun 	{"mcs5gpo3",	0x00000100,	0,		SROM8_5G_MCSPO + 3,	0xffff},
312*4882a593Smuzhiyun 	{"mcs5gpo4",	0x00000100,	0,		SROM8_5G_MCSPO + 4,	0xffff},
313*4882a593Smuzhiyun 	{"mcs5gpo5",	0x00000100,	0,		SROM8_5G_MCSPO + 5,	0xffff},
314*4882a593Smuzhiyun 	{"mcs5gpo6",	0x00000100,	0,		SROM8_5G_MCSPO + 6,	0xffff},
315*4882a593Smuzhiyun 	{"mcs5gpo7",	0x00000100,	0,		SROM8_5G_MCSPO + 7,	0xffff},
316*4882a593Smuzhiyun 	{"mcs5glpo0",	0x00000100,	0,		SROM8_5GL_MCSPO,	0xffff},
317*4882a593Smuzhiyun 	{"mcs5glpo1",	0x00000100,	0,		SROM8_5GL_MCSPO + 1,	0xffff},
318*4882a593Smuzhiyun 	{"mcs5glpo2",	0x00000100,	0,		SROM8_5GL_MCSPO + 2,	0xffff},
319*4882a593Smuzhiyun 	{"mcs5glpo3",	0x00000100,	0,		SROM8_5GL_MCSPO + 3,	0xffff},
320*4882a593Smuzhiyun 	{"mcs5glpo4",	0x00000100,	0,		SROM8_5GL_MCSPO + 4,	0xffff},
321*4882a593Smuzhiyun 	{"mcs5glpo5",	0x00000100,	0,		SROM8_5GL_MCSPO + 5,	0xffff},
322*4882a593Smuzhiyun 	{"mcs5glpo6",	0x00000100,	0,		SROM8_5GL_MCSPO + 6,	0xffff},
323*4882a593Smuzhiyun 	{"mcs5glpo7",	0x00000100,	0,		SROM8_5GL_MCSPO + 7,	0xffff},
324*4882a593Smuzhiyun 	{"mcs5ghpo0",	0x00000100,	0,		SROM8_5GH_MCSPO,	0xffff},
325*4882a593Smuzhiyun 	{"mcs5ghpo1",	0x00000100,	0,		SROM8_5GH_MCSPO + 1,	0xffff},
326*4882a593Smuzhiyun 	{"mcs5ghpo2",	0x00000100,	0,		SROM8_5GH_MCSPO + 2,	0xffff},
327*4882a593Smuzhiyun 	{"mcs5ghpo3",	0x00000100,	0,		SROM8_5GH_MCSPO + 3,	0xffff},
328*4882a593Smuzhiyun 	{"mcs5ghpo4",	0x00000100,	0,		SROM8_5GH_MCSPO + 4,	0xffff},
329*4882a593Smuzhiyun 	{"mcs5ghpo5",	0x00000100,	0,		SROM8_5GH_MCSPO + 5,	0xffff},
330*4882a593Smuzhiyun 	{"mcs5ghpo6",	0x00000100,	0,		SROM8_5GH_MCSPO + 6,	0xffff},
331*4882a593Smuzhiyun 	{"mcs5ghpo7",	0x00000100,	0,		SROM8_5GH_MCSPO + 7,	0xffff},
332*4882a593Smuzhiyun 	{"cddpo",	0x000000f0,	0,		SROM4_CDDPO,		0xffff},
333*4882a593Smuzhiyun 	{"stbcpo",	0x000000f0,	0,		SROM4_STBCPO,		0xffff},
334*4882a593Smuzhiyun 	{"bw40po",	0x000000f0,	0,		SROM4_BW40PO,		0xffff},
335*4882a593Smuzhiyun 	{"bwduppo",	0x000000f0,	0,		SROM4_BWDUPPO,		0xffff},
336*4882a593Smuzhiyun 	{"cddpo",	0x00000100,	0,		SROM8_CDDPO,		0xffff},
337*4882a593Smuzhiyun 	{"stbcpo",	0x00000100,	0,		SROM8_STBCPO,		0xffff},
338*4882a593Smuzhiyun 	{"bw40po",	0x00000100,	0,		SROM8_BW40PO,		0xffff},
339*4882a593Smuzhiyun 	{"bwduppo",	0x00000100,	0,		SROM8_BWDUPPO,		0xffff},
340*4882a593Smuzhiyun 
341*4882a593Smuzhiyun 	/* power per rate from sromrev 9 */
342*4882a593Smuzhiyun 	{"cckbw202gpo",		0x00000600,	0,	SROM9_2GPO_CCKBW20,		0xffff},
343*4882a593Smuzhiyun 	{"cckbw20ul2gpo",	0x00000600,	0,	SROM9_2GPO_CCKBW20UL,		0xffff},
344*4882a593Smuzhiyun 	{"legofdmbw202gpo",	0x00000600,	SRFL_MORE, SROM9_2GPO_LOFDMBW20,	0xffff},
345*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_2GPO_LOFDMBW20 + 1,	0xffff},
346*4882a593Smuzhiyun 	{"legofdmbw20ul2gpo",	0x00000600,	SRFL_MORE, SROM9_2GPO_LOFDMBW20UL,	0xffff},
347*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_2GPO_LOFDMBW20UL + 1,	0xffff},
348*4882a593Smuzhiyun 	{"legofdmbw205glpo",	0x00000600,	SRFL_MORE, SROM9_5GLPO_LOFDMBW20,	0xffff},
349*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GLPO_LOFDMBW20 + 1,	0xffff},
350*4882a593Smuzhiyun 	{"legofdmbw20ul5glpo",	0x00000600,	SRFL_MORE, SROM9_5GLPO_LOFDMBW20UL,	0xffff},
351*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GLPO_LOFDMBW20UL + 1,	0xffff},
352*4882a593Smuzhiyun 	{"legofdmbw205gmpo",	0x00000600,	SRFL_MORE, SROM9_5GMPO_LOFDMBW20,	0xffff},
353*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GMPO_LOFDMBW20 + 1,	0xffff},
354*4882a593Smuzhiyun 	{"legofdmbw20ul5gmpo",	0x00000600,	SRFL_MORE, SROM9_5GMPO_LOFDMBW20UL,	0xffff},
355*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GMPO_LOFDMBW20UL + 1,	0xffff},
356*4882a593Smuzhiyun 	{"legofdmbw205ghpo",	0x00000600,	SRFL_MORE, SROM9_5GHPO_LOFDMBW20,	0xffff},
357*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GHPO_LOFDMBW20 + 1,	0xffff},
358*4882a593Smuzhiyun 	{"legofdmbw20ul5ghpo",	0x00000600,	SRFL_MORE, SROM9_5GHPO_LOFDMBW20UL,	0xffff},
359*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GHPO_LOFDMBW20UL + 1,	0xffff},
360*4882a593Smuzhiyun 	{"mcsbw202gpo",		0x00000600,	SRFL_MORE, SROM9_2GPO_MCSBW20,		0xffff},
361*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_2GPO_MCSBW20 + 1,		0xffff},
362*4882a593Smuzhiyun 	{"mcsbw20ul2gpo",      	0x00000600,	SRFL_MORE, SROM9_2GPO_MCSBW20UL,	0xffff},
363*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_2GPO_MCSBW20UL + 1,	0xffff},
364*4882a593Smuzhiyun 	{"mcsbw402gpo",		0x00000600,	SRFL_MORE, SROM9_2GPO_MCSBW40,		0xffff},
365*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_2GPO_MCSBW40 + 1,		0xffff},
366*4882a593Smuzhiyun 	{"mcsbw205glpo",	0x00000600,	SRFL_MORE, SROM9_5GLPO_MCSBW20,		0xffff},
367*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GLPO_MCSBW20 + 1,	0xffff},
368*4882a593Smuzhiyun 	{"mcsbw20ul5glpo",	0x00000600,	SRFL_MORE, SROM9_5GLPO_MCSBW20UL,	0xffff},
369*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GLPO_MCSBW20UL + 1,	0xffff},
370*4882a593Smuzhiyun 	{"mcsbw405glpo",	0x00000600,	SRFL_MORE, SROM9_5GLPO_MCSBW40,		0xffff},
371*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GLPO_MCSBW40 + 1,	0xffff},
372*4882a593Smuzhiyun 	{"mcsbw205gmpo",	0x00000600,	SRFL_MORE, SROM9_5GMPO_MCSBW20,		0xffff},
373*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GMPO_MCSBW20 + 1,	0xffff},
374*4882a593Smuzhiyun 	{"mcsbw20ul5gmpo",	0x00000600,	SRFL_MORE, SROM9_5GMPO_MCSBW20UL,	0xffff},
375*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GMPO_MCSBW20UL + 1,	0xffff},
376*4882a593Smuzhiyun 	{"mcsbw405gmpo",	0x00000600,	SRFL_MORE, SROM9_5GMPO_MCSBW40,		0xffff},
377*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GMPO_MCSBW40 + 1,	0xffff},
378*4882a593Smuzhiyun 	{"mcsbw205ghpo",	0x00000600,	SRFL_MORE, SROM9_5GHPO_MCSBW20,		0xffff},
379*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GHPO_MCSBW20 + 1,	0xffff},
380*4882a593Smuzhiyun 	{"mcsbw20ul5ghpo",	0x00000600,	SRFL_MORE, SROM9_5GHPO_MCSBW20UL,	0xffff},
381*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GHPO_MCSBW20UL + 1,	0xffff},
382*4882a593Smuzhiyun 	{"mcsbw405ghpo",	0x00000600,	SRFL_MORE, SROM9_5GHPO_MCSBW40,		0xffff},
383*4882a593Smuzhiyun 	{"",			0,		0,	SROM9_5GHPO_MCSBW40 + 1,	0xffff},
384*4882a593Smuzhiyun 	{"mcs32po",		0x00000600,	0,	SROM9_PO_MCS32,			0xffff},
385*4882a593Smuzhiyun 	{"legofdm40duppo",	0x00000600,	0,	SROM9_PO_LOFDM40DUP,	0xffff},
386*4882a593Smuzhiyun 	{"pcieingress_war",	0x00000700,	0,	SROM8_PCIEINGRESS_WAR,	0xf},
387*4882a593Smuzhiyun 	{"eu_edthresh2g",	0x00000100,	0,	SROM8_EU_EDCRSTH,		0x00ff},
388*4882a593Smuzhiyun 	{"eu_edthresh5g",	0x00000100,	0,	SROM8_EU_EDCRSTH,		0xff00},
389*4882a593Smuzhiyun 	{"eu_edthresh2g",	0x00000200,	0,	SROM9_EU_EDCRSTH,		0x00ff},
390*4882a593Smuzhiyun 	{"eu_edthresh5g",	0x00000200,	0,	SROM9_EU_EDCRSTH,		0xff00},
391*4882a593Smuzhiyun 	{"rxgainerr2ga0",	0x00000700,	0,	SROM8_RXGAINERR_2G,		0x003f},
392*4882a593Smuzhiyun 	{"rxgainerr2ga0",	0x00000700,	0,	SROM8_RXGAINERR_2G,		0x003f},
393*4882a593Smuzhiyun 	{"rxgainerr2ga1",	0x00000700,	0,	SROM8_RXGAINERR_2G,		0x07c0},
394*4882a593Smuzhiyun 	{"rxgainerr2ga2",	0x00000700,	0,	SROM8_RXGAINERR_2G,		0xf800},
395*4882a593Smuzhiyun 	{"rxgainerr5gla0",	0x00000700,	0,	SROM8_RXGAINERR_5GL,	0x003f},
396*4882a593Smuzhiyun 	{"rxgainerr5gla1",	0x00000700,	0,	SROM8_RXGAINERR_5GL,	0x07c0},
397*4882a593Smuzhiyun 	{"rxgainerr5gla2",	0x00000700,	0,	SROM8_RXGAINERR_5GL,	0xf800},
398*4882a593Smuzhiyun 	{"rxgainerr5gma0",	0x00000700,	0,	SROM8_RXGAINERR_5GM,	0x003f},
399*4882a593Smuzhiyun 	{"rxgainerr5gma1",	0x00000700,	0,	SROM8_RXGAINERR_5GM,	0x07c0},
400*4882a593Smuzhiyun 	{"rxgainerr5gma2",	0x00000700,	0,	SROM8_RXGAINERR_5GM,	0xf800},
401*4882a593Smuzhiyun 	{"rxgainerr5gha0",	0x00000700,	0,	SROM8_RXGAINERR_5GH,	0x003f},
402*4882a593Smuzhiyun 	{"rxgainerr5gha1",	0x00000700,	0,	SROM8_RXGAINERR_5GH,	0x07c0},
403*4882a593Smuzhiyun 	{"rxgainerr5gha2",	0x00000700,	0,	SROM8_RXGAINERR_5GH,	0xf800},
404*4882a593Smuzhiyun 	{"rxgainerr5gua0",	0x00000700,	0,	SROM8_RXGAINERR_5GU,	0x003f},
405*4882a593Smuzhiyun 	{"rxgainerr5gua1",	0x00000700,	0,	SROM8_RXGAINERR_5GU,	0x07c0},
406*4882a593Smuzhiyun 	{"rxgainerr5gua2",	0x00000700,	0,	SROM8_RXGAINERR_5GU,	0xf800},
407*4882a593Smuzhiyun 	{"sar2g",       	0x00000600,	0,	SROM9_SAR,          	0x00ff},
408*4882a593Smuzhiyun 	{"sar5g",           0x00000600,	0,	SROM9_SAR,	            0xff00},
409*4882a593Smuzhiyun 	{"noiselvl2ga0",	0x00000700,	0,	SROM8_NOISELVL_2G,		0x001f},
410*4882a593Smuzhiyun 	{"noiselvl2ga1",	0x00000700,	0,	SROM8_NOISELVL_2G,		0x03e0},
411*4882a593Smuzhiyun 	{"noiselvl2ga2",	0x00000700,	0,	SROM8_NOISELVL_2G,		0x7c00},
412*4882a593Smuzhiyun 	{"noiselvl5gla0",	0x00000700,	0,	SROM8_NOISELVL_5GL,		0x001f},
413*4882a593Smuzhiyun 	{"noiselvl5gla1",	0x00000700,	0,	SROM8_NOISELVL_5GL,		0x03e0},
414*4882a593Smuzhiyun 	{"noiselvl5gla2",	0x00000700,	0,	SROM8_NOISELVL_5GL,		0x7c00},
415*4882a593Smuzhiyun 	{"noiselvl5gma0",	0x00000700,	0,	SROM8_NOISELVL_5GM,		0x001f},
416*4882a593Smuzhiyun 	{"noiselvl5gma1",	0x00000700,	0,	SROM8_NOISELVL_5GM,		0x03e0},
417*4882a593Smuzhiyun 	{"noiselvl5gma2",	0x00000700,	0,	SROM8_NOISELVL_5GM,		0x7c00},
418*4882a593Smuzhiyun 	{"noiselvl5gha0",	0x00000700,	0,	SROM8_NOISELVL_5GH,		0x001f},
419*4882a593Smuzhiyun 	{"noiselvl5gha1",	0x00000700,	0,	SROM8_NOISELVL_5GH,		0x03e0},
420*4882a593Smuzhiyun 	{"noiselvl5gha2",	0x00000700,	0,	SROM8_NOISELVL_5GH,		0x7c00},
421*4882a593Smuzhiyun 	{"noiselvl5gua0",	0x00000700,	0,	SROM8_NOISELVL_5GU,		0x001f},
422*4882a593Smuzhiyun 	{"noiselvl5gua1",	0x00000700,	0,	SROM8_NOISELVL_5GU,		0x03e0},
423*4882a593Smuzhiyun 	{"noiselvl5gua2",	0x00000700,	0,	SROM8_NOISELVL_5GU,		0x7c00},
424*4882a593Smuzhiyun 	{"noisecaloffset",	0x00000300,	0,	SROM8_NOISECALOFFSET,		0x00ff},
425*4882a593Smuzhiyun 	{"noisecaloffset5g",	0x00000300,	0,	SROM8_NOISECALOFFSET,		0xff00},
426*4882a593Smuzhiyun 	{"subband5gver",	0x00000700,	0,	SROM8_SUBBAND_PPR,		0x7},
427*4882a593Smuzhiyun 
428*4882a593Smuzhiyun 	{"cckPwrOffset",	0x00000400,	0,	SROM10_CCKPWROFFSET,		0xffff},
429*4882a593Smuzhiyun 	{"eu_edthresh2g",	0x00000400,	0,	SROM10_EU_EDCRSTH,		0x00ff},
430*4882a593Smuzhiyun 	{"eu_edthresh5g",	0x00000400,	0,	SROM10_EU_EDCRSTH,		0xff00},
431*4882a593Smuzhiyun 	/* swctrlmap_2g array, note that the last element doesn't have SRFL_ARRAY flag set */
432*4882a593Smuzhiyun 	{"swctrlmap_2g", 0x00000400, SRFL_MORE|SRFL_PRHEX|SRFL_ARRAY, SROM10_SWCTRLMAP_2G, 0xffff},
433*4882a593Smuzhiyun 	{"",	0x00000400, SRFL_ARRAY,	SROM10_SWCTRLMAP_2G + 1,			0xffff},
434*4882a593Smuzhiyun 	{"",	0x00000400, SRFL_MORE|SRFL_PRHEX|SRFL_ARRAY, SROM10_SWCTRLMAP_2G + 2, 	0xffff},
435*4882a593Smuzhiyun 	{"",	0x00000400, SRFL_ARRAY,	SROM10_SWCTRLMAP_2G + 3,			0xffff},
436*4882a593Smuzhiyun 	{"",	0x00000400, SRFL_MORE|SRFL_PRHEX|SRFL_ARRAY, SROM10_SWCTRLMAP_2G + 4,	0xffff},
437*4882a593Smuzhiyun 	{"",	0x00000400, SRFL_ARRAY,	SROM10_SWCTRLMAP_2G + 5,			0xffff},
438*4882a593Smuzhiyun 	{"",	0x00000400, SRFL_MORE|SRFL_PRHEX|SRFL_ARRAY, SROM10_SWCTRLMAP_2G + 6,	0xffff},
439*4882a593Smuzhiyun 	{"",	0x00000400, SRFL_ARRAY,	SROM10_SWCTRLMAP_2G + 7,			0xffff},
440*4882a593Smuzhiyun 	{"",	0x00000400, SRFL_PRHEX,	SROM10_SWCTRLMAP_2G + 8,			0xffff},
441*4882a593Smuzhiyun 
442*4882a593Smuzhiyun 	/* sromrev 11 */
443*4882a593Smuzhiyun 	{"boardflags3",	0xfffff800,	SRFL_PRHEX|SRFL_MORE,	SROM11_BFL4,	0xffff},
444*4882a593Smuzhiyun 	{"",		0,		0,			SROM11_BFL5,	0xffff},
445*4882a593Smuzhiyun 	{"boardnum",	0xfffff800,	0,			SROM11_MACLO,	0xffff},
446*4882a593Smuzhiyun 	{"macaddr",	0xfffff800,	SRFL_ETHADDR,		SROM11_MACHI,	0xffff},
447*4882a593Smuzhiyun 	{"ccode",	0xfffff800,	SRFL_CCODE,		SROM11_CCODE,	0xffff},
448*4882a593Smuzhiyun 	{"regrev",	0xfffff800,	0,			SROM11_REGREV,	0xffff},
449*4882a593Smuzhiyun 	{"aa2g",	0xfffff800,	0,			SROM11_AA,	0x00ff},
450*4882a593Smuzhiyun 	{"aa5g",	0xfffff800,	0,			SROM11_AA,	0xff00},
451*4882a593Smuzhiyun 	{"agbg0",	0xfffff800,	0,			SROM11_AGBG10,  0xff00},
452*4882a593Smuzhiyun 	{"agbg1",	0xfffff800,	0,			SROM11_AGBG10,	0x00ff},
453*4882a593Smuzhiyun 	{"agbg2",	0xfffff800,	0,			SROM11_AGBG2A0,	0xff00},
454*4882a593Smuzhiyun 	{"aga0",	0xfffff800,	0,			SROM11_AGBG2A0,	0x00ff},
455*4882a593Smuzhiyun 	{"aga1",	0xfffff800,	0,			SROM11_AGA21,   0xff00},
456*4882a593Smuzhiyun 	{"aga2",	0xfffff800,	0,			SROM11_AGA21,	0x00ff},
457*4882a593Smuzhiyun 	{"txchain",	0xfffff800,	SRFL_NOFFS,	SROM11_TXRXC,	SROM4_TXCHAIN_MASK},
458*4882a593Smuzhiyun 	{"rxchain",	0xfffff800,	SRFL_NOFFS,	SROM11_TXRXC,	SROM4_RXCHAIN_MASK},
459*4882a593Smuzhiyun 	{"antswitch",	0xfffff800,	SRFL_NOFFS,	SROM11_TXRXC,	SROM4_SWITCH_MASK},
460*4882a593Smuzhiyun 
461*4882a593Smuzhiyun 	{"tssiposslope2g",	0xfffff800,	0,		SROM11_FEM_CFG1, 	0x0001},
462*4882a593Smuzhiyun 	{"epagain2g",		0xfffff800,	0,		SROM11_FEM_CFG1, 	0x000e},
463*4882a593Smuzhiyun 	{"pdgain2g",		0xfffff800,	0,		SROM11_FEM_CFG1, 	0x01f0},
464*4882a593Smuzhiyun 	{"tworangetssi2g",	0xfffff800,	0,		SROM11_FEM_CFG1, 	0x0200},
465*4882a593Smuzhiyun 	{"papdcap2g",		0xfffff800,	0,		SROM11_FEM_CFG1, 	0x0400},
466*4882a593Smuzhiyun 	{"femctrl",		0xfffff800,	0,		SROM11_FEM_CFG1, 	0xf800},
467*4882a593Smuzhiyun 
468*4882a593Smuzhiyun 	{"tssiposslope5g",	0xfffff800,	0,		SROM11_FEM_CFG2, 	0x0001},
469*4882a593Smuzhiyun 	{"epagain5g",		0xfffff800,	0,		SROM11_FEM_CFG2, 	0x000e},
470*4882a593Smuzhiyun 	{"pdgain5g",		0xfffff800,	0,		SROM11_FEM_CFG2, 	0x01f0},
471*4882a593Smuzhiyun 	{"tworangetssi5g",	0xfffff800,	0,		SROM11_FEM_CFG2, 	0x0200},
472*4882a593Smuzhiyun 	{"papdcap5g",		0xfffff800,	0,		SROM11_FEM_CFG2, 	0x0400},
473*4882a593Smuzhiyun 	{"gainctrlsph",		0xfffff800,	0,		SROM11_FEM_CFG2, 	0xf800},
474*4882a593Smuzhiyun 
475*4882a593Smuzhiyun 	{"tempthresh",		0xfffff800,	0,		SROM11_THERMAL,		0xff00},
476*4882a593Smuzhiyun 	{"tempoffset",		0xfffff800,	0,		SROM11_THERMAL,		0x00ff},
477*4882a593Smuzhiyun 	{"rawtempsense", 	0xfffff800,	SRFL_PRHEX,	SROM11_MPWR_RAWTS,	0x01ff},
478*4882a593Smuzhiyun 	{"measpower",		0xfffff800,	SRFL_PRHEX,	SROM11_MPWR_RAWTS,	0xfe00},
479*4882a593Smuzhiyun 	{"tempsense_slope",	0xfffff800,	SRFL_PRHEX, 	SROM11_TS_SLP_OPT_CORRX, 0x00ff},
480*4882a593Smuzhiyun 	{"tempcorrx",		0xfffff800,	SRFL_PRHEX, 	SROM11_TS_SLP_OPT_CORRX, 0xfc00},
481*4882a593Smuzhiyun 	{"tempsense_option",	0xfffff800,	SRFL_PRHEX,	SROM11_TS_SLP_OPT_CORRX, 0x0300},
482*4882a593Smuzhiyun 	{"xtalfreq",		0xfffff800,	0,		SROM11_XTAL_FREQ, 	0xffff},
483*4882a593Smuzhiyun 	{"txpwrbckof",	0x00000800,	SRFL_PRHEX,	SROM11_PATH0 + SROM11_2G_MAXP,	0xff00},
484*4882a593Smuzhiyun 	/* Special PA Params for 4350 5G Band, 40/80 MHz BW Ant #1 */
485*4882a593Smuzhiyun 	{"pa5gbw4080a1", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB0_4080_W0_A1, 0xffff},
486*4882a593Smuzhiyun 	{"", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB0_4080_W1_A1,                 0xffff},
487*4882a593Smuzhiyun 	{"", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB0_4080_W2_A1,                 0xffff},
488*4882a593Smuzhiyun 	{"", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB1_4080_W0_A1,                 0xffff},
489*4882a593Smuzhiyun 	{"", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB1_4080_PA,     0xffff},
490*4882a593Smuzhiyun 	{"", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB1_4080_PA + 1, 0xffff},
491*4882a593Smuzhiyun 	{"", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB2_4080_PA,     0xffff},
492*4882a593Smuzhiyun 	{"", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB2_4080_PA + 1, 0xffff},
493*4882a593Smuzhiyun 	{"", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB2_4080_PA + 2, 0xffff},
494*4882a593Smuzhiyun 	{"", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB3_4080_PA,     0xffff},
495*4882a593Smuzhiyun 	{"", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB3_4080_PA + 1, 0xffff},
496*4882a593Smuzhiyun 	{"", 0xfffff800, SRFL_PRHEX,              SROM11_PATH2 + SROM11_5GB3_4080_PA + 2, 0xffff},
497*4882a593Smuzhiyun 	{"phycal_tempdelta",	0xfffff800,	0,		SROM11_PHYCAL_TEMPDELTA, 0x00ff},
498*4882a593Smuzhiyun 	{"temps_period",	0xfffff800,	0,		SROM11_PHYCAL_TEMPDELTA, 0x0f00},
499*4882a593Smuzhiyun 	{"temps_hysteresis",	0xfffff800,	0,		SROM11_PHYCAL_TEMPDELTA, 0xf000},
500*4882a593Smuzhiyun 	{"measpower1", 		0xfffff800,	SRFL_PRHEX,	SROM11_MPWR_1_AND_2, 	0x007f},
501*4882a593Smuzhiyun 	{"measpower2",		0xfffff800, 	SRFL_PRHEX,	SROM11_MPWR_1_AND_2, 	0x3f80},
502*4882a593Smuzhiyun 	{"tssifloor2g",		0xfffff800,	SRFL_PRHEX,	SROM11_TSSIFLOOR_2G,	0x03ff},
503*4882a593Smuzhiyun 	{"tssifloor5g",	0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_TSSIFLOOR_5GL,	0x03ff},
504*4882a593Smuzhiyun 	{"",		0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_TSSIFLOOR_5GM,	0x03ff},
505*4882a593Smuzhiyun 	{"",		0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_TSSIFLOOR_5GH,	0x03ff},
506*4882a593Smuzhiyun 	{"",		0xfffff800,	SRFL_PRHEX,		SROM11_TSSIFLOOR_5GU,	0x03ff},
507*4882a593Smuzhiyun 	{"pdoffset2g40ma0",     0xfffff800, 0,      SROM11_PDOFF_2G_40M,    0x000f},
508*4882a593Smuzhiyun 	{"pdoffset2g40ma1",     0xfffff800, 0,      SROM11_PDOFF_2G_40M,    0x00f0},
509*4882a593Smuzhiyun 	{"pdoffset2g40ma2",     0xfffff800, 0,      SROM11_PDOFF_2G_40M,    0x0f00},
510*4882a593Smuzhiyun 	{"pdoffset2g40mvalid",  0xfffff800, 0,      SROM11_PDOFF_2G_40M,    0x8000},
511*4882a593Smuzhiyun 	{"pdoffset40ma0",      	0xfffff800,	0,		SROM11_PDOFF_40M_A0,   	0xffff},
512*4882a593Smuzhiyun 	{"pdoffset40ma1",      	0xfffff800,	0,		SROM11_PDOFF_40M_A1,   	0xffff},
513*4882a593Smuzhiyun 	{"pdoffset40ma2",      	0xfffff800,	0,		SROM11_PDOFF_40M_A2,   	0xffff},
514*4882a593Smuzhiyun 	{"pdoffset80ma0",      	0xfffff800,	0,		SROM11_PDOFF_80M_A0,   	0xffff},
515*4882a593Smuzhiyun 	{"pdoffset80ma1",      	0xfffff800,	0,		SROM11_PDOFF_80M_A1,   	0xffff},
516*4882a593Smuzhiyun 	{"pdoffset80ma2",      	0xfffff800,	0,		SROM11_PDOFF_80M_A2,   	0xffff},
517*4882a593Smuzhiyun 
518*4882a593Smuzhiyun 	{"subband5gver",	0xfffff800, 	SRFL_PRHEX,	SROM11_SUBBAND5GVER, 	0xffff},
519*4882a593Smuzhiyun 	{"paparambwver",	0xfffff800, 	0,		SROM11_MCSLR5GLPO, 	0xf000},
520*4882a593Smuzhiyun 	{"rx5ggainwar",         0xfffff800,     0,              SROM11_MCSLR5GMPO,      0x2000},
521*4882a593Smuzhiyun 	/* Special PA Params for 4350 5G Band, 40/80 MHz BW Ant #0 */
522*4882a593Smuzhiyun 	{"pa5gbw4080a0", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 +SROM11_5GB0_PA, 0xffff},
523*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB0_PA + 1, 0xffff},
524*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB0_PA + 2, 0xffff},
525*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB1_PA,     0xffff},
526*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB1_PA + 1, 0xffff},
527*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB1_PA + 2, 0xffff},
528*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB2_PA,     0xffff},
529*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB2_PA + 1, 0xffff},
530*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB2_PA + 2, 0xffff},
531*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB3_PA,     0xffff},
532*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB3_PA + 1, 0xffff},
533*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX,              SROM11_PATH2 + SROM11_5GB3_PA + 2, 0xffff},
534*4882a593Smuzhiyun 	/* Special PA Params for 4335 5G Band, 40 MHz BW */
535*4882a593Smuzhiyun 	{"pa5gbw40a0", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_5GB0_PA, 0xffff},
536*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_5GB0_PA + 1, 0xffff},
537*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_5GB0_PA + 2, 0xffff},
538*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_5GB1_PA,     0xffff},
539*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_5GB1_PA + 1, 0xffff},
540*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_5GB1_PA + 2, 0xffff},
541*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_5GB2_PA,     0xffff},
542*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_5GB2_PA + 1, 0xffff},
543*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_5GB2_PA + 2, 0xffff},
544*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_5GB3_PA,     0xffff},
545*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_5GB3_PA + 1, 0xffff},
546*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX,              SROM11_PATH1 + SROM11_5GB3_PA + 2, 0xffff},
547*4882a593Smuzhiyun 	/* Special PA Params for 4335 5G Band, 80 MHz BW */
548*4882a593Smuzhiyun 	{"pa5gbw80a0", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB0_PA, 0xffff},
549*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB0_PA + 1, 0xffff},
550*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB0_PA + 2, 0xffff},
551*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB1_PA,     0xffff},
552*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB1_PA + 1, 0xffff},
553*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB1_PA + 2, 0xffff},
554*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB2_PA,     0xffff},
555*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB2_PA + 1, 0xffff},
556*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB2_PA + 2, 0xffff},
557*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB3_PA,     0xffff},
558*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH2 + SROM11_5GB3_PA + 1, 0xffff},
559*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX,              SROM11_PATH2 + SROM11_5GB3_PA + 2, 0xffff},
560*4882a593Smuzhiyun 	/* Special PA Params for 4335 2G Band, CCK */
561*4882a593Smuzhiyun 	{"pa2gccka0", 0xfffff800, SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_2G_PA, 0xffff},
562*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_PATH1 + SROM11_2G_PA + 1, 0xffff},
563*4882a593Smuzhiyun 	{"", 0xfffff800,	SRFL_PRHEX,              SROM11_PATH1 + SROM11_2G_PA + 2, 0xffff},
564*4882a593Smuzhiyun 
565*4882a593Smuzhiyun 	/* power per rate */
566*4882a593Smuzhiyun 	{"cckbw202gpo",		0xfffff800,	0,		SROM11_CCKBW202GPO, 	0xffff},
567*4882a593Smuzhiyun 	{"cckbw20ul2gpo",	0xfffff800,	0,		SROM11_CCKBW20UL2GPO, 	0xffff},
568*4882a593Smuzhiyun 	{"mcsbw202gpo",		0xfffff800,	SRFL_MORE,	SROM11_MCSBW202GPO,   	0xffff},
569*4882a593Smuzhiyun 	{"",            	0xfffff800, 	0,          	SROM11_MCSBW202GPO_1, 	0xffff},
570*4882a593Smuzhiyun 	{"mcsbw402gpo",		0xfffff800,	SRFL_MORE,	SROM11_MCSBW402GPO,   	0xffff},
571*4882a593Smuzhiyun 	{"",            	0xfffff800, 	0,   		SROM11_MCSBW402GPO_1, 	0xffff},
572*4882a593Smuzhiyun 	{"dot11agofdmhrbw202gpo", 0xfffff800, 	0, 	SROM11_DOT11AGOFDMHRBW202GPO, 	0xffff},
573*4882a593Smuzhiyun 	{"ofdmlrbw202gpo",	0xfffff800, 	0, 		SROM11_OFDMLRBW202GPO,	0xffff},
574*4882a593Smuzhiyun 	{"mcsbw205glpo",	0xfffff800,	SRFL_MORE,	SROM11_MCSBW205GLPO, 	0xffff},
575*4882a593Smuzhiyun 	{"",           		0xfffff800, 	0,   		SROM11_MCSBW205GLPO_1, 	0xffff},
576*4882a593Smuzhiyun 	{"mcsbw405glpo",	0xfffff800,	SRFL_MORE,	SROM11_MCSBW405GLPO, 	0xffff},
577*4882a593Smuzhiyun 	{"",           		0xfffff800, 	0,     		SROM11_MCSBW405GLPO_1, 	0xffff},
578*4882a593Smuzhiyun 	{"mcsbw805glpo",	0xfffff800,	SRFL_MORE,	SROM11_MCSBW805GLPO, 	0xffff},
579*4882a593Smuzhiyun 	{"",           		0xfffff800, 	0,    		SROM11_MCSBW805GLPO_1, 	0xffff},
580*4882a593Smuzhiyun 	{"mcsbw205gmpo",	0xfffff800,	SRFL_MORE,	SROM11_MCSBW205GMPO, 	0xffff},
581*4882a593Smuzhiyun 	{"",           		0xfffff800, 	0,     		SROM11_MCSBW205GMPO_1, 	0xffff},
582*4882a593Smuzhiyun 	{"mcsbw405gmpo",	0xfffff800,	SRFL_MORE,	SROM11_MCSBW405GMPO, 	0xffff},
583*4882a593Smuzhiyun 	{"",           		0xfffff800, 	0,     		SROM11_MCSBW405GMPO_1, 	0xffff},
584*4882a593Smuzhiyun 	{"mcsbw805gmpo",	0xfffff800,	SRFL_MORE,	SROM11_MCSBW805GMPO, 	0xffff},
585*4882a593Smuzhiyun 	{"",           		0xfffff800, 	0,   		SROM11_MCSBW805GMPO_1, 	0xffff},
586*4882a593Smuzhiyun 	{"mcsbw205ghpo",	0xfffff800,	SRFL_MORE,	SROM11_MCSBW205GHPO, 	0xffff},
587*4882a593Smuzhiyun 	{"",           		0xfffff800, 	0,  		SROM11_MCSBW205GHPO_1, 	0xffff},
588*4882a593Smuzhiyun 	{"mcsbw405ghpo",	0xfffff800,	SRFL_MORE,	SROM11_MCSBW405GHPO, 	0xffff},
589*4882a593Smuzhiyun 	{"",           		0xfffff800, 	0,   		SROM11_MCSBW405GHPO_1, 	0xffff},
590*4882a593Smuzhiyun 	{"mcsbw805ghpo",	0xfffff800,	SRFL_MORE,	SROM11_MCSBW805GHPO, 	0xffff},
591*4882a593Smuzhiyun 	{"",           		0xfffff800, 	0,    		SROM11_MCSBW805GHPO_1, 	0xffff},
592*4882a593Smuzhiyun 	{"mcslr5glpo",		0xfffff800,	0,		SROM11_MCSLR5GLPO, 	0x0fff},
593*4882a593Smuzhiyun 	{"mcslr5gmpo",		0xfffff800,	0,		SROM11_MCSLR5GMPO, 	0xffff},
594*4882a593Smuzhiyun 	{"mcslr5ghpo",		0xfffff800,	0,		SROM11_MCSLR5GHPO, 	0xffff},
595*4882a593Smuzhiyun 	{"sb20in40hrpo", 	0xfffff800,	0,	SROM11_SB20IN40HRPO,		0xffff},
596*4882a593Smuzhiyun 	{"sb20in80and160hr5glpo", 0xfffff800, 	0, 	SROM11_SB20IN80AND160HR5GLPO, 	0xffff},
597*4882a593Smuzhiyun 	{"sb40and80hr5glpo",	  0xfffff800, 	0,	SROM11_SB40AND80HR5GLPO,	0xffff},
598*4882a593Smuzhiyun 	{"sb20in80and160hr5gmpo", 0xfffff800, 	0,	SROM11_SB20IN80AND160HR5GMPO, 	0xffff},
599*4882a593Smuzhiyun 	{"sb40and80hr5gmpo",	  0xfffff800, 	0,	SROM11_SB40AND80HR5GMPO,	0xffff},
600*4882a593Smuzhiyun 	{"sb20in80and160hr5ghpo", 0xfffff800, 	0,	SROM11_SB20IN80AND160HR5GHPO, 	0xffff},
601*4882a593Smuzhiyun 	{"sb40and80hr5ghpo",	  0xfffff800, 	0,	SROM11_SB40AND80HR5GHPO,	0xffff},
602*4882a593Smuzhiyun 	{"sb20in40lrpo",	  0xfffff800, 	0,	SROM11_SB20IN40LRPO,		0xffff},
603*4882a593Smuzhiyun 	{"sb20in80and160lr5glpo", 0xfffff800, 	0,	SROM11_SB20IN80AND160LR5GLPO, 	0xffff},
604*4882a593Smuzhiyun 	{"sb40and80lr5glpo",	  0xfffff800, 	0,	SROM11_SB40AND80LR5GLPO,	0xffff},
605*4882a593Smuzhiyun 	{"sb20in80and160lr5gmpo", 0xfffff800, 	0,	SROM11_SB20IN80AND160LR5GMPO, 	0xffff},
606*4882a593Smuzhiyun 	{"sb40and80lr5gmpo",	  0xfffff800, 	0,	SROM11_SB40AND80LR5GMPO,	0xffff},
607*4882a593Smuzhiyun 	{"sb20in80and160lr5ghpo", 0xfffff800, 	0,	SROM11_SB20IN80AND160LR5GHPO, 	0xffff},
608*4882a593Smuzhiyun 	{"sb40and80lr5ghpo",	  0xfffff800, 	0,	SROM11_SB40AND80LR5GHPO,	0xffff},
609*4882a593Smuzhiyun 	{"dot11agduphrpo",	  0xfffff800, 	0,	SROM11_DOT11AGDUPHRPO,		0xffff},
610*4882a593Smuzhiyun 	{"dot11agduplrpo",	  0xfffff800, 	0,	SROM11_DOT11AGDUPLRPO,		0xffff},
611*4882a593Smuzhiyun 
612*4882a593Smuzhiyun 	/* Misc */
613*4882a593Smuzhiyun 	{"sar2g",       	0xfffff800,	0,	SROM11_SAR,          	0x00ff},
614*4882a593Smuzhiyun 	{"sar5g",           	0xfffff800,	0,	SROM11_SAR,		0xff00},
615*4882a593Smuzhiyun 
616*4882a593Smuzhiyun 	{"noiselvl2ga0",	0xfffff800,	0,		SROM11_NOISELVL_2G,	0x001f},
617*4882a593Smuzhiyun 	{"noiselvl2ga1",	0xfffff800,	0,		SROM11_NOISELVL_2G,	0x03e0},
618*4882a593Smuzhiyun 	{"noiselvl2ga2",	0xfffff800,	0,		SROM11_NOISELVL_2G,	0x7c00},
619*4882a593Smuzhiyun 	{"noiselvl5ga0",	0xfffff800,	SRFL_ARRAY,	SROM11_NOISELVL_5GL,	0x001f},
620*4882a593Smuzhiyun 	{"",			0xfffff800,	SRFL_ARRAY,	SROM11_NOISELVL_5GM,	0x001f},
621*4882a593Smuzhiyun 	{"",			0xfffff800,	SRFL_ARRAY,	SROM11_NOISELVL_5GH,	0x001f},
622*4882a593Smuzhiyun 	{"",			0xfffff800,	0,		SROM11_NOISELVL_5GU,	0x001f},
623*4882a593Smuzhiyun 	{"noiselvl5ga1",	0xfffff800,	SRFL_ARRAY,	SROM11_NOISELVL_5GL,	0x03e0},
624*4882a593Smuzhiyun 	{"",			0xfffff800,	SRFL_ARRAY,	SROM11_NOISELVL_5GM,	0x03e0},
625*4882a593Smuzhiyun 	{"",			0xfffff800,	SRFL_ARRAY,	SROM11_NOISELVL_5GH,	0x03e0},
626*4882a593Smuzhiyun 	{"",			0xfffff800,	0,		SROM11_NOISELVL_5GU,	0x03e0},
627*4882a593Smuzhiyun 	{"noiselvl5ga2",	0xfffff800,	SRFL_ARRAY,	SROM11_NOISELVL_5GL,	0x7c00},
628*4882a593Smuzhiyun 	{"",			0xfffff800,	SRFL_ARRAY,	SROM11_NOISELVL_5GM,	0x7c00},
629*4882a593Smuzhiyun 	{"",			0xfffff800,	SRFL_ARRAY,	SROM11_NOISELVL_5GH,	0x7c00},
630*4882a593Smuzhiyun 	{"",			0xfffff800,	0,		SROM11_NOISELVL_5GU,	0x7c00},
631*4882a593Smuzhiyun 	{"eu_edthresh2g",	0x00000800,	0,	        SROM11_EU_EDCRSTH,	0x00ff},
632*4882a593Smuzhiyun 	{"eu_edthresh5g",	0x00000800,	0,	        SROM11_EU_EDCRSTH,	0xff00},
633*4882a593Smuzhiyun 
634*4882a593Smuzhiyun 	{"rxgainerr2ga0", 	0xfffff800, 	0,    		SROM11_RXGAINERR_2G,    0x003f},
635*4882a593Smuzhiyun 	{"rxgainerr2ga1", 	0xfffff800, 	0,    		SROM11_RXGAINERR_2G,    0x07c0},
636*4882a593Smuzhiyun 	{"rxgainerr2ga2", 	0xfffff800, 	0,    		SROM11_RXGAINERR_2G,    0xf800},
637*4882a593Smuzhiyun 	{"rxgainerr5ga0",      	0xfffff800, 	SRFL_ARRAY,    	SROM11_RXGAINERR_5GL,   0x003f},
638*4882a593Smuzhiyun 	{"",      		0xfffff800, 	SRFL_ARRAY,    	SROM11_RXGAINERR_5GM,   0x003f},
639*4882a593Smuzhiyun 	{"",      		0xfffff800, 	SRFL_ARRAY,    	SROM11_RXGAINERR_5GH,   0x003f},
640*4882a593Smuzhiyun 	{"",      		0xfffff800, 	0,    		SROM11_RXGAINERR_5GU,   0x003f},
641*4882a593Smuzhiyun 	{"rxgainerr5ga1",      	0xfffff800, 	SRFL_ARRAY,    	SROM11_RXGAINERR_5GL,   0x07c0},
642*4882a593Smuzhiyun 	{"",      		0xfffff800, 	SRFL_ARRAY,    	SROM11_RXGAINERR_5GM,   0x07c0},
643*4882a593Smuzhiyun 	{"",      		0xfffff800, 	SRFL_ARRAY,    	SROM11_RXGAINERR_5GH,   0x07c0},
644*4882a593Smuzhiyun 	{"",      		0xfffff800, 	0,    		SROM11_RXGAINERR_5GU,   0x07c0},
645*4882a593Smuzhiyun 	{"rxgainerr5ga2",      	0xfffff800, 	SRFL_ARRAY,    	SROM11_RXGAINERR_5GL,   0xf800},
646*4882a593Smuzhiyun 	{"",      		0xfffff800, 	SRFL_ARRAY,    	SROM11_RXGAINERR_5GM,   0xf800},
647*4882a593Smuzhiyun 	{"",      		0xfffff800, 	SRFL_ARRAY,    	SROM11_RXGAINERR_5GH,   0xf800},
648*4882a593Smuzhiyun 	{"",      		0xfffff800, 	0,    		SROM11_RXGAINERR_5GU,   0xf800},
649*4882a593Smuzhiyun 	{"rpcal2g",      	0xfffff800, 	0,		SROM11_RPCAL_2G,        0xffff},
650*4882a593Smuzhiyun 	{"rpcal5gb0",      	0xfffff800, 	0,		SROM11_RPCAL_5GL,       0xffff},
651*4882a593Smuzhiyun 	{"rpcal5gb1",      	0xfffff800, 	0,		SROM11_RPCAL_5GM,       0xffff},
652*4882a593Smuzhiyun 	{"rpcal5gb2",      	0xfffff800, 	0,		SROM11_RPCAL_5GH,       0xffff},
653*4882a593Smuzhiyun 	{"rpcal5gb3",      	0xfffff800, 	0,		SROM11_RPCAL_5GU,       0xffff},
654*4882a593Smuzhiyun 	{"txidxcap2g",      	0xfffff800, 	0,		SROM11_TXIDXCAP2G,      0x0ff0},
655*4882a593Smuzhiyun 	{"txidxcap5g",      	0xfffff800, 	0,		SROM11_TXIDXCAP5G,      0x0ff0},
656*4882a593Smuzhiyun 	{"pdoffsetcckma0",      0xfffff800,     0,              SROM11_PDOFF_2G_CCK,    0x000f},
657*4882a593Smuzhiyun 	{"pdoffsetcckma1",      0xfffff800,     0,              SROM11_PDOFF_2G_CCK,    0x00f0},
658*4882a593Smuzhiyun 	{"pdoffsetcckma2",      0xfffff800,     0,              SROM11_PDOFF_2G_CCK,    0x0f00},
659*4882a593Smuzhiyun 
660*4882a593Smuzhiyun 	/* sromrev 12 */
661*4882a593Smuzhiyun 	{"boardflags4",		0xfffff000,	SRFL_PRHEX|SRFL_MORE,	SROM12_BFL6,	0xffff},
662*4882a593Smuzhiyun 	{"",	0,	0,			SROM12_BFL7,	0xffff},
663*4882a593Smuzhiyun 	{"pdoffsetcck",		0xfffff000,	0,      SROM12_PDOFF_2G_CCK,       0xffff},
664*4882a593Smuzhiyun 	{"pdoffset20in40m5gb0",	0xfffff000,	0,      SROM12_PDOFF_20in40M_5G_B0,    0xffff},
665*4882a593Smuzhiyun 	{"pdoffset20in40m5gb1", 0xfffff000,	0,      SROM12_PDOFF_20in40M_5G_B1,    0xffff},
666*4882a593Smuzhiyun 	{"pdoffset20in40m5gb2", 0xfffff000,	0,      SROM12_PDOFF_20in40M_5G_B2,    0xffff},
667*4882a593Smuzhiyun 	{"pdoffset20in40m5gb3", 0xfffff000,	0,      SROM12_PDOFF_20in40M_5G_B3,    0xffff},
668*4882a593Smuzhiyun 	{"pdoffset20in40m5gb4", 0xfffff000,	0,      SROM12_PDOFF_20in40M_5G_B4,    0xffff},
669*4882a593Smuzhiyun 	{"pdoffset40in80m5gb0", 0xfffff000,	0,      SROM12_PDOFF_40in80M_5G_B0,    0xffff},
670*4882a593Smuzhiyun 	{"pdoffset40in80m5gb1", 0xfffff000,	0,      SROM12_PDOFF_40in80M_5G_B1,    0xffff},
671*4882a593Smuzhiyun 	{"pdoffset40in80m5gb2", 0xfffff000,	0,      SROM12_PDOFF_40in80M_5G_B2,    0xffff},
672*4882a593Smuzhiyun 	{"pdoffset40in80m5gb3", 0xfffff000,	0,      SROM12_PDOFF_40in80M_5G_B3,    0xffff},
673*4882a593Smuzhiyun 	{"pdoffset40in80m5gb4", 0xfffff000,	0,      SROM12_PDOFF_40in80M_5G_B4,    0xffff},
674*4882a593Smuzhiyun 	{"pdoffset20in80m5gb0", 0xfffff000,	0,      SROM12_PDOFF_20in80M_5G_B0,    0xffff},
675*4882a593Smuzhiyun 	{"pdoffset20in80m5gb1", 0xfffff000,	0,      SROM12_PDOFF_20in80M_5G_B1,    0xffff},
676*4882a593Smuzhiyun 	{"pdoffset20in80m5gb2", 0xfffff000,	0,      SROM12_PDOFF_20in80M_5G_B2,    0xffff},
677*4882a593Smuzhiyun 	{"pdoffset20in80m5gb3", 0xfffff000,	0,      SROM12_PDOFF_20in80M_5G_B3,    0xffff},
678*4882a593Smuzhiyun 	{"pdoffset20in80m5gb4", 0xfffff000,	0,      SROM12_PDOFF_20in80M_5G_B4,    0xffff},
679*4882a593Smuzhiyun 
680*4882a593Smuzhiyun 	/* power per rate */
681*4882a593Smuzhiyun 	{"mcsbw205gx1po",       0xfffff000,     SRFL_MORE,      SROM12_MCSBW205GX1PO,   0xffff},
682*4882a593Smuzhiyun 	{"",                    0xfffff000,     0,              SROM12_MCSBW205GX1PO_1, 0xffff},
683*4882a593Smuzhiyun 	{"mcsbw405gx1po",       0xfffff000,     SRFL_MORE,      SROM12_MCSBW405GX1PO,   0xffff},
684*4882a593Smuzhiyun 	{"",                    0xfffff000,     0,              SROM12_MCSBW405GX1PO_1, 0xffff},
685*4882a593Smuzhiyun 	{"mcsbw805gx1po",       0xfffff000,     SRFL_MORE,      SROM12_MCSBW805GX1PO,   0xffff},
686*4882a593Smuzhiyun 	{"",                    0xfffff000,     0,              SROM12_MCSBW805GX1PO_1, 0xffff},
687*4882a593Smuzhiyun 	{"mcsbw205gx2po",       0xfffff000,     SRFL_MORE,      SROM12_MCSBW205GX2PO,   0xffff},
688*4882a593Smuzhiyun 	{"",                    0xfffff000,     0,              SROM12_MCSBW205GX2PO_1, 0xffff},
689*4882a593Smuzhiyun 	{"mcsbw405gx2po",       0xfffff000,     SRFL_MORE,      SROM12_MCSBW405GX2PO,   0xffff},
690*4882a593Smuzhiyun 	{"",                    0xfffff000,     0,              SROM12_MCSBW405GX2PO_1, 0xffff},
691*4882a593Smuzhiyun 	{"mcsbw805gx2po",       0xfffff000,     SRFL_MORE,      SROM12_MCSBW805GX2PO,   0xffff},
692*4882a593Smuzhiyun 	{"",                    0xfffff000,     0,              SROM12_MCSBW805GX2PO_1, 0xffff},
693*4882a593Smuzhiyun 
694*4882a593Smuzhiyun 	{"sb20in80and160hr5gx1po", 0xfffff000,  0,      SROM12_SB20IN80AND160HR5GX1PO,  0xffff},
695*4882a593Smuzhiyun 	{"sb40and80hr5gx1po",     0xfffff000,   0,      SROM12_SB40AND80HR5GX1PO,       0xffff},
696*4882a593Smuzhiyun 	{"sb20in80and160lr5gx1po", 0xfffff000,  0,      SROM12_SB20IN80AND160LR5GX1PO,  0xffff},
697*4882a593Smuzhiyun 	{"sb40and80hr5gx1po",     0xfffff000,   0,      SROM12_SB40AND80HR5GX1PO,       0xffff},
698*4882a593Smuzhiyun 	{"sb20in80and160hr5gx2po", 0xfffff000,  0,      SROM12_SB20IN80AND160HR5GX2PO,  0xffff},
699*4882a593Smuzhiyun 	{"sb40and80hr5gx2po",     0xfffff000,   0,      SROM12_SB40AND80HR5GX2PO,       0xffff},
700*4882a593Smuzhiyun 	{"sb20in80and160lr5gx2po", 0xfffff000,  0,      SROM12_SB20IN80AND160LR5GX2PO,  0xffff},
701*4882a593Smuzhiyun 	{"sb40and80hr5gx2po",     0xfffff000,   0,      SROM12_SB40AND80HR5GX2PO,       0xffff},
702*4882a593Smuzhiyun 
703*4882a593Smuzhiyun 	{"rxgains5gmelnagaina0",	0xfffff000,	0,       SROM12_RXGAINS10,	0x0007},
704*4882a593Smuzhiyun 	{"rxgains5gmelnagaina1",	0xfffff000,	0,       SROM12_RXGAINS11,	0x0007},
705*4882a593Smuzhiyun 	{"rxgains5gmelnagaina2",	0xfffff000,	0,       SROM12_RXGAINS12,	0x0007},
706*4882a593Smuzhiyun 	{"rxgains5gmtrisoa0",	0xfffff000,	0,       SROM12_RXGAINS10,	0x0078},
707*4882a593Smuzhiyun 	{"rxgains5gmtrisoa1",	0xfffff000,	0,       SROM12_RXGAINS11,	0x0078},
708*4882a593Smuzhiyun 	{"rxgains5gmtrisoa2",	0xfffff000,	0,       SROM12_RXGAINS12,	0x0078},
709*4882a593Smuzhiyun 	{"rxgains5gmtrelnabypa0", 0xfffff000,	0,       SROM12_RXGAINS10,	0x0080},
710*4882a593Smuzhiyun 	{"rxgains5gmtrelnabypa1", 0xfffff000,	0,       SROM12_RXGAINS11,	0x0080},
711*4882a593Smuzhiyun 	{"rxgains5gmtrelnabypa2", 0xfffff000,	0,       SROM12_RXGAINS12,	0x0080},
712*4882a593Smuzhiyun 	{"rxgains5ghelnagaina0",	0xfffff000,	0,       SROM12_RXGAINS10,	0x0700},
713*4882a593Smuzhiyun 	{"rxgains5ghelnagaina1",	0xfffff000,	0,       SROM12_RXGAINS11,	0x0700},
714*4882a593Smuzhiyun 	{"rxgains5ghelnagaina2",	0xfffff000,	0,       SROM12_RXGAINS12,	0x0700},
715*4882a593Smuzhiyun 	{"rxgains5ghtrisoa0",	0xfffff000,	0,	 SROM12_RXGAINS10,	0x7800},
716*4882a593Smuzhiyun 	{"rxgains5ghtrisoa1",	0xfffff000,	0,	 SROM12_RXGAINS11,	0x7800},
717*4882a593Smuzhiyun 	{"rxgains5ghtrisoa2",	0xfffff000,	0,	 SROM12_RXGAINS12,	0x7800},
718*4882a593Smuzhiyun 	{"rxgains5ghtrelnabypa0", 0xfffff000,	0,	 SROM12_RXGAINS10,	0x8000},
719*4882a593Smuzhiyun 	{"rxgains5ghtrelnabypa1", 0xfffff000,	0,	 SROM12_RXGAINS11,	0x8000},
720*4882a593Smuzhiyun 	{"rxgains5ghtrelnabypa2", 0xfffff000,	0,	 SROM12_RXGAINS12,	0x8000},
721*4882a593Smuzhiyun 	{"eu_edthresh2g",	0x00001000,	0,       SROM12_EU_EDCRSTH,	0x00ff},
722*4882a593Smuzhiyun 	{"eu_edthresh5g",	0x00001000,	0,       SROM12_EU_EDCRSTH,	0xff00},
723*4882a593Smuzhiyun 
724*4882a593Smuzhiyun 	{"gpdn",		0xfffff000,	SRFL_PRHEX|SRFL_MORE,	SROM12_GPDN_L,	0xffff},
725*4882a593Smuzhiyun 	{"",			0,		0,			SROM12_GPDN_H,	0xffff},
726*4882a593Smuzhiyun 
727*4882a593Smuzhiyun 	{"rpcal2gcore3",        0xffffe000, 	0,	SROM13_RPCAL2GCORE3,            0x00ff},
728*4882a593Smuzhiyun 	{"rpcal5gb0core3",      0xffffe000, 	0,	SROM13_RPCAL5GB01CORE3,         0x00ff},
729*4882a593Smuzhiyun 	{"rpcal5gb1core3",      0xffffe000, 	0,	SROM13_RPCAL5GB01CORE3,         0xff00},
730*4882a593Smuzhiyun 	{"rpcal5gb2core3",      0xffffe000, 	0,	SROM13_RPCAL5GB23CORE3,         0x00ff},
731*4882a593Smuzhiyun 	{"rpcal5gb3core3",      0xffffe000, 	0,	SROM13_RPCAL5GB23CORE3,         0xff00},
732*4882a593Smuzhiyun 
733*4882a593Smuzhiyun 	{"sw_txchain_mask",	0xffffe000,	0,	SROM13_SW_TXRX_MASK,	0x000f},
734*4882a593Smuzhiyun 	{"sw_rxchain_mask",	0xffffe000,	0,	SROM13_SW_TXRX_MASK,	0x00f0},
735*4882a593Smuzhiyun 
736*4882a593Smuzhiyun 	{"eu_edthresh2g",       0x00002000,     0,       SROM13_EU_EDCRSTH,     0x00ff},
737*4882a593Smuzhiyun 	{"eu_edthresh5g",       0x00002000,     0,       SROM13_EU_EDCRSTH,     0xff00},
738*4882a593Smuzhiyun 
739*4882a593Smuzhiyun 	{"agbg3",       0xffffe000,     0,              SROM13_ANTGAIN_BANDBGA, 0xff00},
740*4882a593Smuzhiyun 	{"aga3",        0xffffe000,     0,              SROM13_ANTGAIN_BANDBGA, 0x00ff},
741*4882a593Smuzhiyun 	{"noiselvl2ga3",        0xffffe000,     0,              SROM13_NOISELVLCORE3,   0x001f},
742*4882a593Smuzhiyun 	{"noiselvl5ga3",        0xffffe000,     SRFL_ARRAY,     SROM13_NOISELVLCORE3,   0x03e0},
743*4882a593Smuzhiyun 	{"",                    0xffffe000,     SRFL_ARRAY,     SROM13_NOISELVLCORE3,   0x7c00},
744*4882a593Smuzhiyun 	{"",                    0xffffe000,     SRFL_ARRAY,     SROM13_NOISELVLCORE3_1, 0x001f},
745*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,              SROM13_NOISELVLCORE3_1, 0x03e0},
746*4882a593Smuzhiyun 	{"rxgainerr2ga3",       0xffffe000,     0,              SROM13_RXGAINERRCORE3,  0x001f},
747*4882a593Smuzhiyun 	{"rxgainerr5ga3",       0xffffe000,     SRFL_ARRAY,     SROM13_RXGAINERRCORE3,  0x03e0},
748*4882a593Smuzhiyun 	{"",                    0xffffe000,     SRFL_ARRAY,     SROM13_RXGAINERRCORE3,  0x7c00},
749*4882a593Smuzhiyun 	{"",                    0xffffe000,     SRFL_ARRAY,     SROM13_RXGAINERRCORE3_1, 0x001f},
750*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,              SROM13_RXGAINERRCORE3_1, 0x03e0},
751*4882a593Smuzhiyun 	{"rxgains5gmelnagaina3",        0xffffe000,     0,       SROM13_RXGAINS1CORE3,  0x0007},
752*4882a593Smuzhiyun 	{"rxgains5gmtrisoa3",   0xffffe000,     0,       SROM13_RXGAINS1CORE3,  0x0078},
753*4882a593Smuzhiyun 	{"rxgains5gmtrelnabypa3", 0xffffe000,   0,       SROM13_RXGAINS1CORE3,  0x0080},
754*4882a593Smuzhiyun 	{"rxgains5ghelnagaina3",        0xffffe000,     0,       SROM13_RXGAINS1CORE3,  0x0700},
755*4882a593Smuzhiyun 	{"rxgains5ghtrisoa3",   0xffffe000,     0,       SROM13_RXGAINS1CORE3,  0x7800},
756*4882a593Smuzhiyun 	{"rxgains5ghtrelnabypa3", 0xffffe000,   0,       SROM13_RXGAINS1CORE3,  0x8000},
757*4882a593Smuzhiyun 
758*4882a593Smuzhiyun 	/* pdoffset */
759*4882a593Smuzhiyun 	{"pdoffset20in40m5gcore3",   0xffffe000, 0,     SROM13_PDOFFSET20IN40M5GCORE3,   0xffff},
760*4882a593Smuzhiyun 	{"pdoffset20in40m5gcore3_1", 0xffffe000, 0,     SROM13_PDOFFSET20IN40M5GCORE3_1, 0xffff},
761*4882a593Smuzhiyun 	{"pdoffset20in80m5gcore3",   0xffffe000, 0,     SROM13_PDOFFSET20IN80M5GCORE3,   0xffff},
762*4882a593Smuzhiyun 	{"pdoffset20in80m5gcore3_1", 0xffffe000, 0,     SROM13_PDOFFSET20IN80M5GCORE3_1, 0xffff},
763*4882a593Smuzhiyun 	{"pdoffset40in80m5gcore3",   0xffffe000, 0,     SROM13_PDOFFSET40IN80M5GCORE3,   0xffff},
764*4882a593Smuzhiyun 	{"pdoffset40in80m5gcore3_1", 0xffffe000, 0,     SROM13_PDOFFSET40IN80M5GCORE3_1, 0xffff},
765*4882a593Smuzhiyun 
766*4882a593Smuzhiyun 	{"pdoffset20in40m2g",        0xffffe000, 0,     SROM13_PDOFFSET20IN40M2G,        0xffff},
767*4882a593Smuzhiyun 	{"pdoffset20in40m2gcore3",   0xffffe000, 0,     SROM13_PDOFFSET20IN40M2GCORE3,   0xffff},
768*4882a593Smuzhiyun 	{"pdoffsetcck20m",           0xffffe000, 0,     SROM13_PDOFF_2G_CCK_20M,         0xffff},
769*4882a593Smuzhiyun 
770*4882a593Smuzhiyun 	/* power per rate */
771*4882a593Smuzhiyun 	{"mcs1024qam2gpo",      0xffffe000,     0,           SROM13_MCS1024QAM2GPO,     0xffff},
772*4882a593Smuzhiyun 	{"mcs1024qam5glpo",     0xffffe000,     SRFL_MORE,   SROM13_MCS1024QAM5GLPO,    0xffff},
773*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,           SROM13_MCS1024QAM5GLPO_1,  0xffff},
774*4882a593Smuzhiyun 	{"mcs1024qam5gmpo",     0xffffe000,     SRFL_MORE,   SROM13_MCS1024QAM5GMPO,    0xffff},
775*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,           SROM13_MCS1024QAM5GMPO_1,  0xffff},
776*4882a593Smuzhiyun 	{"mcs1024qam5ghpo",     0xffffe000,     SRFL_MORE,   SROM13_MCS1024QAM5GHPO,    0xffff},
777*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,           SROM13_MCS1024QAM5GHPO_1,  0xffff},
778*4882a593Smuzhiyun 	{"mcs1024qam5gx1po",    0xffffe000,     SRFL_MORE,   SROM13_MCS1024QAM5GX1PO,   0xffff},
779*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,           SROM13_MCS1024QAM5GX1PO_1, 0xffff},
780*4882a593Smuzhiyun 	{"mcs1024qam5gx2po",    0xffffe000,     SRFL_MORE,   SROM13_MCS1024QAM5GX2PO,   0xffff},
781*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,           SROM13_MCS1024QAM5GX2PO_1, 0xffff},
782*4882a593Smuzhiyun 
783*4882a593Smuzhiyun 	{"mcsbw1605glpo",       0xffffe000,     SRFL_MORE,      SROM13_MCSBW1605GLPO,   0xffff},
784*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,              SROM13_MCSBW1605GLPO_1, 0xffff},
785*4882a593Smuzhiyun 	{"mcsbw1605gmpo",       0xffffe000,     SRFL_MORE,      SROM13_MCSBW1605GMPO,   0xffff},
786*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,              SROM13_MCSBW1605GMPO_1, 0xffff},
787*4882a593Smuzhiyun 	{"mcsbw1605ghpo",       0xffffe000,     SRFL_MORE,      SROM13_MCSBW1605GHPO,   0xffff},
788*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,              SROM13_MCSBW1605GHPO_1, 0xffff},
789*4882a593Smuzhiyun 	{"mcsbw1605gx1po",      0xffffe000,     SRFL_MORE,      SROM13_MCSBW1605GX1PO,  0xffff},
790*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,      SROM13_MCSBW1605GX1PO_1,        0xffff},
791*4882a593Smuzhiyun 	{"mcsbw1605gx2po",      0xffffe000,     SRFL_MORE,      SROM13_MCSBW1605GX2PO,  0xffff},
792*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,      SROM13_MCSBW1605GX2PO_1,        0xffff},
793*4882a593Smuzhiyun 
794*4882a593Smuzhiyun 	{"ulbpproffs2g",        0xffffe000,     0,      SROM13_ULBPPROFFS2G,            0xffff},
795*4882a593Smuzhiyun 
796*4882a593Smuzhiyun 	{"mcs8poexp",           0xffffe000,     SRFL_MORE,    SROM13_MCS8POEXP,         0xffff},
797*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,            SROM13_MCS8POEXP_1,       0xffff},
798*4882a593Smuzhiyun 	{"mcs9poexp",           0xffffe000,     SRFL_MORE,    SROM13_MCS9POEXP,         0xffff},
799*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,            SROM13_MCS9POEXP_1,       0xffff},
800*4882a593Smuzhiyun 	{"mcs10poexp",          0xffffe000,     SRFL_MORE,    SROM13_MCS10POEXP,        0xffff},
801*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,            SROM13_MCS10POEXP_1,      0xffff},
802*4882a593Smuzhiyun 	{"mcs11poexp",          0xffffe000,     SRFL_MORE,    SROM13_MCS11POEXP,        0xffff},
803*4882a593Smuzhiyun 	{"",                    0xffffe000,     0,            SROM13_MCS11POEXP_1,      0xffff},
804*4882a593Smuzhiyun 
805*4882a593Smuzhiyun 	{"ulbpdoffs5gb0a0",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB0A0,         0xffff},
806*4882a593Smuzhiyun 	{"ulbpdoffs5gb0a1",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB0A1,         0xffff},
807*4882a593Smuzhiyun 	{"ulbpdoffs5gb0a2",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB0A2,         0xffff},
808*4882a593Smuzhiyun 	{"ulbpdoffs5gb0a3",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB0A3,         0xffff},
809*4882a593Smuzhiyun 	{"ulbpdoffs5gb1a0",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB1A0,         0xffff},
810*4882a593Smuzhiyun 	{"ulbpdoffs5gb1a1",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB1A1,         0xffff},
811*4882a593Smuzhiyun 	{"ulbpdoffs5gb1a2",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB1A2,         0xffff},
812*4882a593Smuzhiyun 	{"ulbpdoffs5gb1a3",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB1A3,         0xffff},
813*4882a593Smuzhiyun 	{"ulbpdoffs5gb2a0",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB2A0,         0xffff},
814*4882a593Smuzhiyun 	{"ulbpdoffs5gb2a1",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB2A1,         0xffff},
815*4882a593Smuzhiyun 	{"ulbpdoffs5gb2a2",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB2A2,         0xffff},
816*4882a593Smuzhiyun 	{"ulbpdoffs5gb2a3",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB2A3,         0xffff},
817*4882a593Smuzhiyun 	{"ulbpdoffs5gb3a0",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB3A0,         0xffff},
818*4882a593Smuzhiyun 	{"ulbpdoffs5gb3a1",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB3A1,         0xffff},
819*4882a593Smuzhiyun 	{"ulbpdoffs5gb3a2",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB3A2,         0xffff},
820*4882a593Smuzhiyun 	{"ulbpdoffs5gb3a3",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB3A3,         0xffff},
821*4882a593Smuzhiyun 	{"ulbpdoffs5gb4a0",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB4A0,         0xffff},
822*4882a593Smuzhiyun 	{"ulbpdoffs5gb4a1",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB4A1,         0xffff},
823*4882a593Smuzhiyun 	{"ulbpdoffs5gb4a2",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB4A2,         0xffff},
824*4882a593Smuzhiyun 	{"ulbpdoffs5gb4a3",     0xffffe000,     0,      SROM13_ULBPDOFFS5GB4A3,         0xffff},
825*4882a593Smuzhiyun 	{"ulbpdoffs2ga0",       0xffffe000,     0,      SROM13_ULBPDOFFS2GA0,           0xffff},
826*4882a593Smuzhiyun 	{"ulbpdoffs2ga1",       0xffffe000,     0,      SROM13_ULBPDOFFS2GA1,           0xffff},
827*4882a593Smuzhiyun 	{"ulbpdoffs2ga2",       0xffffe000,     0,      SROM13_ULBPDOFFS2GA2,           0xffff},
828*4882a593Smuzhiyun 	{"ulbpdoffs2ga3",       0xffffe000,     0,      SROM13_ULBPDOFFS2GA3,           0xffff},
829*4882a593Smuzhiyun 
830*4882a593Smuzhiyun 	{"rpcal5gb4",           0xffffe000,     0,      SROM13_RPCAL5GB4,               0xffff},
831*4882a593Smuzhiyun 
832*4882a593Smuzhiyun 	{"sb20in40hrlrpox",     0xffffe000,     0,       SROM13_SB20IN40HRLRPOX,        0xffff},
833*4882a593Smuzhiyun 
834*4882a593Smuzhiyun 	{"swctrlmap4_cfg",      0xffffe000,     0,      SROM13_SWCTRLMAP4_CFG,          0xffff},
835*4882a593Smuzhiyun 	{"swctrlmap4_TX2g_fem3to0", 0xffffe000, 0,      SROM13_SWCTRLMAP4_TX2G_FEM3TO0, 0xffff},
836*4882a593Smuzhiyun 	{"swctrlmap4_RX2g_fem3to0", 0xffffe000, 0,      SROM13_SWCTRLMAP4_RX2G_FEM3TO0, 0xffff},
837*4882a593Smuzhiyun 	{"swctrlmap4_RXByp2g_fem3to0", 0xffffe000, 0, SROM13_SWCTRLMAP4_RXBYP2G_FEM3TO0, 0xffff},
838*4882a593Smuzhiyun 	{"swctrlmap4_misc2g_fem3to0", 0xffffe000, 0,  SROM13_SWCTRLMAP4_MISC2G_FEM3TO0, 0xffff},
839*4882a593Smuzhiyun 	{"swctrlmap4_TX5g_fem3to0", 0xffffe000, 0,      SROM13_SWCTRLMAP4_TX5G_FEM3TO0, 0xffff},
840*4882a593Smuzhiyun 	{"swctrlmap4_RX5g_fem3to0", 0xffffe000, 0,      SROM13_SWCTRLMAP4_RX5G_FEM3TO0, 0xffff},
841*4882a593Smuzhiyun 	{"swctrlmap4_RXByp5g_fem3to0", 0xffffe000, 0, SROM13_SWCTRLMAP4_RXBYP5G_FEM3TO0, 0xffff},
842*4882a593Smuzhiyun 	{"swctrlmap4_misc5g_fem3to0", 0xffffe000, 0,  SROM13_SWCTRLMAP4_MISC5G_FEM3TO0, 0xffff},
843*4882a593Smuzhiyun 	{"swctrlmap4_TX2g_fem7to4", 0xffffe000, 0,      SROM13_SWCTRLMAP4_TX2G_FEM7TO4, 0xffff},
844*4882a593Smuzhiyun 	{"swctrlmap4_RX2g_fem7to4", 0xffffe000, 0,      SROM13_SWCTRLMAP4_RX2G_FEM7TO4, 0xffff},
845*4882a593Smuzhiyun 	{"swctrlmap4_RXByp2g_fem7to4", 0xffffe000, 0, SROM13_SWCTRLMAP4_RXBYP2G_FEM7TO4, 0xffff},
846*4882a593Smuzhiyun 	{"swctrlmap4_misc2g_fem7to4", 0xffffe000, 0,  SROM13_SWCTRLMAP4_MISC2G_FEM7TO4, 0xffff},
847*4882a593Smuzhiyun 	{"swctrlmap4_TX5g_fem7to4", 0xffffe000, 0,      SROM13_SWCTRLMAP4_TX5G_FEM7TO4, 0xffff},
848*4882a593Smuzhiyun 	{"swctrlmap4_RX5g_fem7to4", 0xffffe000, 0,      SROM13_SWCTRLMAP4_RX5G_FEM7TO4, 0xffff},
849*4882a593Smuzhiyun 	{"swctrlmap4_RXByp5g_fem7to4", 0xffffe000, 0, SROM13_SWCTRLMAP4_RXBYP5G_FEM7TO4, 0xffff},
850*4882a593Smuzhiyun 	{"swctrlmap4_misc5g_fem7to4", 0xffffe000, 0,  SROM13_SWCTRLMAP4_MISC5G_FEM7TO4, 0xffff},
851*4882a593Smuzhiyun 	{NULL,		0,		0,		0,			0}
852*4882a593Smuzhiyun };
853*4882a593Smuzhiyun #endif /* !defined(SROM15_MEMOPT) */
854*4882a593Smuzhiyun 
855*4882a593Smuzhiyun static const sromvar_t BCMATTACHDATA(pci_srom15vars)[] = {
856*4882a593Smuzhiyun 	{"macaddr",	0x00008000,	SRFL_ETHADDR,		SROM15_MACHI,	0xffff},
857*4882a593Smuzhiyun 	{"caldata_offset", 0x00008000, 0, SROM15_CAL_OFFSET_LOC, 0xffff},
858*4882a593Smuzhiyun 	{"boardrev", 0x00008000, SRFL_PRHEX, SROM15_BRDREV, 0xffff},
859*4882a593Smuzhiyun 	{"ccode", 0x00008000, SRFL_CCODE, SROM15_CCODE, 0xffff},
860*4882a593Smuzhiyun 	{"regrev", 0x00008000, 0, SROM15_REGREV, 0xffff},
861*4882a593Smuzhiyun 	{NULL,		0,		0,		0,			0}
862*4882a593Smuzhiyun };
863*4882a593Smuzhiyun 
864*4882a593Smuzhiyun static const sromvar_t BCMATTACHDATA(pci_srom16vars)[] = {
865*4882a593Smuzhiyun 	{"macaddr",		0x00010000,	SRFL_ETHADDR,	SROM16_MACHI,		0xffff},
866*4882a593Smuzhiyun 	{"caldata_offset",	0x00010000,	0,	SROM16_CALDATA_OFFSET_LOC,	0xffff},
867*4882a593Smuzhiyun 	{"boardrev", 0x00010000,	SRFL_PRHEX,		SROM16_BOARDREV,	0xffff},
868*4882a593Smuzhiyun 	{"ccode",	0x00010000,	SRFL_CCODE,		SROM16_CCODE,		0xffff},
869*4882a593Smuzhiyun 	{"regrev",		0x00010000,	0,		SROM16_REGREV,		0xffff},
870*4882a593Smuzhiyun 	{NULL,			0,		0,		0,			0}
871*4882a593Smuzhiyun };
872*4882a593Smuzhiyun 
873*4882a593Smuzhiyun static const sromvar_t BCMATTACHDATA(pci_srom17vars)[] = {
874*4882a593Smuzhiyun 	{"boardrev",	0x00020000,	SRFL_PRHEX,	SROM17_BRDREV,		0xffff},
875*4882a593Smuzhiyun 	{"macaddr",	0x00020000,	SRFL_ETHADDR,	SROM17_MACADDR,		0xffff},
876*4882a593Smuzhiyun 	{"ccode",		0x00020000,	SRFL_CCODE,	SROM17_CCODE,		0xffff},
877*4882a593Smuzhiyun 	{"caldata_offset",	0x00020000,	0,		SROM17_CALDATA,		0xffff},
878*4882a593Smuzhiyun 	{"gain_cal_temp",	0x00020000,	SRFL_PRHEX,	SROM17_GCALTMP,		0xffff},
879*4882a593Smuzhiyun 	{"rssi_delta_2gb0_c0", 0x00020000,	PRHEX_N_MORE,	SROM17_C0SRD202G,	0xffff},
880*4882a593Smuzhiyun 	{"",		0x00020000,	0,		SROM17_C0SRD202G_1,	0xffff},
881*4882a593Smuzhiyun 	{"rssi_delta_5gl_c0", 0x00020000,	PRHEX_N_MORE,	SROM17_C0SRD205GL,	0xffff},
882*4882a593Smuzhiyun 	{"",		0x00020000,	0,		SROM17_C0SRD205GL_1,	0xffff},
883*4882a593Smuzhiyun 	{"rssi_delta_5gml_c0", 0x00020000,	PRHEX_N_MORE,	SROM17_C0SRD205GML,	0xffff},
884*4882a593Smuzhiyun 	{"",		0x00020000,	0,		SROM17_C0SRD205GML_1,	0xffff},
885*4882a593Smuzhiyun 	{"rssi_delta_5gmu_c0", 0x00020000,	PRHEX_N_MORE,	SROM17_C0SRD205GMU,	0xffff},
886*4882a593Smuzhiyun 	{"",		0x00020000,	0,		SROM17_C0SRD205GMU_1,	0xffff},
887*4882a593Smuzhiyun 	{"rssi_delta_5gh_c0", 0x00020000,	PRHEX_N_MORE,	SROM17_C0SRD205GH,	0xffff},
888*4882a593Smuzhiyun 	{"",		0x00020000,	0,		SROM17_C0SRD205GH_1,	0xffff},
889*4882a593Smuzhiyun 	{"rssi_delta_2gb0_c1", 0x00020000,	PRHEX_N_MORE,	SROM17_C1SRD202G,	0xffff},
890*4882a593Smuzhiyun 	{"",		0x00020000,	0,		SROM17_C1SRD202G_1,	0xffff},
891*4882a593Smuzhiyun 	{"rssi_delta_5gl_c1", 0x00020000,	PRHEX_N_MORE,	SROM17_C1SRD205GL,	0xffff},
892*4882a593Smuzhiyun 	{"",		0x00020000,	0,		SROM17_C1SRD205GL_1,	0xffff},
893*4882a593Smuzhiyun 	{"rssi_delta_5gml_c1", 0x00020000,	PRHEX_N_MORE,	SROM17_C1SRD205GML,	0xffff},
894*4882a593Smuzhiyun 	{"",		0x00020000,	0,		SROM17_C1SRD205GML_1,	0xffff},
895*4882a593Smuzhiyun 	{"rssi_delta_5gmu_c1", 0x00020000,	PRHEX_N_MORE,	SROM17_C1SRD205GMU,	0xffff},
896*4882a593Smuzhiyun 	{"",		0x00020000,	0,		SROM17_C1SRD205GMU_1,	0xffff},
897*4882a593Smuzhiyun 	{"rssi_delta_5gh_c1", 0x00020000,	PRHEX_N_MORE,	SROM17_C1SRD205GH,	0xffff},
898*4882a593Smuzhiyun 	{"",		0x00020000,	0,		SROM17_C1SRD205GH_1,	0xffff},
899*4882a593Smuzhiyun 	{"txpa_trim_magic",	0x00020000,	PRHEX_N_MORE,	SROM17_TRAMMAGIC,	0xffff},
900*4882a593Smuzhiyun 	{"",		0x00020000,	0,		SROM17_TRAMMAGIC_1,	0xffff},
901*4882a593Smuzhiyun 	{"txpa_trim_data",	0x00020000,	SRFL_PRHEX,	SROM17_TRAMDATA,	0xffff},
902*4882a593Smuzhiyun 	{NULL,		0,		0,		0,			0x00}
903*4882a593Smuzhiyun };
904*4882a593Smuzhiyun 
905*4882a593Smuzhiyun static const sromvar_t BCMATTACHDATA(pci_srom18vars)[] = {
906*4882a593Smuzhiyun 	{"macaddr",		0x00040000,	SRFL_ETHADDR,	SROM18_MACHI,		0xffff},
907*4882a593Smuzhiyun 	{"caldata_offset",	0x00040000,	0,	SROM18_CALDATA_OFFSET_LOC,	0xffff},
908*4882a593Smuzhiyun 	{"boardrev",		0x00040000,	SRFL_PRHEX,	SROM18_BOARDREV,	0xffff},
909*4882a593Smuzhiyun 	{"ccode",		0x00040000,	SRFL_CCODE,	SROM18_CCODE,		0xffff},
910*4882a593Smuzhiyun 	{"regrev",		0x00040000,	0,		SROM18_REGREV,		0xffff},
911*4882a593Smuzhiyun 	{NULL,			0,		0,		0,			0}
912*4882a593Smuzhiyun };
913*4882a593Smuzhiyun 
914*4882a593Smuzhiyun static const sromvar_t BCMATTACHDATA(perpath_pci_sromvars)[] = {
915*4882a593Smuzhiyun 	{"maxp2ga",	0x000000f0,	0,		SROM4_2G_ITT_MAXP,	0x00ff},
916*4882a593Smuzhiyun 	{"itt2ga",	0x000000f0,	0,		SROM4_2G_ITT_MAXP,	0xff00},
917*4882a593Smuzhiyun 	{"itt5ga",	0x000000f0,	0,		SROM4_5G_ITT_MAXP,	0xff00},
918*4882a593Smuzhiyun 	{"pa2gw0a",	0x000000f0,	SRFL_PRHEX,	SROM4_2G_PA,		0xffff},
919*4882a593Smuzhiyun 	{"pa2gw1a",	0x000000f0,	SRFL_PRHEX,	SROM4_2G_PA + 1,	0xffff},
920*4882a593Smuzhiyun 	{"pa2gw2a",	0x000000f0,	SRFL_PRHEX,	SROM4_2G_PA + 2,	0xffff},
921*4882a593Smuzhiyun 	{"pa2gw3a",	0x000000f0,	SRFL_PRHEX,	SROM4_2G_PA + 3,	0xffff},
922*4882a593Smuzhiyun 	{"maxp5ga",	0x000000f0,	0,		SROM4_5G_ITT_MAXP,	0x00ff},
923*4882a593Smuzhiyun 	{"maxp5gha",	0x000000f0,	0,		SROM4_5GLH_MAXP,	0x00ff},
924*4882a593Smuzhiyun 	{"maxp5gla",	0x000000f0,	0,		SROM4_5GLH_MAXP,	0xff00},
925*4882a593Smuzhiyun 	{"pa5gw0a",	0x000000f0,	SRFL_PRHEX,	SROM4_5G_PA,		0xffff},
926*4882a593Smuzhiyun 	{"pa5gw1a",	0x000000f0,	SRFL_PRHEX,	SROM4_5G_PA + 1,	0xffff},
927*4882a593Smuzhiyun 	{"pa5gw2a",	0x000000f0,	SRFL_PRHEX,	SROM4_5G_PA + 2,	0xffff},
928*4882a593Smuzhiyun 	{"pa5gw3a",	0x000000f0,	SRFL_PRHEX,	SROM4_5G_PA + 3,	0xffff},
929*4882a593Smuzhiyun 	{"pa5glw0a",	0x000000f0,	SRFL_PRHEX,	SROM4_5GL_PA,		0xffff},
930*4882a593Smuzhiyun 	{"pa5glw1a",	0x000000f0,	SRFL_PRHEX,	SROM4_5GL_PA + 1,	0xffff},
931*4882a593Smuzhiyun 	{"pa5glw2a",	0x000000f0,	SRFL_PRHEX,	SROM4_5GL_PA + 2,	0xffff},
932*4882a593Smuzhiyun 	{"pa5glw3a",	0x000000f0,	SRFL_PRHEX,	SROM4_5GL_PA + 3,	0xffff},
933*4882a593Smuzhiyun 	{"pa5ghw0a",	0x000000f0,	SRFL_PRHEX,	SROM4_5GH_PA,		0xffff},
934*4882a593Smuzhiyun 	{"pa5ghw1a",	0x000000f0,	SRFL_PRHEX,	SROM4_5GH_PA + 1,	0xffff},
935*4882a593Smuzhiyun 	{"pa5ghw2a",	0x000000f0,	SRFL_PRHEX,	SROM4_5GH_PA + 2,	0xffff},
936*4882a593Smuzhiyun 	{"pa5ghw3a",	0x000000f0,	SRFL_PRHEX,	SROM4_5GH_PA + 3,	0xffff},
937*4882a593Smuzhiyun 	{"maxp2ga",	0x00000700,	0,		SROM8_2G_ITT_MAXP,	0x00ff},
938*4882a593Smuzhiyun 	{"itt2ga",	0x00000700,	0,		SROM8_2G_ITT_MAXP,	0xff00},
939*4882a593Smuzhiyun 	{"itt5ga",	0x00000700,	0,		SROM8_5G_ITT_MAXP,	0xff00},
940*4882a593Smuzhiyun 	{"pa2gw0a",	0x00000700,	SRFL_PRHEX,	SROM8_2G_PA,		0xffff},
941*4882a593Smuzhiyun 	{"pa2gw1a",	0x00000700,	SRFL_PRHEX,	SROM8_2G_PA + 1,	0xffff},
942*4882a593Smuzhiyun 	{"pa2gw2a",	0x00000700,	SRFL_PRHEX,	SROM8_2G_PA + 2,	0xffff},
943*4882a593Smuzhiyun 	{"maxp5ga",	0x00000700,	0,		SROM8_5G_ITT_MAXP,	0x00ff},
944*4882a593Smuzhiyun 	{"maxp5gha",	0x00000700,	0,		SROM8_5GLH_MAXP,	0x00ff},
945*4882a593Smuzhiyun 	{"maxp5gla",	0x00000700,	0,		SROM8_5GLH_MAXP,	0xff00},
946*4882a593Smuzhiyun 	{"pa5gw0a",	0x00000700,	SRFL_PRHEX,	SROM8_5G_PA,		0xffff},
947*4882a593Smuzhiyun 	{"pa5gw1a",	0x00000700,	SRFL_PRHEX,	SROM8_5G_PA + 1,	0xffff},
948*4882a593Smuzhiyun 	{"pa5gw2a",	0x00000700,	SRFL_PRHEX,	SROM8_5G_PA + 2,	0xffff},
949*4882a593Smuzhiyun 	{"pa5glw0a",	0x00000700,	SRFL_PRHEX,	SROM8_5GL_PA,		0xffff},
950*4882a593Smuzhiyun 	{"pa5glw1a",	0x00000700,	SRFL_PRHEX,	SROM8_5GL_PA + 1,	0xffff},
951*4882a593Smuzhiyun 	{"pa5glw2a",	0x00000700,	SRFL_PRHEX,	SROM8_5GL_PA + 2,	0xffff},
952*4882a593Smuzhiyun 	{"pa5ghw0a",	0x00000700,	SRFL_PRHEX,	SROM8_5GH_PA,		0xffff},
953*4882a593Smuzhiyun 	{"pa5ghw1a",	0x00000700,	SRFL_PRHEX,	SROM8_5GH_PA + 1,	0xffff},
954*4882a593Smuzhiyun 	{"pa5ghw2a",	0x00000700,	SRFL_PRHEX,	SROM8_5GH_PA + 2,	0xffff},
955*4882a593Smuzhiyun 
956*4882a593Smuzhiyun 	/* sromrev 11 */
957*4882a593Smuzhiyun 	{"maxp2ga",	0xfffff800,	0,			 SROM11_2G_MAXP,	0x00ff},
958*4882a593Smuzhiyun 	{"pa2ga",	0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_2G_PA,		0xffff},
959*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_2G_PA + 1,	0xffff},
960*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX,		 SROM11_2G_PA + 2,	0xffff},
961*4882a593Smuzhiyun 	{"rxgains5gmelnagaina",	0x00000800,	0,		 SROM11_RXGAINS1,	0x0007},
962*4882a593Smuzhiyun 	{"rxgains5gmtrisoa",	0x00000800,	0,		 SROM11_RXGAINS1,	0x0078},
963*4882a593Smuzhiyun 	{"rxgains5gmtrelnabypa", 0x00000800,	0,		 SROM11_RXGAINS1,	0x0080},
964*4882a593Smuzhiyun 	{"rxgains5ghelnagaina",	0x00000800,	0,		 SROM11_RXGAINS1,	0x0700},
965*4882a593Smuzhiyun 	{"rxgains5ghtrisoa",	0x00000800,	0,		 SROM11_RXGAINS1,	0x7800},
966*4882a593Smuzhiyun 	{"rxgains5ghtrelnabypa", 0x00000800,	0,		 SROM11_RXGAINS1,	0x8000},
967*4882a593Smuzhiyun 	{"rxgains2gelnagaina",	0x00000800,	0,		 SROM11_RXGAINS,	0x0007},
968*4882a593Smuzhiyun 	{"rxgains2gtrisoa",	0x00000800,	0,		 SROM11_RXGAINS,	0x0078},
969*4882a593Smuzhiyun 	{"rxgains2gtrelnabypa",	0x00000800,	0,		 SROM11_RXGAINS,	0x0080},
970*4882a593Smuzhiyun 	{"rxgains5gelnagaina",	0x00000800,	0,		 SROM11_RXGAINS,	0x0700},
971*4882a593Smuzhiyun 	{"rxgains5gtrisoa",	0x00000800,	0,		 SROM11_RXGAINS,	0x7800},
972*4882a593Smuzhiyun 	{"rxgains5gtrelnabypa",	0x00000800,	0,		 SROM11_RXGAINS,	0x8000},
973*4882a593Smuzhiyun 	{"maxp5ga",	0x00000800,	SRFL_ARRAY,		 SROM11_5GB1B0_MAXP,	0x00ff},
974*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_ARRAY,		 SROM11_5GB1B0_MAXP,	0xff00},
975*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_ARRAY,		 SROM11_5GB3B2_MAXP,	0x00ff},
976*4882a593Smuzhiyun 	{"",		0x00000800,	0,			 SROM11_5GB3B2_MAXP,	0xff00},
977*4882a593Smuzhiyun 	{"pa5ga",	0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB0_PA,	0xffff},
978*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB0_PA + 1,	0xffff},
979*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB0_PA + 2,	0xffff},
980*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB1_PA,	0xffff},
981*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB1_PA + 1,	0xffff},
982*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB1_PA + 2,	0xffff},
983*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB2_PA,	0xffff},
984*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB2_PA + 1,	0xffff},
985*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB2_PA + 2,	0xffff},
986*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB3_PA,	0xffff},
987*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX | SRFL_ARRAY, SROM11_5GB3_PA + 1,	0xffff},
988*4882a593Smuzhiyun 	{"",		0x00000800,	SRFL_PRHEX,		 SROM11_5GB3_PA + 2,	0xffff},
989*4882a593Smuzhiyun 
990*4882a593Smuzhiyun 	/* sromrev 12 */
991*4882a593Smuzhiyun 	{"maxp5gb4a",	0xfffff000,	0,		 SROM12_5GB42G_MAXP,	0x00ff00},
992*4882a593Smuzhiyun 	{"pa2ga",	0xfffff000,	SRFL_PRHEX | SRFL_ARRAY,  SROM12_2GB0_PA_W0,	0x00ffff},
993*4882a593Smuzhiyun 	{"",	0xfffff000,	SRFL_PRHEX | SRFL_ARRAY,	  SROM12_2GB0_PA_W1,	0x00ffff},
994*4882a593Smuzhiyun 	{"",	0xfffff000,	SRFL_PRHEX | SRFL_ARRAY,	  SROM12_2GB0_PA_W2,	0x00ffff},
995*4882a593Smuzhiyun 	{"",	0xfffff000,	SRFL_PRHEX,		 SROM12_2GB0_PA_W3,	0x00ffff},
996*4882a593Smuzhiyun 
997*4882a593Smuzhiyun 	{"pa2g40a",	0xfffff000,	SRFL_PRHEX | SRFL_ARRAY,  SROM12_2G40B0_PA_W0,	0x00ffff},
998*4882a593Smuzhiyun 	{"",	0xfffff000,	SRFL_PRHEX | SRFL_ARRAY,	  SROM12_2G40B0_PA_W1,	0x00ffff},
999*4882a593Smuzhiyun 	{"",	0xfffff000,	SRFL_PRHEX | SRFL_ARRAY,	  SROM12_2G40B0_PA_W2,	0x00ffff},
1000*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX,		 SROM12_2G40B0_PA_W3,	0x00ffff},
1001*4882a593Smuzhiyun 	{"maxp5gb0a",	0xfffff000, 0,	     SROM12_5GB1B0_MAXP,	0x00ff},
1002*4882a593Smuzhiyun 	{"maxp5gb1a",	0xfffff000, 0,       SROM12_5GB1B0_MAXP,	0x00ff00},
1003*4882a593Smuzhiyun 	{"maxp5gb2a",	0xfffff000, 0,	     SROM12_5GB3B2_MAXP,	0x00ff},
1004*4882a593Smuzhiyun 	{"maxp5gb3a",	0xfffff000, 0,	     SROM12_5GB3B2_MAXP,	0x00ff00},
1005*4882a593Smuzhiyun 
1006*4882a593Smuzhiyun 	{"pa5ga",   0xfffff000, SRFL_PRHEX | SRFL_ARRAY,   SROM12_5GB0_PA_W0,		0x00ffff},
1007*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB0_PA_W1,		0x00ffff},
1008*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,         SROM12_5GB0_PA_W2,		0x00ffff},
1009*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB0_PA_W3,		0x00ffff},
1010*4882a593Smuzhiyun 
1011*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB1_PA_W0,		0x00ffff},
1012*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB1_PA_W1,		0x00ffff},
1013*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB1_PA_W2,		0x00ffff},
1014*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB1_PA_W3,		0x00ffff},
1015*4882a593Smuzhiyun 
1016*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB2_PA_W0,		0x00ffff},
1017*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB2_PA_W1,		0x00ffff},
1018*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB2_PA_W2,		0x00ffff},
1019*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB2_PA_W3,		0x00ffff},
1020*4882a593Smuzhiyun 
1021*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB3_PA_W0,		0x00ffff},
1022*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB3_PA_W1,		0x00ffff},
1023*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,         SROM12_5GB3_PA_W2,		0x00ffff},
1024*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB3_PA_W3,		0x00ffff},
1025*4882a593Smuzhiyun 
1026*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB4_PA_W0,		0x00ffff},
1027*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB4_PA_W1,		0x00ffff},
1028*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5GB4_PA_W2,		0x00ffff},
1029*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX,	                   SROM12_5GB4_PA_W3,		0x00ffff},
1030*4882a593Smuzhiyun 
1031*4882a593Smuzhiyun 	{"pa5g40a",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY, SROM12_5G40B0_PA_W0,	0x00ffff},
1032*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B0_PA_W1,	0x00ffff},
1033*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B0_PA_W2,	0x00ffff},
1034*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B0_PA_W3,	0x00ffff},
1035*4882a593Smuzhiyun 
1036*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B1_PA_W0,	0x00ffff},
1037*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B1_PA_W1,	0x00ffff},
1038*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B1_PA_W2,	0x00ffff},
1039*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,         SROM12_5G40B1_PA_W3,	0x00ffff},
1040*4882a593Smuzhiyun 
1041*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B2_PA_W0,	0x00ffff},
1042*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B2_PA_W1,	0x00ffff},
1043*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B2_PA_W2,	0x00ffff},
1044*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B2_PA_W3,	0x00ffff},
1045*4882a593Smuzhiyun 
1046*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B3_PA_W0,	0x00ffff},
1047*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B3_PA_W1,	0x00ffff},
1048*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B3_PA_W2,	0x00ffff},
1049*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B3_PA_W3,	0x00ffff},
1050*4882a593Smuzhiyun 
1051*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B4_PA_W0,	0x00ffff},
1052*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B4_PA_W1,	0x00ffff},
1053*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	     SROM12_5G40B4_PA_W2,	0x00ffff},
1054*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX,		             SROM12_5G40B4_PA_W3,	0x00ffff},
1055*4882a593Smuzhiyun 
1056*4882a593Smuzhiyun 	{"pa5g80a",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,	 SROM12_5G80B0_PA_W0,	0x00ffff},
1057*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B0_PA_W1,	0x00ffff},
1058*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B0_PA_W2,	0x00ffff},
1059*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B0_PA_W3,	0x00ffff},
1060*4882a593Smuzhiyun 
1061*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B1_PA_W0,	0x00ffff},
1062*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B1_PA_W1,	0x00ffff},
1063*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B1_PA_W2,	0x00ffff},
1064*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B1_PA_W3,	0x00ffff},
1065*4882a593Smuzhiyun 
1066*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B2_PA_W0,	0x00ffff},
1067*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B2_PA_W1,	0x00ffff},
1068*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B2_PA_W2,	0x00ffff},
1069*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B2_PA_W3,	0x00ffff},
1070*4882a593Smuzhiyun 
1071*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B3_PA_W0,	0x00ffff},
1072*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B3_PA_W1,	0x00ffff},
1073*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B3_PA_W2,	0x00ffff},
1074*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B3_PA_W3,	0x00ffff},
1075*4882a593Smuzhiyun 
1076*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B4_PA_W0,	0x00ffff},
1077*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B4_PA_W1,	0x00ffff},
1078*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX | SRFL_ARRAY,		 SROM12_5G80B4_PA_W2,	0x00ffff},
1079*4882a593Smuzhiyun 	{"",	0xfffff000, SRFL_PRHEX,		                 SROM12_5G80B4_PA_W3,	0x00ffff},
1080*4882a593Smuzhiyun 	/* sromrev 13 */
1081*4882a593Smuzhiyun 	{"rxgains2gelnagaina",   0xffffe000,     0,       SROM13_RXGAINS,  0x0007},
1082*4882a593Smuzhiyun 	{"rxgains2gtrisoa",     0xffffe000,     0,       SROM13_RXGAINS,  0x0078},
1083*4882a593Smuzhiyun 	{"rxgains2gtrelnabypa", 0xffffe000,     0,       SROM13_RXGAINS,  0x0080},
1084*4882a593Smuzhiyun 	{"rxgains5gelnagaina",  0xffffe000,     0,       SROM13_RXGAINS,  0x0700},
1085*4882a593Smuzhiyun 	{"rxgains5gtrisoa",     0xffffe000,     0,       SROM13_RXGAINS,  0x7800},
1086*4882a593Smuzhiyun 	{"rxgains5gtrelnabypa", 0xffffe000,     0,       SROM13_RXGAINS,  0x8000},
1087*4882a593Smuzhiyun 	{NULL,		0,		0,		0, 			0}
1088*4882a593Smuzhiyun };
1089*4882a593Smuzhiyun 
1090*4882a593Smuzhiyun typedef struct {
1091*4882a593Smuzhiyun 	uint8	tag;		/* Broadcom subtag name */
1092*4882a593Smuzhiyun 	uint32	revmask;	/* Supported cis_sromrev bitmask. Some of the parameters in
1093*4882a593Smuzhiyun 				 * different tuples have the same name. Therefore, the MFGc tool
1094*4882a593Smuzhiyun 				 * needs to know which tuple to generate when seeing these
1095*4882a593Smuzhiyun 				 * parameters (given that we know sromrev from user input, like the
1096*4882a593Smuzhiyun 				 * nvram file).
1097*4882a593Smuzhiyun 				 */
1098*4882a593Smuzhiyun 	uint8	len;		/* Length field of the tuple, note that it includes the
1099*4882a593Smuzhiyun 				 * subtag name (1 byte): 1 + tuple content length
1100*4882a593Smuzhiyun 				 */
1101*4882a593Smuzhiyun 	const char *params;	/* Each param is in this form: length(1 byte ascii) + var name
1102*4882a593Smuzhiyun 				 * Note that the order here has to match the parsing
1103*4882a593Smuzhiyun 				 * order in parsecis() in src/shared/bcmsrom.c
1104*4882a593Smuzhiyun 				 */
1105*4882a593Smuzhiyun } cis_tuple_t;
1106*4882a593Smuzhiyun 
1107*4882a593Smuzhiyun #define OTP_RAW		(0xff - 1)	/* Reserved tuple number for wrvar Raw input */
1108*4882a593Smuzhiyun /* quick hacks for supporting standard CIS tuples. */
1109*4882a593Smuzhiyun #define OTP_VERS_1	(0xff - 2)	/* CISTPL_VERS_1 */
1110*4882a593Smuzhiyun #define OTP_MANFID	(0xff - 3)	/* CISTPL_MANFID */
1111*4882a593Smuzhiyun #define OTP_RAW1	(0xff - 4)	/* Like RAW, but comes first */
1112*4882a593Smuzhiyun 
1113*4882a593Smuzhiyun /** this array is used by CIS creating/writing applications */
1114*4882a593Smuzhiyun static const cis_tuple_t cis_hnbuvars[] = {
1115*4882a593Smuzhiyun /*       tag			revmask   len  params */
1116*4882a593Smuzhiyun 	{OTP_RAW1,		0xffffffff, 0, ""},	/* special case */
1117*4882a593Smuzhiyun 	{OTP_VERS_1,	0xffffffff, 0, "smanf sproductname"},	/* special case (non BRCM tuple) */
1118*4882a593Smuzhiyun 	{OTP_MANFID,	0xffffffff, 4, "2manfid 2prodid"},	/* special case (non BRCM tuple) */
1119*4882a593Smuzhiyun 	/* Unified OTP: tupple to embed USB manfid inside SDIO CIS */
1120*4882a593Smuzhiyun 	{HNBU_UMANFID,		0xffffffff, 8, "8usbmanfid"},
1121*4882a593Smuzhiyun 	{HNBU_SROMREV,		0xffffffff, 2, "1sromrev"},
1122*4882a593Smuzhiyun 	/* NOTE: subdevid is also written to boardtype.
1123*4882a593Smuzhiyun 	 *       Need to write HNBU_BOARDTYPE to change it if it is different.
1124*4882a593Smuzhiyun 	 */
1125*4882a593Smuzhiyun 	{HNBU_CHIPID,		0xffffffff, 11, "2vendid 2devid 2chiprev 2subvendid 2subdevid"},
1126*4882a593Smuzhiyun 	{HNBU_BOARDREV,		0xffffffff, 3, "2boardrev"},
1127*4882a593Smuzhiyun 	{HNBU_PAPARMS,		0xffffffff, 10, "2pa0b0 2pa0b1 2pa0b2 1pa0itssit 1pa0maxpwr 1opo"},
1128*4882a593Smuzhiyun 	{HNBU_AA,		0xffffffff, 3, "1aa2g 1aa5g"},
1129*4882a593Smuzhiyun 	{HNBU_AA,		0xffffffff, 3, "1aa0 1aa1"}, /* backward compatibility */
1130*4882a593Smuzhiyun 	{HNBU_AG,		0xffffffff, 5, "1ag0 1ag1 1ag2 1ag3"},
1131*4882a593Smuzhiyun 	{HNBU_BOARDFLAGS,	0xffffffff, 21, "4boardflags 4boardflags2 4boardflags3 "
1132*4882a593Smuzhiyun 	"4boardflags4 4boardflags5 "},
1133*4882a593Smuzhiyun 	{HNBU_CCODE,		0xffffffff, 4, "2ccode 1cctl"},
1134*4882a593Smuzhiyun 	{HNBU_CCKPO,		0xffffffff, 3, "2cckpo"},
1135*4882a593Smuzhiyun 	{HNBU_OFDMPO,		0xffffffff, 5, "4ofdmpo"},
1136*4882a593Smuzhiyun 	{HNBU_PAPARMS5G,	0xffffffff, 23, "2pa1b0 2pa1b1 2pa1b2 2pa1lob0 2pa1lob1 2pa1lob2 "
1137*4882a593Smuzhiyun 	"2pa1hib0 2pa1hib1 2pa1hib2 1pa1itssit "
1138*4882a593Smuzhiyun 	"1pa1maxpwr 1pa1lomaxpwr 1pa1himaxpwr"},
1139*4882a593Smuzhiyun 	{HNBU_RDLID,		0xffffffff, 3, "2rdlid"},
1140*4882a593Smuzhiyun 	{HNBU_RSSISMBXA2G, 0xffffffff, 3, "0rssismf2g 0rssismc2g "
1141*4882a593Smuzhiyun 	"0rssisav2g 0bxa2g"}, /* special case */
1142*4882a593Smuzhiyun 	{HNBU_RSSISMBXA5G, 0xffffffff, 3, "0rssismf5g 0rssismc5g "
1143*4882a593Smuzhiyun 	"0rssisav5g 0bxa5g"}, /* special case */
1144*4882a593Smuzhiyun 	{HNBU_XTALFREQ,		0xffffffff, 5, "4xtalfreq"},
1145*4882a593Smuzhiyun 	{HNBU_TRI2G,		0xffffffff, 2, "1tri2g"},
1146*4882a593Smuzhiyun 	{HNBU_TRI5G,		0xffffffff, 4, "1tri5gl 1tri5g 1tri5gh"},
1147*4882a593Smuzhiyun 	{HNBU_RXPO2G,		0xffffffff, 2, "1rxpo2g"},
1148*4882a593Smuzhiyun 	{HNBU_RXPO5G,		0xffffffff, 2, "1rxpo5g"},
1149*4882a593Smuzhiyun 	{HNBU_BOARDNUM,		0xffffffff, 3, "2boardnum"},
1150*4882a593Smuzhiyun 	{HNBU_MACADDR,		0xffffffff, 7, "6macaddr"},	/* special case */
1151*4882a593Smuzhiyun 	{HNBU_RDLSN,		0xffffffff, 3, "2rdlsn"},
1152*4882a593Smuzhiyun 	{HNBU_BOARDTYPE,	0xffffffff, 3, "2boardtype"},
1153*4882a593Smuzhiyun 	{HNBU_RDLRNDIS,		0xffffffff, 2, "1rdlndis"},
1154*4882a593Smuzhiyun 	{HNBU_CHAINSWITCH,	0xffffffff, 5, "1txchain 1rxchain 2antswitch"},
1155*4882a593Smuzhiyun 	{HNBU_REGREV,		0xffffffff, 3, "2regrev"},
1156*4882a593Smuzhiyun 	{HNBU_FEM,		0x000007fe, 5, "0antswctl2g 0triso2g 0pdetrange2g 0extpagain2g "
1157*4882a593Smuzhiyun 	"0tssipos2g 0antswctl5g 0triso5g 0pdetrange5g 0extpagain5g 0tssipos5g"}, /* special case */
1158*4882a593Smuzhiyun 	{HNBU_PAPARMS_C0,	0x000007fe, 31, "1maxp2ga0 1itt2ga0 2pa2gw0a0 2pa2gw1a0 "
1159*4882a593Smuzhiyun 	"2pa2gw2a0 1maxp5ga0 1itt5ga0 1maxp5gha0 1maxp5gla0 2pa5gw0a0 2pa5gw1a0 2pa5gw2a0 "
1160*4882a593Smuzhiyun 	"2pa5glw0a0 2pa5glw1a0 2pa5glw2a0 2pa5ghw0a0 2pa5ghw1a0 2pa5ghw2a0"},
1161*4882a593Smuzhiyun 	{HNBU_PAPARMS_C1,	0x000007fe, 31, "1maxp2ga1 1itt2ga1 2pa2gw0a1 2pa2gw1a1 "
1162*4882a593Smuzhiyun 	"2pa2gw2a1 1maxp5ga1 1itt5ga1 1maxp5gha1 1maxp5gla1 2pa5gw0a1 2pa5gw1a1 2pa5gw2a1 "
1163*4882a593Smuzhiyun 	"2pa5glw0a1 2pa5glw1a1 2pa5glw2a1 2pa5ghw0a1 2pa5ghw1a1 2pa5ghw2a1"},
1164*4882a593Smuzhiyun 	{HNBU_PO_CCKOFDM,	0xffffffff, 19, "2cck2gpo 4ofdm2gpo 4ofdm5gpo 4ofdm5glpo "
1165*4882a593Smuzhiyun 	"4ofdm5ghpo"},
1166*4882a593Smuzhiyun 	{HNBU_PO_MCS2G,		0xffffffff, 17, "2mcs2gpo0 2mcs2gpo1 2mcs2gpo2 2mcs2gpo3 "
1167*4882a593Smuzhiyun 	"2mcs2gpo4 2mcs2gpo5 2mcs2gpo6 2mcs2gpo7"},
1168*4882a593Smuzhiyun 	{HNBU_PO_MCS5GM,	0xffffffff, 17, "2mcs5gpo0 2mcs5gpo1 2mcs5gpo2 2mcs5gpo3 "
1169*4882a593Smuzhiyun 	"2mcs5gpo4 2mcs5gpo5 2mcs5gpo6 2mcs5gpo7"},
1170*4882a593Smuzhiyun 	{HNBU_PO_MCS5GLH,	0xffffffff, 33, "2mcs5glpo0 2mcs5glpo1 2mcs5glpo2 2mcs5glpo3 "
1171*4882a593Smuzhiyun 	"2mcs5glpo4 2mcs5glpo5 2mcs5glpo6 2mcs5glpo7 "
1172*4882a593Smuzhiyun 	"2mcs5ghpo0 2mcs5ghpo1 2mcs5ghpo2 2mcs5ghpo3 "
1173*4882a593Smuzhiyun 	"2mcs5ghpo4 2mcs5ghpo5 2mcs5ghpo6 2mcs5ghpo7"},
1174*4882a593Smuzhiyun 	{HNBU_CCKFILTTYPE,	0xffffffff, 2, "1cckdigfilttype"},
1175*4882a593Smuzhiyun 	{HNBU_PO_CDD,		0xffffffff, 3, "2cddpo"},
1176*4882a593Smuzhiyun 	{HNBU_PO_STBC,		0xffffffff, 3, "2stbcpo"},
1177*4882a593Smuzhiyun 	{HNBU_PO_40M,		0xffffffff, 3, "2bw40po"},
1178*4882a593Smuzhiyun 	{HNBU_PO_40MDUP,	0xffffffff, 3, "2bwduppo"},
1179*4882a593Smuzhiyun 	{HNBU_RDLRWU,		0xffffffff, 2, "1rdlrwu"},
1180*4882a593Smuzhiyun 	{HNBU_WPS,		0xffffffff, 3, "1wpsgpio 1wpsled"},
1181*4882a593Smuzhiyun 	{HNBU_USBFS,		0xffffffff, 2, "1usbfs"},
1182*4882a593Smuzhiyun 	{HNBU_ELNA2G,           0xffffffff, 2, "1elna2g"},
1183*4882a593Smuzhiyun 	{HNBU_ELNA5G,           0xffffffff, 2, "1elna5g"},
1184*4882a593Smuzhiyun 	{HNBU_CUSTOM1,		0xffffffff, 5, "4customvar1"},
1185*4882a593Smuzhiyun 	{OTP_RAW,		0xffffffff, 0, ""},	/* special case */
1186*4882a593Smuzhiyun 	{HNBU_OFDMPO5G,		0xffffffff, 13, "4ofdm5gpo 4ofdm5glpo 4ofdm5ghpo"},
1187*4882a593Smuzhiyun 	{HNBU_USBEPNUM,		0xffffffff, 3, "2usbepnum"},
1188*4882a593Smuzhiyun 	{HNBU_CCKBW202GPO,	0xffffffff, 7, "2cckbw202gpo 2cckbw20ul2gpo 2cckbw20in802gpo"},
1189*4882a593Smuzhiyun 	{HNBU_LEGOFDMBW202GPO,	0xffffffff, 9, "4legofdmbw202gpo 4legofdmbw20ul2gpo"},
1190*4882a593Smuzhiyun 	{HNBU_LEGOFDMBW205GPO,	0xffffffff, 25, "4legofdmbw205glpo 4legofdmbw20ul5glpo "
1191*4882a593Smuzhiyun 	"4legofdmbw205gmpo 4legofdmbw20ul5gmpo 4legofdmbw205ghpo 4legofdmbw20ul5ghpo"},
1192*4882a593Smuzhiyun 	{HNBU_MCS2GPO,	0xffffffff, 17,	"4mcsbw202gpo 4mcsbw20ul2gpo 4mcsbw402gpo 4mcsbw802gpo"},
1193*4882a593Smuzhiyun 	{HNBU_MCS5GLPO,	0xffffffff, 13,	"4mcsbw205glpo 4mcsbw20ul5glpo 4mcsbw405glpo"},
1194*4882a593Smuzhiyun 	{HNBU_MCS5GMPO,	0xffffffff, 13,	"4mcsbw205gmpo 4mcsbw20ul5gmpo 4mcsbw405gmpo"},
1195*4882a593Smuzhiyun 	{HNBU_MCS5GHPO,	0xffffffff, 13,	"4mcsbw205ghpo 4mcsbw20ul5ghpo 4mcsbw405ghpo"},
1196*4882a593Smuzhiyun 	{HNBU_MCS32PO,	0xffffffff, 3,	"2mcs32po"},
1197*4882a593Smuzhiyun 	{HNBU_LEG40DUPPO,	0xffffffff, 3,	"2legofdm40duppo"},
1198*4882a593Smuzhiyun 	{HNBU_TEMPTHRESH,	0xffffffff, 7,	"1tempthresh 0temps_period 0temps_hysteresis "
1199*4882a593Smuzhiyun 	"1tempoffset 1tempsense_slope 0tempcorrx 0tempsense_option "
1200*4882a593Smuzhiyun 	"1phycal_tempdelta"}, /* special case */
1201*4882a593Smuzhiyun 	{HNBU_MUXENAB,		0xffffffff, 2,	"1muxenab"},
1202*4882a593Smuzhiyun 	{HNBU_FEM_CFG,		0xfffff800, 5,	"0femctrl 0papdcap2g 0tworangetssi2g 0pdgain2g "
1203*4882a593Smuzhiyun 	"0epagain2g 0tssiposslope2g 0gainctrlsph 0papdcap5g 0tworangetssi5g 0pdgain5g 0epagain5g "
1204*4882a593Smuzhiyun 	"0tssiposslope5g"}, /* special case */
1205*4882a593Smuzhiyun 	{HNBU_ACPA_C0,		0x00001800, 39,	"2subband5gver 2maxp2ga0 2*3pa2ga0 "
1206*4882a593Smuzhiyun 	"1*4maxp5ga0 2*12pa5ga0"},
1207*4882a593Smuzhiyun 	{HNBU_ACPA_C1,		0x00001800, 37,	"2maxp2ga1 2*3pa2ga1 1*4maxp5ga1 2*12pa5ga1"},
1208*4882a593Smuzhiyun 	{HNBU_ACPA_C2,		0x00001800, 37,	"2maxp2ga2 2*3pa2ga2 1*4maxp5ga2 2*12pa5ga2"},
1209*4882a593Smuzhiyun 	{HNBU_MEAS_PWR,		0xfffff800, 5,	"1measpower 1measpower1 1measpower2 2rawtempsense"},
1210*4882a593Smuzhiyun 	{HNBU_PDOFF,		0xfffff800, 13,	"2pdoffset40ma0 2pdoffset40ma1 2pdoffset40ma2 "
1211*4882a593Smuzhiyun 	"2pdoffset80ma0 2pdoffset80ma1 2pdoffset80ma2"},
1212*4882a593Smuzhiyun 	{HNBU_ACPPR_2GPO,	0xfffff800, 13,	"2dot11agofdmhrbw202gpo 2ofdmlrbw202gpo "
1213*4882a593Smuzhiyun 	"2sb20in40dot11agofdm2gpo 2sb20in80dot11agofdm2gpo 2sb20in40ofdmlrbw202gpo "
1214*4882a593Smuzhiyun 	"2sb20in80ofdmlrbw202gpo"},
1215*4882a593Smuzhiyun 	{HNBU_ACPPR_5GPO,	0xfffff800, 59,	"4mcsbw805glpo 4mcsbw1605glpo 4mcsbw805gmpo "
1216*4882a593Smuzhiyun 	"4mcsbw1605gmpo 4mcsbw805ghpo 4mcsbw1605ghpo 2mcslr5glpo 2mcslr5gmpo 2mcslr5ghpo "
1217*4882a593Smuzhiyun 	"4mcsbw80p805glpo 4mcsbw80p805gmpo 4mcsbw80p805ghpo 4mcsbw80p805gx1po 2mcslr5gx1po "
1218*4882a593Smuzhiyun 	"2mcslr5g80p80po 4mcsbw805gx1po 4mcsbw1605gx1po"},
1219*4882a593Smuzhiyun 	{HNBU_MCS5Gx1PO,	0xfffff800, 9,	"4mcsbw205gx1po 4mcsbw405gx1po"},
1220*4882a593Smuzhiyun 	{HNBU_ACPPR_SBPO,	0xfffff800, 49,	"2sb20in40hrpo 2sb20in80and160hr5glpo "
1221*4882a593Smuzhiyun 	"2sb40and80hr5glpo 2sb20in80and160hr5gmpo 2sb40and80hr5gmpo 2sb20in80and160hr5ghpo "
1222*4882a593Smuzhiyun 	"2sb40and80hr5ghpo 2sb20in40lrpo 2sb20in80and160lr5glpo 2sb40and80lr5glpo "
1223*4882a593Smuzhiyun 	"2sb20in80and160lr5gmpo 2sb40and80lr5gmpo 2sb20in80and160lr5ghpo 2sb40and80lr5ghpo "
1224*4882a593Smuzhiyun 	"4dot11agduphrpo 4dot11agduplrpo 2sb20in40and80hrpo 2sb20in40and80lrpo "
1225*4882a593Smuzhiyun 	"2sb20in80and160hr5gx1po 2sb20in80and160lr5gx1po 2sb40and80hr5gx1po 2sb40and80lr5gx1po "
1226*4882a593Smuzhiyun 	},
1227*4882a593Smuzhiyun 	{HNBU_ACPPR_SB8080_PO, 0xfffff800, 23, "2sb2040and80in80p80hr5glpo "
1228*4882a593Smuzhiyun 	"2sb2040and80in80p80lr5glpo 2sb2040and80in80p80hr5gmpo "
1229*4882a593Smuzhiyun 	"2sb2040and80in80p80lr5gmpo 2sb2040and80in80p80hr5ghpo 2sb2040and80in80p80lr5ghpo "
1230*4882a593Smuzhiyun 	"2sb2040and80in80p80hr5gx1po 2sb2040and80in80p80lr5gx1po 2sb20in80p80hr5gpo "
1231*4882a593Smuzhiyun 	"2sb20in80p80lr5gpo 2dot11agduppo"},
1232*4882a593Smuzhiyun 	{HNBU_NOISELVL,		0xfffff800, 16, "1noiselvl2ga0 1noiselvl2ga1 1noiselvl2ga2 "
1233*4882a593Smuzhiyun 	"1*4noiselvl5ga0 1*4noiselvl5ga1 1*4noiselvl5ga2"},
1234*4882a593Smuzhiyun 	{HNBU_RXGAIN_ERR,	0xfffff800, 16, "1rxgainerr2ga0 1rxgainerr2ga1 1rxgainerr2ga2 "
1235*4882a593Smuzhiyun 	"1*4rxgainerr5ga0 1*4rxgainerr5ga1 1*4rxgainerr5ga2"},
1236*4882a593Smuzhiyun 	{HNBU_AGBGA,		0xfffff800, 7, "1agbg0 1agbg1 1agbg2 1aga0 1aga1 1aga2"},
1237*4882a593Smuzhiyun 	{HNBU_USBDESC_COMPOSITE, 0xffffffff, 3, "2usbdesc_composite"},
1238*4882a593Smuzhiyun 	{HNBU_UUID, 		0xffffffff, 17,	"16uuid"},
1239*4882a593Smuzhiyun 	{HNBU_WOWLGPIO,		0xffffffff, 2,  "1wowl_gpio"},
1240*4882a593Smuzhiyun 	{HNBU_ACRXGAINS_C0,	0xfffff800, 5, "0rxgains5gtrelnabypa0 0rxgains5gtrisoa0 "
1241*4882a593Smuzhiyun 	"0rxgains5gelnagaina0 0rxgains2gtrelnabypa0 0rxgains2gtrisoa0 0rxgains2gelnagaina0 "
1242*4882a593Smuzhiyun 	"0rxgains5ghtrelnabypa0 0rxgains5ghtrisoa0 0rxgains5ghelnagaina0 0rxgains5gmtrelnabypa0 "
1243*4882a593Smuzhiyun 	"0rxgains5gmtrisoa0 0rxgains5gmelnagaina0"},	/* special case */
1244*4882a593Smuzhiyun 	{HNBU_ACRXGAINS_C1,	0xfffff800, 5, "0rxgains5gtrelnabypa1 0rxgains5gtrisoa1 "
1245*4882a593Smuzhiyun 	"0rxgains5gelnagaina1 0rxgains2gtrelnabypa1 0rxgains2gtrisoa1 0rxgains2gelnagaina1 "
1246*4882a593Smuzhiyun 	"0rxgains5ghtrelnabypa1 0rxgains5ghtrisoa1 0rxgains5ghelnagaina1 0rxgains5gmtrelnabypa1 "
1247*4882a593Smuzhiyun 	"0rxgains5gmtrisoa1 0rxgains5gmelnagaina1"},	/* special case */
1248*4882a593Smuzhiyun 	{HNBU_ACRXGAINS_C2,	0xfffff800, 5, "0rxgains5gtrelnabypa2 0rxgains5gtrisoa2 "
1249*4882a593Smuzhiyun 	"0rxgains5gelnagaina2 0rxgains2gtrelnabypa2 0rxgains2gtrisoa2 0rxgains2gelnagaina2 "
1250*4882a593Smuzhiyun 	"0rxgains5ghtrelnabypa2 0rxgains5ghtrisoa2 0rxgains5ghelnagaina2 0rxgains5gmtrelnabypa2 "
1251*4882a593Smuzhiyun 	"0rxgains5gmtrisoa2 0rxgains5gmelnagaina2"},	/* special case */
1252*4882a593Smuzhiyun 	{HNBU_TXDUTY, 		0xfffff800, 9,	"2tx_duty_cycle_ofdm_40_5g "
1253*4882a593Smuzhiyun 	"2tx_duty_cycle_thresh_40_5g 2tx_duty_cycle_ofdm_80_5g 2tx_duty_cycle_thresh_80_5g"},
1254*4882a593Smuzhiyun 	{HNBU_PDOFF_2G,		0xfffff800, 3,	"0pdoffset2g40ma0 0pdoffset2g40ma1 "
1255*4882a593Smuzhiyun 	"0pdoffset2g40ma2 0pdoffset2g40mvalid"},
1256*4882a593Smuzhiyun 	{HNBU_ACPA_CCK_C0,	0xfffff800, 7,  "2*3pa2gccka0"},
1257*4882a593Smuzhiyun 	{HNBU_ACPA_CCK_C1,	0xfffff800, 7,  "2*3pa2gccka1"},
1258*4882a593Smuzhiyun 	{HNBU_ACPA_40,		0xfffff800, 25,	"2*12pa5gbw40a0"},
1259*4882a593Smuzhiyun 	{HNBU_ACPA_80,		0xfffff800, 25,	"2*12pa5gbw80a0"},
1260*4882a593Smuzhiyun 	{HNBU_ACPA_4080,	0xfffff800, 49,	"2*12pa5gbw4080a0 2*12pa5gbw4080a1"},
1261*4882a593Smuzhiyun 	{HNBU_ACPA_4X4C0,	0xffffe000, 23, "1maxp2ga0 2*4pa2ga0 2*4pa2g40a0 "
1262*4882a593Smuzhiyun 	"1maxp5gb0a0 1maxp5gb1a0 1maxp5gb2a0 1maxp5gb3a0 1maxp5gb4a0"},
1263*4882a593Smuzhiyun 	{HNBU_ACPA_4X4C1,	0xffffe000, 23, "1maxp2ga1 2*4pa2ga1 2*4pa2g40a1 "
1264*4882a593Smuzhiyun 	"1maxp5gb0a1 1maxp5gb1a1 1maxp5gb2a1 1maxp5gb3a1 1maxp5gb4a1"},
1265*4882a593Smuzhiyun 	{HNBU_ACPA_4X4C2,	0xffffe000, 23, "1maxp2ga2 2*4pa2ga2 2*4pa2g40a2 "
1266*4882a593Smuzhiyun 	"1maxp5gb0a2 1maxp5gb1a2 1maxp5gb2a2 1maxp5gb3a2 1maxp5gb4a2"},
1267*4882a593Smuzhiyun 	{HNBU_ACPA_4X4C3,	0xffffe000, 23, "1maxp2ga3 2*4pa2ga3 2*4pa2g40a3 "
1268*4882a593Smuzhiyun 	"1maxp5gb0a3 1maxp5gb1a3 1maxp5gb2a3 1maxp5gb3a3 1maxp5gb4a3"},
1269*4882a593Smuzhiyun 	{HNBU_ACPA_BW20_4X4C0,	0xffffe000, 41, "2*20pa5ga0"},
1270*4882a593Smuzhiyun 	{HNBU_ACPA_BW40_4X4C0,	0xffffe000, 41, "2*20pa5g40a0"},
1271*4882a593Smuzhiyun 	{HNBU_ACPA_BW80_4X4C0,	0xffffe000, 41, "2*20pa5g80a0"},
1272*4882a593Smuzhiyun 	{HNBU_ACPA_BW20_4X4C1,	0xffffe000, 41, "2*20pa5ga1"},
1273*4882a593Smuzhiyun 	{HNBU_ACPA_BW40_4X4C1,	0xffffe000, 41, "2*20pa5g40a1"},
1274*4882a593Smuzhiyun 	{HNBU_ACPA_BW80_4X4C1,	0xffffe000, 41, "2*20pa5g80a1"},
1275*4882a593Smuzhiyun 	{HNBU_ACPA_BW20_4X4C2,	0xffffe000, 41, "2*20pa5ga2"},
1276*4882a593Smuzhiyun 	{HNBU_ACPA_BW40_4X4C2,	0xffffe000, 41, "2*20pa5g40a2"},
1277*4882a593Smuzhiyun 	{HNBU_ACPA_BW80_4X4C2,	0xffffe000, 41, "2*20pa5g80a2"},
1278*4882a593Smuzhiyun 	{HNBU_ACPA_BW20_4X4C3,	0xffffe000, 41, "2*20pa5ga3"},
1279*4882a593Smuzhiyun 	{HNBU_ACPA_BW40_4X4C3,	0xffffe000, 41, "2*20pa5g40a3"},
1280*4882a593Smuzhiyun 	{HNBU_ACPA_BW80_4X4C3,	0xffffe000, 41, "2*20pa5g80a3"},
1281*4882a593Smuzhiyun 	{HNBU_SUBBAND5GVER,	0xfffff800, 3,	"2subband5gver"},
1282*4882a593Smuzhiyun 	{HNBU_PAPARAMBWVER,	0xfffff800, 2,	"1paparambwver"},
1283*4882a593Smuzhiyun 	{HNBU_TXBFRPCALS,  0xfffff800, 11,
1284*4882a593Smuzhiyun 	"2rpcal2g 2rpcal5gb0 2rpcal5gb1 2rpcal5gb2 2rpcal5gb3"}, /* txbf rpcalvars */
1285*4882a593Smuzhiyun 	{HNBU_GPIO_PULL_DOWN,	0xffffffff, 5, "4gpdn"},
1286*4882a593Smuzhiyun 	{HNBU_MACADDR2,		0xffffffff, 7, "6macaddr2"},	/* special case */
1287*4882a593Smuzhiyun 	{HNBU_RSSI_DELTA_2G_B0,	0xffffffff, 17, "1*16rssi_delta_2gb0"},
1288*4882a593Smuzhiyun 	{HNBU_RSSI_DELTA_2G_B1, 0xffffffff, 17, "1*16rssi_delta_2gb1"},
1289*4882a593Smuzhiyun 	{HNBU_RSSI_DELTA_2G_B2, 0xffffffff, 17, "1*16rssi_delta_2gb2"},
1290*4882a593Smuzhiyun 	{HNBU_RSSI_DELTA_2G_B3, 0xffffffff, 17, "1*16rssi_delta_2gb3"},
1291*4882a593Smuzhiyun 	{HNBU_RSSI_DELTA_2G_B4, 0xffffffff, 17, "1*16rssi_delta_2gb4"},
1292*4882a593Smuzhiyun 	{HNBU_RSSI_CAL_FREQ_GRP_2G, 0xffffffff,  8, "1*7rssi_cal_freq_grp"},
1293*4882a593Smuzhiyun 	{HNBU_RSSI_DELTA_5GL, 0xffffffff, 25, "1*24rssi_delta_5gl"},
1294*4882a593Smuzhiyun 	{HNBU_RSSI_DELTA_5GML, 0xffffffff, 25, "1*24rssi_delta_5gml"},
1295*4882a593Smuzhiyun 	{HNBU_RSSI_DELTA_5GMU, 0xffffffff, 25, "1*24rssi_delta_5gmu"},
1296*4882a593Smuzhiyun 	{HNBU_RSSI_DELTA_5GH, 0xffffffff, 25, "1*24rssi_delta_5gh"},
1297*4882a593Smuzhiyun 	{HNBU_ACPA_6G_C0,	0x00000800, 45,	"2subband6gver 1*6maxp6ga0 2*18pa6ga0 "},
1298*4882a593Smuzhiyun 	{HNBU_ACPA_6G_C1,	0x00000800, 43,	"1*6maxp6ga1 2*18pa6ga1 "},
1299*4882a593Smuzhiyun 	{HNBU_ACPA_6G_C2,	0x00000800, 43,	"1*6maxp6ga2 2*18pa6ga2 "},
1300*4882a593Smuzhiyun 	{0xFF,			0xffffffff, 0, ""}
1301*4882a593Smuzhiyun };
1302*4882a593Smuzhiyun 
1303*4882a593Smuzhiyun #endif /* _bcmsrom_tbl_h_ */
1304