freebsd-skq/sys
adrian 0aa13972fd Fix hangs (exposed by spectral scan activity) in STA mode when the
chip hangs.

* Always do a reset in ath_bmiss_proc(), regardless of whether the
  hardware is "hung" or not.  Specifically, for spectral scan, there's
  likely a whole bunch of potential hangs that we don't (yet) recognise
  in the HAL.  So to avoid staying RX deaf persisting until the station
  disassociates, just do a no-loss reset.

* Set sc_beacons=1 in STA mode.  During a reset, the beacon programming
  isn't done.  (It's likely I need to set sc_syncbeacons during a hang
  reset, but I digress.)  Thus after a reset, there's no beacon timer
  programming to send a BMISS interrupt if beacons aren't heard ..
  thus if the AP disappears, you won't get notified and you'll have to
  reset your interface.

This hasn't yet fixed all of the hangs that I've seen when debugging
spectral scan, but it's certainly reduced the hang frequency and it
should improve general STA stability in very noisy environments.

Tested:

* AR9280, STA mode, spectral scan off/on

PR:		kern/175227
2013-01-17 16:43:59 +00:00
..
amd64 Add VirtIO to the i386 and amd64 GENERIC kernels 2013-01-13 07:14:16 +00:00
arm * Correct KINFO_PROC_SIZE for ARM EABI. 2013-01-17 09:52:35 +00:00
boot Initial support for Allwinner A10 SoC (Cubieboard) 2013-01-15 08:26:16 +00:00
bsm Merge OpenBSM 1.2-alpha2 changes from contrib/openbsm to 2012-12-01 13:46:37 +00:00
cam - Add missig xpt_schedule() call for cases when requested immediate CCB 2013-01-11 19:11:56 +00:00
cddl MFV r245510: 2013-01-16 22:59:50 +00:00
compat Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
conf Add the required __aeabi_* functions the kernel uses when built for ARM EABI 2013-01-17 09:37:42 +00:00
contrib Use the right USB clock type on the EdgeRouter Lite. This fixes USB. 2013-01-02 23:29:54 +00:00
crypto Revert previous commit... 2012-10-10 08:36:38 +00:00
ddb Small textdump enhancements. 2012-11-01 04:07:08 +00:00
dev Fix hangs (exposed by spectral scan activity) in STA mode when the 2013-01-17 16:43:59 +00:00
fs Use the VA_UTIMES_NULL flag to detect when NULL was passed to utimes() 2013-01-16 21:52:31 +00:00
gdb
geom - Fix rebuild position broken at r245522. 2013-01-17 03:27:08 +00:00
gnu/fs r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00
i386 Add VirtIO to the i386 and amd64 GENERIC kernels 2013-01-13 07:14:16 +00:00
ia64 Remove firewire devices missed in r244992. 2013-01-04 15:29:50 +00:00
isa
kern Do not autotune ncallout to be greater than 18508. 2013-01-15 19:26:17 +00:00
kgssapi Piete.Brooks at cl.cam.ac.uk reported via email a crash which was 2012-12-18 00:25:48 +00:00
libkern Add the required __aeabi_* functions the kernel uses when built for ARM EABI 2013-01-17 09:37:42 +00:00
mips Partially merge Perforce changeset 219938 to head: 2013-01-13 16:27:56 +00:00
modules cxgbe(4): Updates to the hardware L2 table management code. 2013-01-14 20:36:22 +00:00
net - Add dashes before copyright notices. 2013-01-07 19:36:11 +00:00
net80211 Remove the use of the ifnet send queue and if_start() in the power 2013-01-15 17:50:07 +00:00
netatalk Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netgraph Use DEVMETHOD_END, as suggested by hselasky@. 2012-12-26 19:14:21 +00:00
netinet Don't drop options from the third retransmitted SYN by default. If the 2013-01-09 20:27:06 +00:00
netinet6 Simplify in6_setscope() function to get better performance. 2013-01-10 00:10:24 +00:00
netipsec Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netipx Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netnatm Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netncp Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netpfil In netpfil/pf: 2012-12-28 09:19:49 +00:00
netsmb Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
nfs Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
nfsclient Use the VA_UTIMES_NULL flag to detect when NULL was passed to utimes() 2013-01-16 21:52:31 +00:00
nfsserver Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
nlm Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
ofed Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
opencrypto Revert previous commit... 2012-10-10 08:36:38 +00:00
pc98 MFi386: Make similar changes that were made to atkbdc in r245315. 2013-01-11 23:42:24 +00:00
pci Add D-Link DFE-520TX rev C1. 2013-01-16 01:30:46 +00:00
powerpc Enable the UFS quotas for big-iron GENERIC kernels. 2013-01-03 19:03:41 +00:00
rpc Add support for backchannels to the kernel RPC. Backchannels 2012-12-08 00:29:16 +00:00
security Four .c files from OpenBSM are used, in modified form, by the kernel to 2012-12-15 15:21:09 +00:00
sparc64 Revert bogus part of r241740. 2013-01-03 23:12:08 +00:00
sys Rearrange the struct bufobj and struct vnode layouts to reduce 2013-01-14 05:46:49 +00:00
teken
tools Fix build on ARM (and probably other platforms) 2012-12-28 06:52:53 +00:00
ufs Add flags argument to vfs_write_resume() and remove 2013-01-11 06:08:32 +00:00
vm - Get rid of unused function vmspace_wired_count(). 2013-01-14 12:12:56 +00:00
x86 Add macros required to enable VMX operation on Intel processors. 2013-01-05 04:20:14 +00:00
xdr
xen Move the corresponding MTX_SYSINIT() next to their struct mtx declaration 2012-10-26 17:31:35 +00:00
Makefile Run cscope with the -v parameter to make it more user-friendly. 2012-12-02 20:51:24 +00:00