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