linux-loongson/drivers/net/wireless
Luis R. Rodriguez e36b27aff1 ath9k: add new ANI implementation for AR9003
This adds support for ANI for AR9003. The implementation for
ANI for AR9003 is slightly different than the one used for
the older chipset families. It can technically be used for
the older families as well but this is not yet fully tested
so we only enable the new ANI for the AR5008, AR9001 and AR9002
families with a module parameter, force_new_ani.

The old ANI implementation is left intact.

Details of the new ANI implemention:

  * ANI adjustment logic is now table driven so that each ANI level
    setting is parameterized. This makes adjustments much more
    deterministic than the old procedure based logic and allows
    adjustments to be made incrementally to several parameters per
    level.

  * ANI register settings are now relative to INI values; so ANI
    param zero level == INI value. Appropriate floor and ceiling
    values are obeyed when adjustments are combined with INI values.

  * ANI processing is done once per second rather that every 100ms.
    The poll interval is now a set upon hardware initialization and
    can be picked up by the core driver.

  * OFDM error and CCK error processing are made in a round robin
    fashion rather than allowing all OFDM adjustments to be made
    before CCK adjustments.

  * ANI adjusts MRC CCK off in the presence of high CCK errors

  * When adjusting spur immunity (SI) and OFDM weak signal detection,
    ANI now sets register values for the extension channel too

  * When adjusting FIR step (ST), ANI now sets register for FIR step
    low too

  * FIR step adjustments now allow for an extra level of immunity for
    extremely noisy environments

  * The old Noise immunity setting (NI), which changes coarse low, size
    desired, etc have been removed. Changing these settings could affect
    up RIFS RX as well.

  * CCK weak signal adjustment is no longer used

  * ANI no longer enables phy error interrupts; in all cases phy hw
    counting registers are used instead

  * The phy error count (overflow) interrupts are also no longer used
    for ANI adjustments. All ANI adjustments are made via the polling
    routine and no adjustments are possible in the ISR context anymore

  * A history settings buffer is now correctly used for each channel;
    channel settings are initialized with the defaults but later
    changes are restored when returning back to that channel

  * When scanning, ANI is disabled settings are returned to (INI) defaults.

  * OFDM phy error thresholds are now 400 & 1000 (errors/second units) for
    low/high water marks, providing increased stability/hysteresis when
    changing levels.

  * Similarly CCK phy error thresholds are now 300 & 600 (errors/second)

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-06-14 15:39:29 -04:00
..
ath ath9k: add new ANI implementation for AR9003 2010-06-14 15:39:29 -04:00
b43 b43: replace the ssb_dma API with the generic DMA API 2010-06-04 16:00:42 -04:00
b43legacy b43legacy: replace the ssb_dma API with the generic DMA API 2010-06-04 16:00:42 -04:00
hostap Revert "wireless: hostap, fix oops due to early probing interrupt" 2010-06-04 15:50:30 -04:00
ipw2x00 drivers/net/wireless/ipw2x00/ipw2100.c: Remove unnecessary kmalloc casts 2010-06-03 14:10:46 -04:00
iwlwifi iwlwifi: print warning about disconnected antennas 2010-06-14 11:00:47 -07:00
iwmc3200wifi wireless: fix several minor description typos 2010-06-02 16:13:18 -04:00
libertas libertas: Fix ethtool reporting no WOL options supported if WOL is not already active 2010-06-08 09:31:20 -04:00
libertas_tf drivers/net/wireless/libertas_tf: Use kmemdup 2010-06-02 16:13:10 -04:00
orinoco wireless: fix several minor description typos 2010-06-02 16:13:18 -04:00
p54 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-06-07 15:13:46 -04:00
prism54 drivers/net/wireless/prism54: Use memdup_user 2010-06-02 16:13:32 -04:00
rt2x00 rt2x00: Remove suspicious register write 2010-06-03 10:52:17 +02:00
rtl818x Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-11 14:24:55 -04:00
wl12xx wl1251: fix ELP_CTRL register reads 2010-06-08 09:31:21 -04:00
zd1211rw wireless: fix several minor description typos 2010-06-02 16:13:18 -04:00
adm8211.c
adm8211.h
airo_cs.c
airo.c
airo.h
at76c50x-usb.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig wireless: depends on NET 2010-05-10 14:56:49 -04:00
mac80211_hwsim.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-11 14:24:55 -04:00
Makefile
mwl8k.c mwl8k: use the dma state API instead of the pci equivalents 2010-06-02 16:02:53 -04:00
ray_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: increase assocbuf size and validate association info offsets from driver 2010-06-02 16:13:20 -04:00
wl3501_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
wl3501.h
zd1201.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
zd1201.h