freebsd-nq/sys/dev/ath/ath_hal
Adrian Chadd 7fbcfe69e7 [ath_hal] [ath_hal_ar9300] ANI fixes and preparation for userland control.
* The ani function bitmap was being badly used when determining if a command
  could be used.  In hostap modes only a couple of the ANI control parameters
  are enabled.

* The ani function bitmap was not being reset to HAL_ANI_ALL if transitioning
  from AP -> STA.

* Change mrcCckOff to mrcCck - 1 == on, rather than 1 == off.  This matches
  the API used to set the value from userland via the diagnostic API.

* Handle OFDM/CCK noise immunity level commands in ar9300_ani_control().
  These will only come from userland and it will go and program the rest of
  the ANI control parameters with the values in the ANI table.

* Ensure all of the ANI parameters can be tweaked at runtime, even if they're
  disabled.

Tested:

* carambola2 (AR9331), STA/AP modes
2019-03-06 07:54:29 +00:00
..
ah_regdomain SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ar5210 SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ar5211 SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ar5212 [ath_hal] Don't do ANI processing if we've reset. 2018-06-08 18:15:23 +00:00
ar5312 SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ar5416 [ath_hal] Return failure if noise floor calibration fails. 2018-06-08 18:21:57 +00:00
ar9001 SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ar9002 SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ar9003 SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_btcoex.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_debug.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_decode.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_desc.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_devid.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_diagcodes.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_9287.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_9287.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v1.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v1.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v3.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v3.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v4k.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v4k.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v14.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v14.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_internal.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_regdomain.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_regdomain.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_soc.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah.h [ath_hal] [ath_hal_ar9300] ANI fixes and preparation for userland control. 2019-03-06 07:54:29 +00:00