summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-01-25 05:35:43 +0000
committeradrian <adrian@FreeBSD.org>2011-01-25 05:35:43 +0000
commit2c2f5e980434252e2c7ebbccc856ff3376b842e9 (patch)
tree99f5f4542eabaab1d912853acfe03b11ad3d2b73 /tools
parenta9b6027ca848563b15585541fed2d838f266e805 (diff)
downloadFreeBSD-src-2c2f5e980434252e2c7ebbccc856ff3376b842e9.zip
FreeBSD-src-2c2f5e980434252e2c7ebbccc856ff3376b842e9.tar.gz
Fix this tool to use the updated (corrected) v4k eeprom definition introduced in a previous commit.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/ath/ath_ee_v4k_print/v4k.c27
1 files changed, 20 insertions, 7 deletions
diff --git a/tools/tools/ath/ath_ee_v4k_print/v4k.c b/tools/tools/ath/ath_ee_v4k_print/v4k.c
index fbe5047..9539be1 100644
--- a/tools/tools/ath/ath_ee_v4k_print/v4k.c
+++ b/tools/tools/ath/ath_ee_v4k_print/v4k.c
@@ -111,16 +111,29 @@ eeprom_v4k_modal_print(uint16_t *buf)
mh->txEndToXpaOff, mh->txEndToRxOn, mh->txFrameToXpaOn);
printf("| thres62: 0x%.2x\n", mh->thresh62);
printf("| xpdGain: 0x%.2x | xpd: 0x%.2x |\n", mh->xpdGain, mh->xpd);
- printf("| xpaBiasLvlFreq: 0:0x%.4x 1:0x%.4x 2:0x%.4x |\n",
- mh->xpaBiasLvlFreq[0], mh->xpaBiasLvlFreq[1], mh->xpaBiasLvlFreq[2]);
- printf("| pdGainOverlap: 0x%.2x | ob: 0x%.2x | db: 0x%.2x | xpaBiasLvl: 0x%.2x |\n",
- mh->pdGainOverlap, mh->ob, mh->db, mh->xpaBiasLvl);
+
+ printf("| pdGainOverlap: 0x%.2x xpaBiasLvl: 0x%.2x |\n", mh->pdGainOverlap, mh->xpaBiasLvl);
printf("| txFrameToDataStart: 0x%.2x | txFrameToPaOn: 0x%.2x |\n", mh->txFrameToDataStart, mh->txFrameToPaOn);
printf("| ht40PowerIncForPdadc: 0x%.2x |\n", mh->ht40PowerIncForPdadc);
printf("| swSettleHt40: 0x%.2x |\n", mh->swSettleHt40);
- printf("| ob_ch1: 0x%.2x | db_ch1: 0x%.2x |\n", mh->ob_ch1, mh->db_ch1);
- printf("| flagBits: 0x%.2x | miscBits: 0x%.2x |\n", mh->flagBits, mh->miscBits);
- printf("| futureModal: 0x%.2x 0x%.2x\n", mh->futureModal[0], mh->futureModal[1]);
+
+ printf("| ob_0: 0x%.2x | ob_1: 0x%.2x | ob_2: 0x%.2x | ob_3: 0x%.2x |\n",
+ mh->ob_0, mh->ob_1, mh->ob_2, mh->ob_3);
+ printf("| db_1_0: 0x%.2x | db_1_1: 0x%.2x | db_1_2: 0x%.2x | db_1_3: 0x%.2x db_1_4: 0x%.2x|\n",
+ mh->db1_0, mh->db1_1, mh->db1_2, mh->db1_3, mh->db1_4);
+ printf("| db_1_0: 0x%.2x | db_1_1: 0x%.2x | db_1_2: 0x%.2x | db_1_3: 0x%.2x db_1_4: 0x%.2x|\n",
+ mh->db2_0, mh->db2_1, mh->db2_2, mh->db2_3, mh->db2_4);
+
+ printf("| antdiv_ctl1: 0x%.2x antdiv_ctl2: 0x%.2x |\n", mh->antdiv_ctl1, mh->antdiv_ctl2);
+
+ printf("| Modal Version: %.2x |\n", mh->version);
+
+ printf("| futureModal: 0x%.2x 0x%.2x 0x%.2x 0x%.2x |\n",
+ mh->futureModal[0],
+ mh->futureModal[1],
+ mh->futureModal[2],
+ mh->futureModal[3]
+ );
/* and now, spur channels */
for (i = 0; i < AR5416_EEPROM_MODAL_SPURS; i++) {
OpenPOWER on IntegriCloud