freebsd-skq/sys/dev/ath
Adrian Chadd f50e4ebf6a ath(4): begin fleshing out a "reset type" extension to force cold/warn resets.
Right now the only way to force a cold reset is:

* The HAL itself detects it's needed, or
* The sysctl, setting all resets to be cold.

Trouble is, cold resets take quite a bit longer than warm resets.

However, there are situations where a cold reset would be nice.
Specifically, after a stuck beacon, BB/MAC hang, stuck calibration results,
etc.

The vendor HAL has a separate method to set the reset reason (which is
how HAL_RESET_BBPANIC gets set) which informs the HAL during the reset path
why it occured.  This is almost but not quite the same; I may eventually
unify both approaches in the future.

This commit just extends HAL_RESET_TYPE to include both status (eg BBPANIC)
and type (eg do COLD.)  None of the HAL code uses it yet though;  that'll
come later.

It also is a big no-op in each HAL - I need to go teach each of the HALs
about cold/warm reset through this path.
2015-11-09 15:59:42 +00:00
..
ath_dfs/null The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
ath_hal ath(4): begin fleshing out a "reset type" extension to force cold/warn resets. 2015-11-09 15:59:42 +00:00
ath_rate Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
ah_osdep.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
ah_osdep.h
if_ath_ahb.c Remove the references to the TX IC lock - i ended up solving this 2015-09-29 03:37:17 +00:00
if_ath_alq.c
if_ath_alq.h
if_ath_beacon.c net80211: drop ieee80211_beacon_offsets parameter from ieee80211_beacon_alloc() and ieee80211_beacon_update() 2015-10-03 22:12:25 +00:00
if_ath_beacon.h Bring over some initial power save management support, reset path 2014-04-30 02:19:41 +00:00
if_ath_btcoex.c Until there's a full MCI implementation - just implement a placeholder 2015-01-17 00:02:18 +00:00
if_ath_btcoex.h
if_ath_debug.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
if_ath_debug.h Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
if_ath_keycache.c net80211: drop redundant 3rd parameter from iv_key_set(). 2015-10-03 21:48:27 +00:00
if_ath_keycache.h net80211: drop redundant 3rd parameter from iv_key_set(). 2015-10-03 21:48:27 +00:00
if_ath_led.c Bring over some initial power save management support, reset path 2014-04-30 02:19:41 +00:00
if_ath_led.h
if_ath_lna_div.c Add initial support for the AR9485 CUS198 / CUS230 variants. 2014-09-30 03:19:29 +00:00
if_ath_lna_div.h
if_ath_misc.h Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
if_ath_pci_devlist.h Add a missing file from the last commit. 2014-09-30 05:50:34 +00:00
if_ath_pci.c Remove the references to the TX IC lock - i ended up solving this 2015-09-29 03:37:17 +00:00
if_ath_rx_edma.c Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
if_ath_rx_edma.h
if_ath_rx.c Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
if_ath_rx.h Begin plumbing ieee80211_rx_stats through the receive path. 2015-05-25 16:37:41 +00:00
if_ath_spectral.c The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
if_ath_spectral.h
if_ath_sysctl.c Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
if_ath_sysctl.h
if_ath_tdma.c net80211: include one copy of struct ieee80211_beacon_offsets into ieee80211vap 2015-09-22 06:34:07 +00:00
if_ath_tdma.h
if_ath_tsf.h
if_ath_tx_edma.c Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
if_ath_tx_edma.h
if_ath_tx_ht.c
if_ath_tx_ht.h
if_ath_tx.c net80211: move ieee80211_free_node() call on error from ic_raw_xmit() to ieee80211_raw_output(). 2015-10-12 04:55:20 +00:00
if_ath_tx.h net80211: separate mbuf cleanup from ieee80211_fragment() 2015-10-12 03:27:08 +00:00
if_ath.c ath(4): begin fleshing out a "reset type" extension to force cold/warn resets. 2015-11-09 15:59:42 +00:00
if_athdfs.h
if_athioctl.h
if_athrate.h
if_athvar.h ath(4): begin fleshing out a "reset type" extension to force cold/warn resets. 2015-11-09 15:59:42 +00:00