freebsd-skq/sys/dev/ath/ath_hal/ar5212
Adrian Chadd e875139a4f Fix ANI handling to work correctly when (trying) to receive radar errors.
* Teach the AR5212/AR5416 ANI code to use the RX filter methods, rather
  than calling the RX filter routines directly.

* Make HAL_ANI_PRESENT and HAL_ANI_MODE unconditionally available,
  regardless of whether ah_ani_function is masking it.

* (Mostly) fully disable ANI if interference mitigation is disabled.
  When disabled, the ANI code doesn't touch any ANI/PHY registers,
  leaving them the default value. This is in line with what the
  Atheros reference driver does.

* Correctly set the ANI parameters during ANI reset, rather than
  when ANI is enabled. In this way, if ANI is disabled or enabled
  whilst the NIC is not active (and there's no current channel),
  bogus parameters or a NULL pointer deference doesn't occur.

There's still some lingering issues - notably, the MIB events/interrupts
aren't fully disabled, so MIB interrupts still occur. I'll worry about
that later.

Approved by:	re (kib)
2011-07-30 13:30:24 +00:00
..
ar2316.c Overhaul regulatory support: 2009-01-28 18:00:22 +00:00
ar2317.c Overhaul regulatory support: 2009-01-28 18:00:22 +00:00
ar2413.c Overhaul regulatory support: 2009-01-28 18:00:22 +00:00
ar2425.c Add PCIE power control api: 2009-02-24 01:07:06 +00:00
ar5111.c Overhaul regulatory support: 2009-01-28 18:00:22 +00:00
ar5112.c Re-introduce a global ath_hal_debug again for now, whilst I figure out what 2011-06-23 06:55:29 +00:00
ar5212_ani.c Fix ANI handling to work correctly when (trying) to receive radar errors. 2011-07-30 13:30:24 +00:00
ar5212_attach.c Re-introduce a global ath_hal_debug again for now, whilst I figure out what 2011-06-23 06:55:29 +00:00
ar5212_beacon.c Fix indenting issues introduced by the previous commit. 2011-06-23 06:53:13 +00:00
ar5212_eeprom.c Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ar5212_gpio.c 5416 and later parts mux the gpio outputs; extend the api to include 2009-02-24 00:12:16 +00:00
ar5212_interrupts.c Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
ar5212_keycache.c Fix the keycache behaviour for multicast keycache search. 2011-02-09 15:23:16 +00:00
ar5212_misc.c Since HAL_PHYERR_* is used in the radar code, always include ah_desc.h. 2011-06-07 14:00:47 +00:00
ar5212_phy.c o eliminate a << in calculating the tx time for turbo mode by pre-multiplying 2009-04-13 21:01:08 +00:00
ar5212_power.c Add support for the AR9285 chipset, which is found on many netbooks 2010-01-29 10:10:14 +00:00
ar5212_recv.c Add some more OS_MARK probes to the RX DMA setup/teardown code path. 2011-04-07 13:14:51 +00:00
ar5212_reset.c The Atheros AR71xx CPUs, when paired with the AR5212 parts, has a bug 2010-05-01 16:36:14 +00:00
ar5212_rfgain.c eliminate gainFCorrection; just have ar5212GetGainFCorrection return 2009-02-05 21:13:31 +00:00
ar5212_xmit.c Break out most of the HAL related tweaks into a per-HAL instance, 2011-06-23 02:38:36 +00:00
ar5212.h Flesh out a new HAL method to fetch the radar PHY error frame information. 2011-06-07 09:03:28 +00:00
ar5212.ini Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ar5212desc.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ar5212phy.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ar5212reg.h Bring over the relevant registers to use when implementing the quiet time 2011-06-03 07:27:53 +00:00
ar5311reg.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ar5413.c Add PCIE power control api: 2009-02-24 01:07:06 +00:00