ACK nevermind your script does enough magic already ;-) Here is an interesting find comparing your dumps of 5414 and 5213...
while on 5213 we change channel by setting RF_BUFFER and then RF_BUFFER_CONTROL_3 on 5414 RF_BUFFER_CONTROL_5 is used, also there is some difference between them (we can possibly track this down and fix what Reyk tried to fix, the right way) ;-) -W: 0x989c = 0x000050d1 - AR5K_RF_BUFFER .... .... .... .... .1.1 .... 11.1 ...1 -W: 0x98d0 = 0x00000c05 - AR5K_RF_BUFFER_CONTROL_3 .... .... .... .... .... 11.. .... .1.1 +W: 0x989c = 0x000000d1 - AR5K_RF_BUFFER .... .... .... .... .... .... 11.1 ...1 +W: 0x98d8 = 0x00000010 - AR5K_RF_BUFFER_CONTROL_5 .... .... .... .... .... .... ...1 .... so by taking a look at the code (phy.c) it seems that for 5213 (data1 & 0xff) | ((data0 & 0xff) << 8) = 50d1 ((data1 >> 8) & 0xff) | (data0 & 0xff00) = c05 for 5414 (data1 & 0xff) | ((data0 & 0xff) << 8) = d1 ((data1 >> 8) & 0xff) | (data0 & 0xff00) = 10 so a different algo is used to calculate data0/1 or there is a completely different algo at all... -- 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