2012/8/5 Thomas Huehn <thomas@xxxxxxxxxxxxxxxxxxxxxxx>: > Hi Nick > >> 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 > CCing Adrian in case this bug is also present on newer HAL sources on FreeBSD etc... Thanks for testing/patching Thomas, I 'll try to find some time to work on EEPROM code again, I know it's a mess :P -- GPG ID: 0xEE878588 As you read this post global entropy rises. Have Fun ;-) Nick -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html