xref: /freebsd/tools/tools/ath/athprom/eeprom-14 (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
1#
2# v14 format EEPROM template (AR5416 and later 11n parts)
3#
4 |===================== Header Information ====================|
5 |  Major Version           $V_major  |  Minor Version           $V_minor  |
6 |-------------------------------------------------------------|
7 |  Checksum           $checksum   |  Length             $length   |
8 |  RegDomain 1        $regDmn0   |  RegDomain 2        $regDmn1   |
9 |  TX Mask            $txMask   |  RX Mask            $rxMask   |
10 |  rfSilent           $rfSilent   |  btOptions          $btOptions   |
11 |  deviceCap          $deviceCap   |                              |
12 |  MacAddress: $macaddr0:$macaddr1:$macaddr2:$macaddr3:$macaddr4:$macaddr5                              |
13 |  OpFlags: [$opCapFlags] 11A 1, 11G 1                               |
14 |  eepMisc: [$eepMisc] endian 0                                   |
15 |-------------------------------------------------------------|
16 |  Customer Data in hex                                       |
17 |= $custData0 $custData1 $custData2 $custData3 $custData4 $custData5 $custData6 $custData7 $custData8 $custData9 $custData10 $custData11 $custData12 $custData13 $custData14 $custData15           =|
18 |= $custData16 $custData17 $custData18 $custData19 $custData20 $custData21 $custData22 $custData23 $custData24 $custData25 $custData26 $custData27 $custData28 $custData29 $custData30 $custData31           =|
19 |= $custData32 $custData33 $custData34 $custData35 $custData36 $custData37 $custData38 $custData39 $custData40 $custData41 $custData42 $custData43 $custData44 $custData45 $custData46 $custData47           =|
20 |= $custData48 $custData49 $custData50 $custData51 $custData52 $custData53 $custData54 $custData55 $custData56 $custData57 $custData58 $custData59 $custData60 $custData61 $custData62 $custData63           =|
21 |=============================================================|
22
23.ifmode 11a
24 |=========== 5GHz Modal Header ===========|
25 |  Ant Chain 0                $antCtrlChain0  |
26 |  Ant Chain 1                $antCtrlChain1  |
27 |  Ant Chain 2                $antCtrlChain2  |
28 |  Ant Chain common           0x00001120  |
29 |  Antenna Gain Chain 0              $antGainCh0  |
30 |  Antenna Gain Chain 1              $antGainCh1  |
31 |  Antenna Gain Chain 2              $antGainCh2  |
32 |  Switch Settling                   $switchSettling  |
33 |  TxRxAttenuation Ch 0              $txRxAttenCh0  |
34 |  TxRxAttenuation Ch 1              $txRxAttenCh1  |
35 |  TxRxAttenuation Ch 2              $txRxAttenCh2  |
36 |  RxTxMargin Chain 0                $rxTxMarginCh0  |
37 |  RxTxMargin Chain 1                $rxTxMarginCh1  |
38 |  RxTxMargin Chain 2                $rxTxMarginCh2  |
39 |  adc desired size                  $adcDesiredSize  |
40 |  pga desired size                  $pgaDesiredSize  |
41 |  xlna gain Chain 0                 $xlnaGainCh0  |
42 |  xlna gain Chain 1                 $xlnaGainCh1  |
43 |  xlna gain Chain 2                 $xlnaGainCh2  |
44 |  tx end to xpa off                 $txEndToXPAOff  |
45 |  tx end to rx on                   $txEndToRxOn  |
46 |  tx frame to xpa on                $txFrameToXPAOn  |
47 |  thresh62                          $thresh62  |
48 |  noise floor thres 0               $noiseFloorThreshCh0  |
49 |  noise floor thres 1               $noiseFloorThreshCh1  |
50 |  noise floor thres 2               $noiseFloorThreshCh2  |
51 |  Xpd Gain Mask                     $xpdGain  |
52 |  Xpd extern                        $xpd  |
53 |  IQ Cal I, Q Chain 0          $iqCalICh0, $iqCalQCh0  |
54 |  IQ Cal I, Q Chain 1          $iqCalICh1, $iqCalQCh1  |
55 |  IQ Cal I, Q Chain 2          $iqCalICh2, $iqCalQCh2  |
56 |  pdGain Overlap                $pdGainOverlap dB  |
57 |  Analog Output Bias (ob)           $ob  |
58 |  Analog Driver Bias (db)           $db  |
59 |  Xpa bias level                    $xpaBiasLvl  |
60 |  pwr dec 2 chain               $pwrDecreaseFor2Chain dB  |
61 |  pwr dec 3 chain               $pwrDecreaseFor3Chain dB  |
62 |  txFrameToDataStart                $txFrameToDataStart  |
63 |  txFrameToPaOn                     $txFrameToPaOn  |
64 |  ht40PowerIncForPdadc              $ht40PowerIncForPdadc  |
65 |=========================================|
66
67============================Target Power Info===============================
68|     rate     |     $testChannel0     |     $testChannel1     |     $testChannel2     |     $testChannel3     |
69|==============|==============|==============|==============|==============|
70|     6-24     |     $pwr6_24_0     |     $pwr6_24_1     |     $pwr6_24_2     |     $pwr6_24_3     |
71|      36      |     $pwr36_0     |     $pwr36_1     |     $pwr36_2     |     $pwr36_3     |
72|      48      |     $pwr48_0     |     $pwr48_1     |     $pwr48_2     |     $pwr48_3     |
73|      54      |     $pwr54_0     |     $pwr54_1     |     $pwr54_2     |     $pwr54_3     |
74|==============|==============|==============|==============|==============|
75|     rate     |     $testChannel4     |     $testChannel5     |     $testChannel6     |     $testChannel7     |
76|==============|==============|==============|==============|==============|
77|     6-24     |     $pwr6_24_4     |     $pwr6_24_5     |     $pwr6_24_6     |     $pwr6_24_7     |
78|      36      |     $pwr36_4     |     $pwr36_5     |     $pwr36_6     |     $pwr36_7     |
79|      48      |     $pwr48_4     |     $pwr48_5     |     $pwr48_6     |     $pwr48_7     |
80|      54      |     $pwr54_4     |     $pwr54_5     |     $pwr54_6     |     $pwr54_7     |
81|==============|==============|==============|==============|==============|
82
83=======================Test Group Band Edge Power========================
84.forctl
85|                                                                       |
86| CTL: $CTL   [ $ctlRD $ctlType mode ]                                    |
87|=======|=======|=======|=======|=======|=======|=======|=======|=======|
88| edge  | $rdEdge0  | $rdEdge1  | $rdEdge2  | $rdEdge3  | $rdEdge4  | $rdEdge5  | $rdEdge6  | $rdEdge7  |
89|=======|=======|=======|=======|=======|=======|=======|=======|=======|
90| power | $rdEdgePower0  | $rdEdgePower1  | $rdEdgePower2  | $rdEdgePower3  | $rdEdgePower4  | $rdEdgePower5  | $rdEdgePower6  | $rdEdgePower7  |
91|=======|=======|=======|=======|=======|=======|=======|=======|=======|
92| flag  |  $rdEdgeFlag0   |  $rdEdgeFlag1   |  $rdEdgeFlag2   |  $rdEdgeFlag3   |  $rdEdgeFlag4   |  $rdEdgeFlag5   |  $rdEdgeFlag6   |  $rdEdgeFlag7   |
93=========================================================================
94.endforctl
95.endmode
96
97.ifmode 11g
98=============Target Power Info================
99|     rate     |     $testChannel0     |     $testChannel1     |
100|==============|==============|==============|
101|      1       |     $pwr6_24_0     |     $pwr6_24_1     |
102|      2       |     $pwr36_0     |     $pwr36_1     |
103|      5.5     |     $pwr48_0     |     $pwr48_1     |
104|      11      |     $pwr54_0     |     $pwr54_1     |
105|==============|==============|==============|
106
107=======================Test Group Band Edge Power========================
108.forctl
109|                                                                       |
110| CTL: $CTL   [ $ctlRD $ctlType mode ]                                    |
111|=======|=======|=======|=======|=======|=======|=======|=======|=======|
112| edge  | $rdEdge0  | $rdEdge1  | $rdEdge2  | $rdEdge3  | $rdEdge4  | $rdEdge5  | $rdEdge6  | $rdEdge7  |
113|=======|=======|=======|=======|=======|=======|=======|=======|=======|
114| power | $rdEdgePower0  | $rdEdgePower1  | $rdEdgePower2  | $rdEdgePower3  | $rdEdgePower4  | $rdEdgePower5  | $rdEdgePower6  | $rdEdgePower7  |
115|=======|=======|=======|=======|=======|=======|=======|=======|=======|
116| flag  |  $rdEdgeFlag0   |  $rdEdgeFlag1   |  $rdEdgeFlag2   |  $rdEdgeFlag3   |  $rdEdgeFlag4   |  $rdEdgeFlag5   |  $rdEdgeFlag6   |  $rdEdgeFlag7   |
117=========================================================================
118.endforctl
119.endmode
120