freebsd-nq/sys/dev/ath/ath_hal
Adrian Chadd 216ca2346f Migrate the LNA mixing diversity machinery from the AR9285 HAL to the driver.
The AR9485 chip and AR933x SoC both implement LNA diversity.
There are a few extra things that need to happen before this can be
flipped on for those chips (mostly to do with setting up the different
bias values and LNA1/LNA2 RSSI differences) but the first stage is
putting this code into the driver layer so it can be reused.

This has the added benefit of making it easier to expose configuration
options and diagnostic information via the ioctl API.  That's not yet
being done but it sure would be nice to do so.

Tested:

* AR9285, with LNA diversity enabled
* AR9285, with LNA diversity disabled in EEPROM
2013-06-12 14:52:57 +00:00
..
ah_regdomain Add new regulatory domain. 2013-03-24 04:42:56 +00:00
ar5210 Begin adding support to explicitly set the current chainmask. 2013-02-25 22:42:43 +00:00
ar5211 Begin adding support to explicitly set the current chainmask. 2013-02-25 22:42:43 +00:00
ar5212 Begin adding support to explicitly set the current chainmask. 2013-02-25 22:42:43 +00:00
ar5312 Stop using the hardware register value byte order swapping for now, 2012-04-19 03:26:21 +00:00
ar5416 Add bluetooth fixes to the AR5416/AR92xx HAL: 2013-06-07 05:17:58 +00:00
ar9001 Use the TPC bank by default for AR9160. 2013-04-17 07:22:23 +00:00
ar9002 Migrate the LNA mixing diversity machinery from the AR9285 HAL to the driver. 2013-06-12 14:52:57 +00:00
ar9003 Add device identification and probe/attach support for the QCA9565. 2013-05-02 00:59:39 +00:00
ah_debug.h HAL additions to enable MCI Bluetooth coexistence in the AR9300 HAL. 2013-04-05 07:41:47 +00:00
ah_decode.h Add a threadid to the ah_decode API. 2012-04-04 20:46:20 +00:00
ah_desc.h Document the AR9285/AR9485 LNA configuration information that's 2013-06-05 00:39:20 +00:00
ah_devid.h Add device identification and probe/attach support for the QCA9565. 2013-05-02 00:59:39 +00:00
ah_diagcodes.h Add some more diagnostic codes. 2012-08-24 00:17:39 +00:00
ah_eeprom_9287.c Move this magic check to only occur if no eeprom data is given. 2012-08-26 04:26:49 +00:00
ah_eeprom_9287.h Make sure the extended regdomain word is initialised. 2011-06-28 00:01:55 +00:00
ah_eeprom_v1.c Fix the eeprom set API method to return HAL_STATUS. 2011-05-14 15:12:02 +00:00
ah_eeprom_v1.h
ah_eeprom_v3.c Fix the eeprom set API method to return HAL_STATUS. 2011-05-14 15:12:02 +00:00
ah_eeprom_v3.h
ah_eeprom_v4k.c "Upgrade" the AR9285 code to support PCI/ART EEPROM on flash. 2012-04-20 21:56:13 +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 the FRAC_5G EEPROM parameter. 2011-07-30 13:45:12 +00:00
ah_eeprom_v14.h Introduce the FRAC_5G EEPROM parameter. 2011-07-30 13:45:12 +00:00
ah_eeprom.h Bring over some new EEPROM regulatory domain flags. 2012-08-24 01:14:00 +00:00
ah_internal.h Add a new capability flag to announce that the chip implements LNA mixing 2013-06-05 00:42:04 +00:00
ah_regdomain.c Add XC900 SKU mapping. 2012-12-07 06:38:30 +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
ah.c Add a new capability flag to announce that the chip implements LNA mixing 2013-06-05 00:42:04 +00:00
ah.h Migrate the LNA mixing diversity machinery from the AR9285 HAL to the driver. 2013-06-12 14:52:57 +00:00