freebsd-skq/sys/contrib/dev/ath/ath_hal/ar9300
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
..
ar953x.ini
ar955x.ini
ar9300_aic.c
ar9300_ani.c [ath_hal] Return failure if noise floor calibration fails. 2018-06-08 18:21:57 +00:00
ar9300_aphrodite10.ini
ar9300_attach.c
ar9300_beacon.c
ar9300_devid.h
ar9300_eeprom.c
ar9300_freebsd_inc.h
ar9300_freebsd.c [ath_hal] Return failure if noise floor calibration fails. 2018-06-08 18:21:57 +00:00
ar9300_freebsd.h
ar9300_gpio.c
ar9300_interrupts.c
ar9300_jupiter10.ini
ar9300_jupiter20.ini
ar9300_keycache.c
ar9300_mci.c
ar9300_misc.c
ar9300_osprey22_scoemu.ini
ar9300_osprey22.ini
ar9300_paprd.c
ar9300_phy.c
ar9300_power.c
ar9300_radar.c
ar9300_radio.c
ar9300_raw_adc_capture.c
ar9300_recv_ds.c
ar9300_recv.c
ar9300_reset.c [ath_hal] Return failure if noise floor calibration fails. 2018-06-08 18:21:57 +00:00
ar9300_rtt.c
ar9300_sim.c
ar9300_sim.h
ar9300_spectral.c
ar9300_stub_funcs.c
ar9300_stub_funcs.h
ar9300_stub.c
ar9300_stub.h
ar9300_timer.c
ar9300_tx99_tgt.c
ar9300_txbf_cal.c
ar9300_txbf.c
ar9300_txbf.h
ar9300_xmit_ds.c
ar9300_xmit.c
ar9300.h [ath_hal] migrate the shared HAL_RESET_* pieces out into ath_hal. 2018-05-25 01:27:39 +00:00
ar9300desc.h
ar9300eep.h
ar9300paprd.h
ar9300phy.h
ar9300radar.h
ar9300reg.h
ar9300template_ap121.h
ar9300template_aphrodite.h
ar9300template_cus157.h
ar9300template_generic.h
ar9300template_hb112.h
ar9300template_hb116.h
ar9300template_osprey_k31.h
ar9300template_wasp_2.h
ar9300template_wasp_k31.h
ar9300template_xb112.h
ar9300template_xb113.h
ar9330_11.ini
ar9330_12.ini
ar9340.ini
ar9462_2p0_initvals.h
ar9462_2p1_initvals.h
ar9485_1_1.ini
ar9485.ini
ar9580.ini
eeprom.diff
osprey_reg_map_macro.h
osprey_reg_map.h
poseidon_reg_map_macro.h
scorpion_reg_map_macro.h
scorpion_reg_map.h
sources
wasp_reg_map.h