Add three-stream EVM values.


git-svn-id: svn://svn.freebsd.org/base/head@248142 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Bump the EVM array size up to fit the AR9380 EVM entries.


git-svn-id: svn://svn.freebsd.org/base/head@248143 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a few new fields to the RX vendor radiotap header:

* a flags field that lets me know what's going on;
* the hardware ratecode, unmolested by conversion to a bitrate;
* the HAL rs_flags field, useful for debugging;
* specifically mark aggregate sub-frames.

This stuff sorely needs tidying up - it's missing some important
stuff (eg numdelims) and it would be nice to put the flags at the
beginning rather than at the end.

Tested:

* AR9380, STA mode, 2x2 HT40, monitoring RSSI and EVM values


git-svn-id: svn://svn.freebsd.org/base/head@248146 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Ports are no more exported via cvsup, remove cvsup examples and documentation refering to ports

MFC after:	2 days


git-svn-id: svn://svn.freebsd.org/base/head@248151 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Don't use an empty struct.


git-svn-id: svn://svn.freebsd.org/base/head@248153 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Reduce HPET eventtimer priority on systems with 8 or more cores.  Price of
the lock congestion may be too high there (2.5% on 4x4 core AMD Opteron).


git-svn-id: svn://svn.freebsd.org/base/head@248154 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Reinitialize eh after pfil(9) processing.

PR:		176764
Submitted by:	adri


git-svn-id: svn://svn.freebsd.org/base/head@248155 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove LIBALIAS_LOCK_ASSERT(), including a couple with an uninitialzed
argument, in code that isn't compiled in kernel.

PR:		kern/176667
Sponsored by:	Nginx, Inc.


git-svn-id: svn://svn.freebsd.org/base/head@248158 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix for quite a special case when userland emulates a netgraph node, and
userland can reply to a message with NGM_HASREPLY bit set. In this case
we should not wait for a response to a responce.

PR:		176771
Submitted by:	Keith Reynolds <keith.reynolds tidalscale.com>


git-svn-id: svn://svn.freebsd.org/base/head@248159 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix spelling.

PR:		176777
Submitted by:	Andrey Simonenko <simon comsys.ntu-kpi.kiev.ua>


git-svn-id: svn://svn.freebsd.org/base/head@248160 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix the 'C' field for a running thread to match the behavior described
in the manpage by having it display the current CPU (ki_oncpu) rather
than the previously used CPU (ki_lastcpu).  ki_lastcpu is still used for
all other thread states.

Reported by:	Chris Ross <cross+freebsd@distal.com>
MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@248167 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Disconnect files removed in r248151


git-svn-id: svn://svn.freebsd.org/base/head@248168 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add "else" missed at r248154.


git-svn-id: svn://svn.freebsd.org/base/head@248170 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Convert the offset into the bar that contains the MSI-X table to an offset
into the MSI-X table before using it to calculate the table index.

In the common case where the MSI-X table is located at the begining of the
BAR these two offsets are identical and thus the code was working by accident.

This change will fix the case where the MSI-X table is located in the middle
or at the end of the BAR that contains it.

Obtained from:	NetApp


git-svn-id: svn://svn.freebsd.org/base/head@248171 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Return an error if sctp_peeloff() fails because a socket can't be allocated.

MFC after: 3 days


git-svn-id: svn://svn.freebsd.org/base/head@248172 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for Optoelectronics USB barcode readers to uftdi(4).
Add entries for other Optoelectronics devices to usbdevs.

MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@248175 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix memory leak when one process send descriptor over UNIX domain socket,
but the other process exited before receiving it.


git-svn-id: svn://svn.freebsd.org/base/head@248176 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Take the inpcb rlock before calculating checksum, it was accidentally
moved in r191672.

Obtained from:	Yandex LLC
MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@248180 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Shift this over to a new location in contrib/, in preparation to push
this public.


git-svn-id: svn://svn.freebsd.org/base/head@248181 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use the correct antenna configuration variable here. "diversity" just
controls whether it's on or off.

Found by:	clang


git-svn-id: svn://svn.freebsd.org/base/head@248182 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f