2008/11/21 Bob Copeland <me@xxxxxxxxxxxxxxx>: > On Thu, Nov 20, 2008 at 03:16:22PM +0100, Felix Fietkau wrote: >> + >> + if (ah->ah_ee_version >= AR5K_EEPROM_VERSION_4_0) { >> + AR5K_EEPROM_READ_HDR(AR5K_EEPROM_MISC0, ee_misc0); >> + AR5K_EEPROM_READ_HDR(AR5K_EEPROM_MISC1, ee_misc1); > > Can we add the rest here? > > + AR5K_EEPROM_READ_HDR(AR5K_EEPROM_MISC2, ee_misc2); > + AR5K_EEPROM_READ_HDR(AR5K_EEPROM_MISC3, ee_misc3); > + AR5K_EEPROM_READ_HDR(AR5K_EEPROM_MISC4, ee_misc4); > + AR5K_EEPROM_READ_HDR(AR5K_EEPROM_MISC5, ee_misc5); > > I'm adding CCMP support and it wants to use AR5K_EEPROM_AES_DIS(ee_misc5). > Problem is that legacy-hal doesn't make use of these infos (along with many other infos stored in eeprom !), so i don't know what eeprom versions have them. Go on and use them but for now assume that they are only available for eeprom versions 5 and above and i'll check out my eeprom dumps etc to find out. Right now i'm working on a debugfs entry for eeprom stuff to make debuging of this code easier. -- GPG ID: 0xD21DB2DB 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