freebsd-skq/sys/dev/ath/ath_hal
adrian 08e0a0c638 Import some initial Kite fixed diversity code from Atheros.
For now, the diversity settings are controlled by 'txantenna',
-not- rxantenna. This is because the earlier chipsets had
controllable TX diversity; the RX antenna setting twiddles
the default antenna register. I'll try sort that stuff out at
some point.

Call the antenna switch function from the board setup function
so scans, channel changes, mode changes, etc don't set the
diversity back to a default state too far from what's intended.

Things to todo:

* Squirrel away the last antenna diversity/combining parameters
  and restore them during board setup if HAL_ANT_VARIABLE is
  defined. That way scans, etc don't reset the diversity settings.

* Add some more public facing statistics, rather than what's
  simply logged under HAL_DEBUG_DIVERSITY.

For now, the fixed antenna settings behave better than variable
settings for me. I have some further fiddling to do..

Obtained from:	Atheros
2011-05-09 15:19:49 +00:00
..
ah_regdomain Migrate the regulatory database definitions into separate header files 2011-03-10 03:13:56 +00:00
ar5210 Add a HAL capability bit for supporting self-linked RX descriptors and disable it for the 11n chipsets. 2011-04-04 14:52:31 +00:00
ar5211 Add a HAL capability bit for supporting self-linked RX descriptors and disable it for the 11n chipsets. 2011-04-04 14:52:31 +00:00
ar5212 Add some more OS_MARK probes to the RX DMA setup/teardown code path. 2011-04-07 13:14:51 +00:00
ar5312 Include the initial support for external EEPROMs. 2011-01-20 07:56:09 +00:00
ar5416 * Add AR_SREV_KITE macro for later use 2011-05-08 15:25:22 +00:00
ar9001 Do a HAL capabilities sync pass based on the Atheros HAL. 2011-05-07 15:30:23 +00:00
ar9002 Import some initial Kite fixed diversity code from Atheros. 2011-05-09 15:19:49 +00:00
ah_debug.h Some BB hang changes: 2011-05-07 06:45:35 +00:00
ah_decode.h Add some more OS_MARK probes to the RX DMA setup/teardown code path. 2011-04-07 13:14:51 +00:00
ah_desc.h Extend the RX descriptor block to include two more EVM words. 2011-04-08 06:29:41 +00:00
ah_devid.h Introduce AR9130 (HOWL) WMAC support to the FreeBSD HAL. 2011-04-28 12:47:40 +00:00
ah_diagcodes.h Reserve a new diagnostic code for the channel survey code I'll add soon. 2011-03-19 14:37:13 +00:00
ah_eeprom_v1.c Don't shadow the global variable 'version'. 2010-05-29 16:10:07 +00:00
ah_eeprom_v1.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah_eeprom_v3.c Revert previous commit and add myself to the list of people who should 2009-09-08 13:19:05 +00:00
ah_eeprom_v3.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah_eeprom_v4k.c Fix the Atheros V4K EEPROM definitions to match those in ath9k. 2011-01-25 05:35:09 +00:00
ah_eeprom_v4k.h Bring over a pdadc calibration fix from ath9k - unused power detector 2011-04-22 10:57:46 +00:00
ah_eeprom_v14.c Introduce AR9130 (HOWL) WMAC support to the FreeBSD HAL. 2011-04-28 12:47:40 +00:00
ah_eeprom_v14.h These EEPROM bits actually defined whether HT/20 and HT/40 support 2011-05-08 08:18:30 +00:00
ah_eeprom.h Introduce the Merlin PWDCLKIND workaround. 2011-03-10 02:09:06 +00:00
ah_internal.h Fix the 5ghz fast clock logic. 2011-05-08 15:55:52 +00:00
ah_regdomain.c Migrate the regulatory database definitions into separate header files 2011-03-10 03:13:56 +00:00
ah_regdomain.h Migrate the regulatory database definitions into separate header files 2011-03-10 03:13:56 +00:00
ah_soc.h Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
ah.c Do a HAL capabilities sync pass based on the Atheros HAL. 2011-05-07 15:30:23 +00:00
ah.h Do a HAL capabilities sync pass based on the Atheros HAL. 2011-05-07 15:30:23 +00:00