2008/6/11 Geoffrey McRae <[EMAIL PROTECTED]>: > I am more then happy to share the trace... Unfortunately compat-trace > does not compile on a 2.6.25 kernel properly (missing syms), so I am > using compat-wireless with my kernel patched with the mmio-trace patch. > This means that my traces, are missing the ath_hal function names. Let > me know where you would like me to put my trace files? > > It is a 2425, most certainly. I am using compat-wireless, but I have > pulled in a chunk of updated code from a "test4" tar.gz i found > mentioned in this mailing list. > > The trace I performed however was before I updated this code, so you > might be right, it is being set wrong by the old code (yes, its set > wrongly to 0x12, not 0xeb, I am dyslexic, so sue me :P). I will do > another trace and try again. > > If you have an updated snapshot, please point me to it, I would love to > get stuck in and make the radio work in this thing. >
Latest stuff is here -> http://www.kernel.org/pub/linux/kernel/people/mickflemm/ I have more updates but no time to test/commit right now (exams :P), most of them are not 2425 related anyway. > One thing I have noticed with ath_info is that on my chip, the latest > version from SVN identifies my device as having only g support, while > the madwifi driver reports b and g support. I have dug into the eeprom > code, and from what I can tell, it has not been updated to support the > 2425 device. > That's a fact, 2425 eeprom only marks g support but that's not weird. It means that 2425 works in dynamic b/g mode and doesn't need any special settings to work on b mode (in other words it means that settings stored in eeprom for g are also for b, same goes for initvals -check out initvals.c and phy.c-). Ath_info supports all eeprom versions before AR5416, we only miss per channel power calibration data for > 4.6. When we are done, we are going to merge code from ath_info in ath5k. > Anyway, here is my dump: > -==Device Information==- > MAC Version: 2425 (0xe0) > MAC Revision: 2425 (0xe2) > Warning: Invalid EEPROM Magic number! > Device type: 3 > > /============== EEPROM Information =============\ > | EEPROM Version: 5.3 | EEPROM Size: 4 kbit | > | EEMAP: 2 | Reg. Domain: 0x10 | > |================= Capabilities ================| > | 802.11a Support: no | Turbo-A disabled: yes | > | 802.11b Support: no | Turbo-G disabled: yes | > | 802.11g Support: yes | 2GHz XR disabled: yes | > | RFKill Support: yes | 5GHz XR disabled: yes | > | 32kHz Crystal: no | | > \===============================================/ > > /=========================================================\ > | Calibration data common for all modes | > |=========================================================| > | CCK/OFDM gain delta: 1 | > | CCK/OFDM power delta: 5 | > | Scaled CCK delta: 5 | > | 2GHz Antenna gain: 0 | > | 5GHz Antenna gain: 0 | > | Turbo 2W maximum dBm: 38 | > | Target power start: 0x16e | > | EAR Start: 0x1b8 | > \=========================================================/ > > /=========================================================\ > | Calibration data for 802.11g operation | > |=========================================================| > | I power: 0x00 | Q power: 0x10 | > | Use fixed bias: 0x01 | Max turbo power: 0x26 | > | Max XR power: 0x1e | Switch Settling Time: 0x28 | > | Tx/Rx attenuation: 0x19 | TX end to XLNA On: 0x00 | > | TX end to XPA Off: 0x00 | TX end to XPA On: 0x0e | > | 62db Threshold: 0x1c | XLNA gain: 0x00 | > | XPD: 0x01 | XPD gain: 0x0a | > | I gain: 0x00 | Tx/Rx margin: 0x01 | > | False detect backoff: 0x00 | Noise Floor Threshold: -1 | > | ADC desired size: -38 | PGA desired size: -80 | > |=========================================================| > | Antenna control 0: 0x00 | Antenna control 1: 0x02 | > | Antenna control 2: 0x21 | Antenna control 3: 0x21 | > | Antenna control 4: 0x00 | Antenna control 5: 0x00 | > | Antenna control 6: 0x01 | Antenna control 7: 0x22 | > | Antenna control 8: 0x22 | Antenna control 9: 0x00 | > | Antenna control 10: 0x00 | Antenna control 11: 0x02 | > |=========================================================| > | Octave Band 0: 3 | db 0: 3 | > | Octave Band 1: 4 | db 1: 4 | > | Octave Band 2: 0 | db 2: 0 | > | Octave Band 3: 0 | db 3: 0 | > \=========================================================/ > /============== Per rate power calibration ===========\ > | Freq | 6-24Mbit/s | 36Mbit/s | 48Mbit/s | 54Mbit/s | > |======|============|==========|===========|==========| > | 2412 | 15.00 | 15.00 | 15.00 | 13.01 | > |======|============|==========|===========|==========| > | 2437 | 15.00 | 15.00 | 15.00 | 13.01 | > |======|============|==========|===========|==========| > | 2472 | 15.00 | 15.00 | 15.00 | 13.01 | > \=====================================================/ > /=================== Per channel power calibration ====================\ > | Freq | pwr_0 | pwr_1 | pwr_2 | pwr_3 |pwrx3_0|pwrx3_1|pwrx3_2|max_pwr| > | | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac | | > |======|=======|=======|=======|=======|=======|=======|=======|=======| > | 2412 | 25.00 | 25.00 | 0.00 | 25.00 | 0.00 | 0.00 | 29.01 | 25.00 | > | | [112] | [112] | [112] | [112] | [20] | [35] | [63] | | > \======================================================================/ > > GPIO registers: CR 0x00000000, DO 0x00000000, DI 0x0000000b > STA_ID0: 00:1f:3a:a4:6f:43 > STA_ID1: 0x0020436f, AP: 0, IBSS: 0, KeyCache Disable: 0 > TIMER0: 0x00000030, TBTT: 48, TU: 0x108f0030 > TIMER1: 0x0007ffff, DMAb: 65535, TU: 0x108effff (-49) > TIMER2: 0x01ffffff, SWBA: 65535, TU: 0x10bfffff (+3211215) > TIMER3: 0x00000031, ATIM: 49, TU: 0x108f0031 (+1) > TSF: 0x000000423940cd67, TSFTU: 20531, TU: 0x108e5033 > BEACON: 0x00000000 > LAST_TSTP: 0xb335b180 > -- GPG ID: 0xD21DB2DB As you read this post global entropy rises. Have Fun ;-) Nick _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel