freebsd-skq/sys/dev/ath/ath_hal
Adrian Chadd ce801478d2 Introduce an AR5416 flavour of the IFS and mac usec/timing configuration
used when running the chips in half/quarter rate.

This sets up some default parameters which are then overridden by the
driver (which manually configures things like slot timing at interface
start time.)

Although this is a copy-and-modify from the AR5212 HAL, I did peek
at the reference HAL and the ath9k driver to see what they did.
Ath9k in particular doesn't hard-code this - instead, their version
of ar5416InitUserSettings() does all of the relevant math.

TODO:

* do the math, not hard code things!
* fix the mac clock calculation for the AR9287; since it runs the
  MAC clock at a higher rate, requiring all the duration calculations
  to change;
* Do a whole lot more validation for half/quarter rates.

Obtained from:	Qualcomm Atheros, Linux ath9k
2012-09-13 07:22:40 +00:00
..
ah_regdomain These two are ath_hal regulatory domain updates from the Atheros 2011-07-20 12:46:58 +00:00
ar5210 Add default values for the NumTxMaps capability. 2012-08-24 07:35:18 +00:00
ar5211 Add default values for the NumTxMaps capability. 2012-08-24 07:35:18 +00:00
ar5212 AR5212 radar pulse fixes. 2012-09-02 04:56:29 +00:00
ar5312 Stop using the hardware register value byte order swapping for now, 2012-04-19 03:26:21 +00:00
ar5416 Introduce an AR5416 flavour of the IFS and mac usec/timing configuration 2012-09-13 07:22:40 +00:00
ar9001 Break out the "memory" EEPROM data read method from being AR9130 specific 2012-01-15 19:22:34 +00:00
ar9002 Migrate the AR9285 diversity configuration LNA configuration to use 2012-08-30 06:55:47 +00:00
ar9003 Add AR9380 devid HAL definitions and probe/attach strings. 2012-08-23 03:03:00 +00:00
ah_debug.h Extend the debugging flags to include some AR9300 HAL related options. 2012-07-09 06:41:18 +00:00
ah_decode.h Add a threadid to the ah_decode API. 2012-04-04 20:46:20 +00:00
ah_desc.h Extend the TX descriptor debug printing to be properly aware of 2012-08-19 02:22:16 +00:00
ah_devid.h Commit device IDs for the (eventually upcoming) AR9380 HAL. 2012-08-07 23:45:43 +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 Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
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 Replace Id keyword with FreeBSD keyword and set the svn props correctly. 2010-03-03 17:32:32 +00:00
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 bit - whether the hardware supports AR9285 style 2012-08-29 04:09:54 +00:00
ah_regdomain.c Fix a corner case in the HAL debugging changes, where ah was NULL. 2011-09-30 05:17:57 +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 Compensate for half/quarter rate differences in MAC clock speed. 2012-09-13 07:17:29 +00:00
ah.h Migrate the AR9285 diversity configuration LNA configuration to use 2012-08-30 06:55:47 +00:00