freebsd-skq/sys/dev/ath/ath_hal
Adrian Chadd 8a97beff98 [ath_hal] Return failure if noise floor calibration fails.
If we fail noise floor calibration then we may end up with a deaf NIC
which we can't recover without a full chip reset.

Earlier chips seem to get less stuck in this condition versus AR9280/later
and AR9300/later, but whilst here just fix up the AR5212 era chips to also
return NF calibration failures.

This HAL routine would only return failure if the channel was not configured.

This is a no-op until the driver side code for doing resets and the HAL
code for being told about the reset type (and then handling it!) is
implemented.

Tested:

* AR9280, STA mode
* AR2425, STA mode
* AR9380, STA mode
2018-06-08 18:21:57 +00:00
..
ah_regdomain
ar5210
ar5211
ar5212 [ath_hal] Don't do ANI processing if we've reset. 2018-06-08 18:15:23 +00:00
ar5312
ar5416 [ath_hal] Return failure if noise floor calibration fails. 2018-06-08 18:21:57 +00:00
ar9001
ar9002
ar9003
ah_btcoex.h
ah_debug.h
ah_decode.h
ah_desc.h
ah_devid.h
ah_diagcodes.h
ah_eeprom_9287.c
ah_eeprom_9287.h
ah_eeprom_v1.c
ah_eeprom_v1.h
ah_eeprom_v3.c
ah_eeprom_v3.h
ah_eeprom_v4k.c
ah_eeprom_v4k.h
ah_eeprom_v14.c
ah_eeprom_v14.h
ah_eeprom.h
ah_internal.h
ah_regdomain.c
ah_regdomain.h
ah_soc.h
ah.c
ah.h [ath_hal] migrate the shared HAL_RESET_* pieces out into ath_hal. 2018-05-25 01:27:39 +00:00