freebsd-nq/sys
Adrian Chadd 339503ab41 (more) correctly account TX completion status for A-MPDU session frames.
The rules turn out to be:

* for non-aggregation session TX queues - it's either sent or not sent.
* for aggregation session TX queues - if nframes=1, then the status reflects
  the completed transmission.
* however, for nframes > 1, then this is just a status reflecting what
  the initial transmission did.  The compressed BA (immediate or delayed)
  may not have yet been received, so the actual frame status is in the
  compressed BA updates.

Whilst here, I fiddled with debugging and formatting a bit.

There's also RTS attempts (what the atheros chips call "short retries")
which weren't being logged and they aren't yet being used in the rate
control statistics updates.  For now, at least log them.

TODO:

* This still isn't 100% correct! So I have to tinker with this some more.
  (The failures aren't always failures..)
* Extend the rate control API in net80211 so it can take both short and
  long retry counts.

Tested:

* Intel 5100, STA mode
2014-09-08 03:16:28 +00:00
..
amd64 Create a separate structure for per-CPU state saved across suspend and 2014-09-06 15:23:28 +00:00
arm When entering the kernel with the MMU off assume we are running from a 2014-09-07 21:46:54 +00:00
boot Add FPGA Manager driver. This driver allows to program FPGA core 2014-09-06 08:48:57 +00:00
bsm IFp4 @1192291: 2014-04-07 20:44:00 +00:00
cam Add a few defines and packet types for SATA 3.2 and FPDMA (First Party 2014-08-30 02:13:04 +00:00
cddl MFV r271223: 2014-09-07 13:13:42 +00:00
compat Add missing proctree locking to fill_kinfo_proc consumers. 2014-08-30 03:10:55 +00:00
conf Add support for gdb's memory searching capabilities to our in-kernel gdb 2014-09-05 16:40:47 +00:00
contrib Add iwn-100 firmware. 2014-08-28 00:05:02 +00:00
crypto Put the aesni_cipher_setup() and aesni_cipher_process() functions into 2014-06-24 06:55:49 +00:00
ddb ins is only set and unused, but only when we're not doing software 2014-08-14 16:01:51 +00:00
dev (more) correctly account TX completion status for A-MPDU session frames. 2014-09-08 03:16:28 +00:00
fs Garbage collect NFSMINOFF() from the NFS stack; this unused macro replicates 2014-09-05 17:05:51 +00:00
gdb Add support for gdb's memory searching capabilities to our in-kernel gdb 2014-09-05 16:40:47 +00:00
geom use a straight buffer instead of an iov w/ 1 segment... The aesni 2014-09-04 23:53:51 +00:00
gnu Merge forgotten .h files from vendor branch. 2014-09-05 02:21:45 +00:00
i386 Create a separate structure for per-CPU state saved across suspend and 2014-09-06 15:23:28 +00:00
isa Remove vestiges of knowing the ISA bus, which we gave up on around 20 2014-03-19 21:03:04 +00:00
kern Fix for r271182. 2014-09-07 05:44:14 +00:00
kgssapi
libkern Add support for gdb's memory searching capabilities to our in-kernel gdb 2014-09-05 16:40:47 +00:00
mips Remove redundant kern conf entries that are inherited via include 2014-09-07 20:27:48 +00:00
modules Silence a bmake(1) warning in the gif(4) module build 2014-09-08 02:37:45 +00:00
net Clean up unused CSUM_FRAGMENT. 2014-09-03 08:30:18 +00:00
net80211 After much toying around with this AMRR initial rate stuff, 2014-08-20 09:10:03 +00:00
netgraph Remove any stale mbuf tags from packets being injected into a netgraph 2014-07-01 07:54:12 +00:00
netinet Address warnings generated by the clang analyzer. 2014-09-07 18:05:37 +00:00
netinet6 Use union sctp_sockstore instead of struct sockaddr_storage. This 2014-09-07 09:06:26 +00:00
netipsec Change pr_output's prototype to avoid the need for explicit casts. 2014-08-15 02:43:02 +00:00
netnatm
netpfil Clean up unused CSUM_FRAGMENT. 2014-09-03 08:30:18 +00:00
netsmb Remove redundant unlock. 2014-04-17 12:22:08 +00:00
nfs Fix/improve fhe_stats sysctl output. 2014-06-14 12:26:12 +00:00
nfsclient
nfsserver Change NFS readdir() to only ignore cookies preceding the given offset for 2014-07-01 20:00:35 +00:00
nlm Correct a typo in nlm_find_host_by_addr(): the intention of the 2014-03-11 00:25:55 +00:00
ofed Forward declare struct kiocb, which is only used for an unsued function 2014-08-29 14:47:05 +00:00
opencrypto allow the kern.cryptodevallowsoft sysctl to enable symetric/hashes too... 2014-03-11 01:45:46 +00:00
pc98 - Move prototypes for various functions into out of C files and into 2014-09-04 01:46:06 +00:00
pci Fix various NIC drivers to properly cleanup static DMA resources. 2014-06-11 14:53:58 +00:00
powerpc Rename OF_xref_phandle() to OF_node_from_xref() and add a new function 2014-09-01 18:51:01 +00:00
rpc Merge the NFSv4.1 server code in projects/nfsv4.1-server over 2014-07-01 20:47:16 +00:00
security Replace dev_clone with cdevpriv(9) KPI in audit_pipe code. 2014-08-20 16:04:30 +00:00
sparc64 Create a separate structure for per-CPU state saved across suspend and 2014-09-06 15:23:28 +00:00
sys Clarify a diagnostic printf() in the mbuf code: M_EXT doesn't necessarily 2014-09-05 16:46:28 +00:00
teken
tools Allow the make_dtb script to work outside of a "make buildkernel" context 2014-08-30 22:39:15 +00:00
ufs Direct access to the quota files, in particular, lookup, causes lock 2014-08-29 09:04:24 +00:00
vm Oops. vm_map_simplify_entry() is used by mac_proc_vm_revoke_recurse(), so 2014-09-08 02:25:01 +00:00
x86 Add a define for index of IA32_XSS MSR, which is, per SDM rev. 50, an 2014-09-06 19:47:37 +00:00
xdr
xen xen: implement event channel PIRQ support 2014-08-04 08:42:29 +00:00
Makefile Remove ia64. 2014-07-07 00:27:09 +00:00