All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] eeprom txGainType overridden if minor version < 19
@ 2011-08-02  8:28 Marek Lindner
  2011-08-02  8:59 ` Adrian Chadd
  2011-08-02 10:09 ` Mohammed Shafi
  0 siblings, 2 replies; 19+ messages in thread
From: Marek Lindner @ 2011-08-02  8:28 UTC (permalink / raw)
  To: ath9k-devel


Hi,

I was having some output power problems with a device using AR7240/AR9285. 
After digging into the ath9k driver I realized that it would override the 
power settings (txGainType) configured in the eeprom if the minor version does 
not meet its expectations. This is why it would not use the appropriate high 
power settings. The offending lines from eeprom_4k.c:

if (ver_minor >= AR5416_EEP_MINOR_VER_19)
return pBase->txGainType;
else
return AR5416_EEP_TXGAIN_ORIGINAL;

My minor version is 14 and consequently fell through the cracks. The commit 
introducing the check in question was 970bf9d40c03e48cc34ee2c1a70693a0e0fca3f6 
but it does not explain why the minor version has to be 19 or higher. Does 
anyone know the magic behind version 19 ? I could easily post a patch to 
remove that check if it causes no harm.

Regards,
Marek

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-08-03  7:10 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-02  8:28 [ath9k-devel] eeprom txGainType overridden if minor version < 19 Marek Lindner
2011-08-02  8:59 ` Adrian Chadd
2011-08-02  9:03   ` Marek Lindner
2011-08-02 10:38     ` Adrian Chadd
2011-08-02 10:48       ` Marek Lindner
2011-08-02 11:13         ` Adrian Chadd
2011-08-02 14:37           ` Marek Lindner
2011-08-02 15:06             ` Mohammed Shafi
2011-08-02 15:37               ` Mohammed Shafi
2011-08-02 16:11                 ` Gabor Juhos
2011-08-03  4:59                   ` Mohammed Shafi
2011-08-03  6:48                     ` Adrian Chadd
2011-08-03  7:03                       ` Marek Lindner
2011-08-03  7:10                         ` Mohammed Shafi
2011-08-02 16:29             ` Adrian Chadd
2011-08-02 10:09 ` Mohammed Shafi
2011-08-02 10:15   ` Marek Lindner
2011-08-02 10:36     ` Mohammed Shafi
2011-08-02 10:49       ` Marek Lindner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.