ath5k: Update RF Buffer handling

* Use the new way to modify rf buffer and put some rf buffer
   documentation on rfbufer.h

 * Merge all rf regs functions to one

 * Sync with legacy HAL and Sam's HAL

 * Set gain_F settings so that gain_F optimization engine works
   on RF5111/RF5112 (note that both HALs only use step 0 for RF5111
   and they don't use gain_F optimization for this chip, code is
   there but is never used)

  Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>

Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Nick Kossifidis
2009-02-09 06:06:34 +02:00
committed by John W. Linville
vanhempi 6f3b414aca
commit 8892e4ec62
5 muutettua tiedostoa jossa 436 lisäystä ja 374 poistoa

Näytä tiedosto

@@ -600,7 +600,7 @@ int ath5k_hw_reset(struct ath5k_hw *ah, enum nl80211_iftype op_mode,
/*
* Write RF registers
*/
ret = ath5k_hw_rfregs(ah, channel, mode);
ret = ath5k_hw_rfregs_init(ah, channel, mode);
if (ret)
return ret;