freebsd-skq/sys/dev/ath
Adrian Chadd 8197f57e6a Don't delay updating the longcal timer - instead, update the longcal
flag immediately so it's only set once per longcal interval.

Without this, the current AR5416 code will continuously spam NF
calibrations during a periodic calibration if the longcal flag
is set. The longcal flag wouldn't be cleared until the calibration
method indicates that calibrations are "complete".

This drops the rate of NF calibration updates down from "once every
shortcal" (ie, every 100ms) during a periodic calibration, to only
once per "longcal" interval. Spamming NF calibrations every 100ms
caused some potentially horrific issues in noisy environments as
NF calibrations can take longer than 100ms and this spamming can
cause invalid NF calibration results to be read back - leading to
missed beacons, and thus leading to a stuck beacon situation.

Stuck beacons cause interface resets, which restart calibrations.
This means that the longcal calibration runs every 100ms (shortcal)
until all initial calibrations are completed. This spamming can then
cause the above issues which leads to stuck beacons, leading to
interface resets, etc, etc. Quite annoying.
2010-08-10 07:56:56 +00:00
..
ath_hal Bring over ar5416 inivals from Linux-2.6.34. 2010-08-10 07:48:13 +00:00
ath_rate purge HAL_TXSTAT_ALTRATE; you can figure this out by checking ts_finaltsi 2009-06-13 23:36:54 +00:00
ah_osdep.c Revert previous commit and add myself to the list of people who should 2009-09-08 13:19:05 +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_pci.c The module name convention is foo, not if_foo. 2009-05-15 17:02:11 +00:00
if_ath.c Don't delay updating the longcal timer - instead, update the longcal 2010-08-10 07:56:56 +00:00
if_athioctl.h add SIOCZATHSTATS ioctl to zero driver statistics 2009-02-13 05:38:03 +00:00
if_athrate.h now that the new association callback is used when joining a bss we can 2008-10-27 16:58:06 +00:00
if_athvar.h Add multicast key search support. This fixes corrupted mcast packets 2010-02-08 20:23:20 +00:00