opnsense-src/sys/dev/ath
Adrian Chadd f9da901e77 Reset the NIC if ANI is enabled or disabled.
Although this may not be what the original sysctl was designed to do,
it feels a bit more "expected".

Before, if ANI is disabled, the initial ANI parameters are still written
to the hardware, even if they're not enabled. "ANI enabled" would then
adjust the noise immunity parameters dynamically. Disabling ANI would
simply leave the existing noise immunity parameters where they are,
and disable the dynamic part.

The problem is that disabling ANI doesn't leave the hardware in
a consistent, predictable state - so asking a user to disable ANI
wouldn't actually reset the NIC to a consistent set of PHY signal
detection parameters, resulting in an unpredictable/unreliable outcome.
This makes it difficult to get reliable debugging information from
the user.

Approved by:	re (kib)
2011-07-29 23:55:17 +00:00
..
ath_dfs/null Implement a basic radar parameter API in the dfs_null module. 2011-07-22 09:39:49 +00:00
ath_hal Modify the radar API a little to be easier to "change" via run-time 2011-07-21 14:16:42 +00:00
ath_rate Modify the sample rate control algorithm to only select/sample HT 2011-05-18 07:20:30 +00:00
ah_osdep.c Add a missing check for the global ath_hal_debug. 2011-07-14 23:30:30 +00:00
ah_osdep.h Fix AR5416 and later parts when building with AH_DEBUG or similar defined: 2009-07-06 20:51:54 +00:00
if_ath.c This links in the ath dfs ioctl into the driver and defines the 2011-07-21 14:25:12 +00:00
if_ath_ahb.c Fix ath_ahb(4) bus attach and eeprom error handling. 2011-06-13 04:31:57 +00:00
if_ath_debug.c Break out the debug macros from if_ath.c into if_ath_debug.[ch] . 2011-01-29 05:08:21 +00:00
if_ath_debug.h Break out the debug macros from if_ath.c into if_ath_debug.[ch] . 2011-01-29 05:08:21 +00:00
if_ath_keycache.c Break the keycache management functions out into if_ath_keycache.c . 2011-03-02 17:19:54 +00:00
if_ath_keycache.h Break the keycache management functions out into if_ath_keycache.c . 2011-03-02 17:19:54 +00:00
if_ath_misc.h Migrate the sysctl related routines (statistics, debugging, etc) out of 2011-03-02 16:03:19 +00:00
if_ath_pci.c Break out the ath PCI logic into a separate device/module. 2011-03-31 08:07:13 +00:00
if_ath_sysctl.c Reset the NIC if ANI is enabled or disabled. 2011-07-29 23:55:17 +00:00
if_ath_sysctl.h Break out most of the HAL related tweaks into a per-HAL instance, 2011-06-23 02:38:36 +00:00
if_ath_tx.c Add in HT protection but disable it by default. 2011-03-28 11:48:49 +00:00
if_ath_tx.h Migrate the TX path code out of if_ath and into a separate source file. 2011-01-29 11:35:23 +00:00
if_ath_tx_ht.c Enable setting the short-GI bit when TX'ing HT rates but only if the 2011-05-30 15:06:57 +00:00
if_ath_tx_ht.h The current code used the fields in ath_set11nratescenario() . Use them 2011-02-12 02:14:19 +00:00
if_athdfs.h A few changes to make radar detection implementable in a hal_dfs/ 2011-06-04 04:14:59 +00:00
if_athioctl.h This links in the ath dfs ioctl into the driver and defines the 2011-07-21 14:25:12 +00:00
if_athrate.h Add a new method to the rate control modules which extract out the 2011-02-01 08:10:18 +00:00
if_athvar.h Flesh out a new HAL method to fetch the radar PHY error frame information. 2011-06-07 09:03:28 +00:00