freebsd-dev/sys
Adrian Chadd 0eb8162623 Pause and unpause the software queues for a given node based on the
net80211 node power save state.

* Add an ATH_NODE_UNLOCK_ASSERT() check
* Add a new node field - an_is_powersave
* Pause/unpause the queue based on the node state
* Attempt to handle net80211 concurrency issues so the queue
  doesn't get paused/unpaused more than once at a time from
  the net80211 power save code.

Whilst here (and breaking my usual rule), set CLRDMASK when a queue
is unpaused, regardless of whether the queue has some pending traffic.
This means the first frame from that TID (now or later) will hvae
CLRDMASK set.

Also whilst here, bump the swretrymax counters whenever the
filtered frames code expires a frame.  Again, breaking my rule, but
this is just a statistics thing rather than a functional change.

This doesn't fix ps-poll (but it doesn't break it too much worse
than it is at the present) or correcting the TID updates.
That's next on the list.

Tested:
	* AR9220 AP (Atheros AP96 reference design)
	* Macbook Pro and LG Optimus 1 Android phone, both setting
	  and clearing power save state (but not using PS-POLL.)
2012-10-03 23:23:45 +00:00
..
amd64 - Re-shuffle the <machine/pc/bios.h> headers to move all kernel-specific 2012-09-28 11:59:32 +00:00
arm Support kernel options from ubldr. 2012-10-01 14:56:48 +00:00
boot Replace all references to loader_callbacks_v1 with loader_callbacks. 2012-10-03 17:20:34 +00:00
bsm
cam Change queue overflow checks from DIAGNOSTIC+panic() to KASSERT() to make 2012-09-28 12:13:34 +00:00
cddl Merge recent vendor changes in ZFS. 2012-09-26 09:37:58 +00:00
compat Fix the mis-handling of the VV_TEXT on the nullfs vnodes. 2012-09-28 11:25:02 +00:00
conf Improve the check for p4 opened files. 2012-09-22 07:44:36 +00:00
contrib Fix pseudo checksum calculation. 2012-09-27 18:15:01 +00:00
crypto
ddb
dev Pause and unpause the software queues for a given node based on the 2012-10-03 23:23:45 +00:00
fs Fix the mis-handling of the VV_TEXT on the nullfs vnodes. 2012-09-28 11:25:02 +00:00
gdb
geom Remove the topology lock from disk_gone(), it might be called with regular 2012-09-28 08:22:51 +00:00
gnu/fs Add VFCF_READONLY flag that indicates ntfs and xfs file systems are 2012-09-12 03:42:52 +00:00
i386 Add the mps(4) driver to the i386 GENERIC config file. LSI has tested it 2012-10-01 21:42:32 +00:00
ia64 Eliminate a stale comment. It describes another use case for the pmap in 2012-09-28 05:30:59 +00:00
isa
kern Fix faulty error code handling in read(2) on TTYs. 2012-10-03 13:51:03 +00:00
kgssapi
libkern s/ is is / is /g 2012-09-14 22:00:03 +00:00
mips Reimplement pmap_qremove() using the new TLB invalidation function for 2012-10-03 05:42:15 +00:00
modules Add TRIM support. 2012-09-23 19:40:58 +00:00
net Cast through void * to silence compiler warning 2012-10-03 21:41:20 +00:00
net80211 Migrate the power-save functions to be overridable VAP methods. 2012-10-02 17:45:19 +00:00
netatalk
netgraph The USB Bluetooth driver should only grab its own interfaces. This allows the 2012-09-30 19:31:20 +00:00
netinet There is a complex race in in_pcblookup_hash() and in_pcblookup_group(). 2012-10-02 12:03:02 +00:00
netinet6 Merge the projects/pf/head branch, that was worked on for last six months, 2012-09-08 06:41:54 +00:00
netipsec Add missing break 2012-09-18 08:00:43 +00:00
netipx
netnatm
netncp Add characters mapping for codepages used in Germany. 2012-06-01 03:59:08 +00:00
netpfil To reduce volume of pfsync traffic: 2012-10-02 12:44:46 +00:00
netsmb Change a duplicated check to clarify that we really want to set a 2012-07-10 21:02:59 +00:00
nfs - Typo fix 2012-08-16 19:22:34 +00:00
nfsclient Do not leave invalid pages in the object after the short read for a 2012-08-14 11:45:47 +00:00
nfsserver Fix the mis-handling of the VV_TEXT on the nullfs vnodes. 2012-09-28 11:25:02 +00:00
nlm Fix grammar. 2012-08-16 13:01:56 +00:00
ofed The drbr(9) API appeared to be so unclear, that most drivers in 2012-09-28 18:28:27 +00:00
opencrypto
pc98 MFi386: revision 237445 2012-09-23 09:13:57 +00:00
pci
powerpc Eliminate a stale comment. It describes another use case for the pmap in 2012-09-28 05:30:59 +00:00
rpc libtirpc: be sure to free cl_netid and cl_tp 2012-10-02 19:10:19 +00:00
security
sparc64 Eliminate a stale comment. It describes another use case for the pmap in 2012-09-28 05:30:59 +00:00
sys - Enforce CAP_MKFIFO on mkfifoat(2), not on mknodat(2). Without this change 2012-10-01 05:43:24 +00:00
teken
tools
ufs Fix up kernel sources to be ready for a 64-bit ino_t. 2012-09-27 23:30:49 +00:00
vm Tidy up a bit: 2012-10-03 05:06:45 +00:00
x86 Add missing header needed by free(9). 2012-09-30 15:42:20 +00:00
xdr
xen
Makefile