From: =?UTF-8?B?0JTRgNGO0LrQvtCyINCV0LLQs9C10L3QuNC5?= Date: Thu, 21 Jan 2016 12:27:01 +0300 Subject: [ath9k-devel] =?utf-8?q?AR9280_How_does_it_work__-_Power_Detector?= =?utf-8?q?_Register_AR=5FPHY=5FTPCRG1_=26_AR=5FPHY=5FTPCRG5?= Message-ID: <1453368421.654621526@f380.i.mail.ru> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org CloseLoop power regulator. EPROM Version:0x0e Revision:0x16 Calibration per freq table 5Ghz: Idx:0->5300 Idx:1->5400 Idx:2->5500 Idx:3->5600 Idx:4->5700 Idx:5->5750 Idx:6->5825 EEPROM PWR\VPD table dump: Chain:0 FreqTable:0 PD_GAIN:0?? 30\10? 52\23? 72\49? 92\98 103\154 Chain:0 FreqTable:0 PD_GAIN:1?? 70\23? 79\31? 90\47? 96\59 103\77 Chain:0 FreqTable:0 PD_GAIN:2?? 0\0? 0\0 0\0 0\0 0\0 Chain:0 FreqTable:0 PD_GAIN:3?? 0\0? 0\0 0\0 0\0 0\0 EEPROM GainOverlap = 6 EEPROM xpdMask = 0x06 -- 0110 Driver make two VPD table: table1 10-148 sizeof 37 table2? 23-74 sizeof 17 Next step - make PDADC table. at9280 start -5db step 0.5db PDAC table: 00:? 000 000 000 000 000 000 001 002 003 004?<< -5db 10:? 005 006 007 008 009 010 011 012 013 014 << 0db 20:? 015 017 018 019 020 021 023 025 028 030?<< 5db 30:? 033 036 038 041 043 046 049 053 058 063?<< 10db 40:? 068 073 078 083 088 093 098 108 118 158?<< 15db 50:? 028 030 032 035 038 041 044 047 051 055?<< 20db 60:? 059 064 069 074 079 084 089 094 099 104?<< 25db <AR_PHY_TPCRG1_NUM_PD_GAIN = numXpdGain - 1 =? 1 >AR_PHY_TPCRG1_PD_GAIN_1 = 2 >AR_PHY_TPCRG1_PD_GAIN_2 = 1 >AR_PHY_TPCRG1_PD_GAIN_3 = 0 GainOverlap = 6 GainBoundaries0:43 GainBoundaries1:51 GainBoundaries2:51 GainBoundaries3:51 AR_PHY_TPCRG5 >AR_PHY_TPCRG5_PD_GAIN_OVERLAP = 6 >AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_1 = 43 >AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_2 = 51 >AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_3 = 51 >AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_4 = 51 Best regards, Eugene. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20160121/9d69e854/attachment.htm