linux-loongson/drivers/net/wireless/ath/ath9k
Luis R. Rodriguez 8564328d85 ath9k_hw: update register initialization/reset values for ar9271
This update the register initialization/reset values (aka initvals)
for ar9271 based on the last recommended values on 2009-06-04 by our
systems engineering team.

The changes account for:

  * Supporting ar9271 1.0 and ar9271 1.1 together, the difference
    is bb_spectral_scan_ena, for 1.0 we'll set this to 0x1.

  * Ensuring we get the correct noise floor values -115 ~ -118
    when we enable bb_enable_ant_div_lnadiv=0 and
    mc_tx_def_ant_sel=1. Previous to this we would get noise
    floor values in the range -50 ~ -80. To fix settings for
    the registers:

     - bb_ch1_xatten1_db
     - bb_ch1_xatten2_db
     - bb_ch1_xatten1_margin
     - bb_ch1_xatten2_margin
     - bb_ch1_gain_force
     - bb_ch1_xatten2_hyst_margin
     - bb_ch1_xatten1_hyst_margin
     - bb_ch1_max_oc_gain

  * 0x8120[2] mc_mic_new_location_enable is changed to 0x1. The MAC team
    suggest to set this value.

  * 0x9910[0] bb_spectral_scan_ena is changed to 0x0.
    For ar9271 1.1 we don't need to enable this bit.

Cc: Stephen Chen <Stephen.Chen@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-10-30 16:50:36 -04:00
..
ahb.c ath9k_hw: distinguish single-chip solutions on initial probe print 2009-10-30 16:49:18 -04:00
ani.c ath9k: move hw code to its own module 2009-10-07 16:39:41 -04:00
ani.h ath9k: Nuke struct ath9k_node_stats 2009-08-20 11:36:08 -04:00
ath9k.h ath9k: rename ath_beaconq_setup() to ath9k_hw_beaconq_setup() 2009-10-07 16:39:53 -04:00
beacon.c ath9k: rename ath_beaconq_setup() to ath9k_hw_beaconq_setup() 2009-10-07 16:39:53 -04:00
btcoex.c ath9k: move hw code to its own module 2009-10-07 16:39:41 -04:00
btcoex.h ath9k: rename ath_btcoex_supported() to ath9k_hw_btcoex_supported() 2009-10-07 16:39:23 -04:00
calib.c ath9k_hw: remove bogus register write on ath9k_hw_9271_pa_cal() 2009-10-30 16:49:19 -04:00
calib.h atheros: add common debug printing 2009-10-07 16:39:29 -04:00
debug.c ath9k: move common->debug_mask setting to ath_init_softc() 2009-10-07 16:39:51 -04:00
debug.h atheros: add common debug printing 2009-10-07 16:39:29 -04:00
eeprom_4k.c ath9k_hw: modify the rf control register for ar9271 revision 1.0 2009-10-30 16:50:36 -04:00
eeprom_9287.c atheros: move bus ops to ath_common 2009-10-07 16:39:30 -04:00
eeprom_def.c ath9k: Fix bugs in handling TX power 2009-10-07 16:39:40 -04:00
eeprom.c atheros: move bus ops to ath_common 2009-10-07 16:39:30 -04:00
eeprom.h ath9k: Fix bugs in handling TX power 2009-10-07 16:39:40 -04:00
hw.c ath9k_hw: update register initialization/reset values for ar9271 2009-10-30 16:50:36 -04:00
hw.h ath9k_hw: update register initialization/reset values for ar9271 2009-10-30 16:50:36 -04:00
initvals.h ath9k_hw: update register initialization/reset values for ar9271 2009-10-30 16:50:36 -04:00
Kconfig wireless: remove WLAN_80211 and WLAN_PRE80211 from Kconfig 2009-10-30 16:50:35 -04:00
mac.c ath9k: rename ath_beaconq_setup() to ath9k_hw_beaconq_setup() 2009-10-07 16:39:53 -04:00
mac.h ath9k: rename ath_beaconq_setup() to ath9k_hw_beaconq_setup() 2009-10-07 16:39:53 -04:00
main.c ath9k_hw: move mac name and rf name helpers to hw code 2009-10-30 16:49:18 -04:00
Makefile ath9k: move hw code to its own module 2009-10-07 16:39:41 -04:00
pci.c ath9k_hw: distinguish single-chip solutions on initial probe print 2009-10-30 16:49:18 -04:00
phy.c ath9k: Update INI release for AR9287 2009-10-07 16:39:38 -04:00
phy.h ath9k_hw: correct AR_PHY_SPECTRAL_SCAN register offset 2009-10-30 16:49:19 -04:00
rc.c ath9k: remove driver ASSERT, just use BUG_ON() 2009-10-07 16:39:30 -04:00
rc.h ath9k: Nuke struct ath_tx_ratectrl_state 2009-07-24 15:05:17 -04:00
recv.c ath9k: Allow PSPOLL only when the interface is configured in AP mode 2009-10-07 16:39:39 -04:00
reg.h atheros: define shared bssidmask setting 2009-10-07 16:39:28 -04:00
virtual.c atheros: define shared bssidmask setting 2009-10-07 16:39:28 -04:00
xmit.c ath9k: Fix TX hang poll routine 2009-10-27 16:47:55 -04:00