Re: [ath5k-devel] [PATCH 1/2] ath5k: fix wrong per rate target power eeprom reads for AR5K_EEPROM_MODE_11A
From: Nick Kossifidis <mickflemm@gmail.com>
Date: 2012-08-05 18:26:35
From: Nick Kossifidis <mickflemm@gmail.com>
Date: 2012-08-05 18:26:35
2012/8/5 Thomas Huehn [off-list ref]:
Hi Nickquoted
According to EEPROM docs there are 10 calibration piers on all chips after 5111 for 11a but some of them are not used and the way to test this is if frequency is zero. Now here is a bug in the EEPROM code that might result the wrong reads you get, check this out: on ath5k_eeprom_read_freq_list we do this if (!freq1) break; instead of this if (!freq1) continue;That did the trick ! So reading 10 calibration piers and using the fix from above works in terms of tx_power changes on CM9 and DCMA82 are properly used by the hardware. I will send a patch for that. Greetings Thomas
I have some time right now so I'll re-send my patches (one of them needs a fix anyway) together with this one to make John's job easier. Send your EEPROM patch on top of them so that he can see it (remember to CC him). -- GPG ID: 0xEE878588 As you read this post global entropy rises. Have Fun ;-) Nick