1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Adrian Chadd 54991f37c9 Attempt to make 5GHz HT/40 work on the 6xxx series NICs.
The 6205 (Taylor Peak) in the Lenovo X230 works fine in 5GHz 11a and 11n HT20,
but not 11n HT40.  The NIC goes RX deaf the moment HT40 is configured.
It's so RX deaf that it doesn't even hear beacons and the firmware sends
"BEACON MISS" events.  That's pretty deaf.

I tried configuring up the HT40 flags in monitor mode and it worked - so
I assumed that doing the transition from 20 -> 40MHz channel configuration
when going auth->assoc (ie, after the NIC has been partially configured)
is a problem.

So for now, let's just always set them if they're available.

Tested:

* Intel 5300, STA mode, 5GHz HT/40 AP; 2GHz HT/20 AP
* Intel 6205, STA mode, 5GHz HT/40, HT20, 11a AP; 2GHz HT/20 AP

This was pointed out to me by coworkers trying to use FreeBSD-HEAD
in the office on their Thinkpad T420p laptops.

TODO:

* I don't like how the HT40 flags are configured - the whole interop/
  protection config should be re-checked.  Notably, I think curhtprotmode
  is 0 in a lot of cases, which means "no interoperability" and i think
  that's busted.

Sponsored by:	Norse Corp, Inc.
2015-07-07 03:51:29 +00:00
bin mv: Improve message when moving two or more files to non-directory. 2015-06-28 21:36:00 +00:00
cddl First cut of DTrace for AArch64. 2015-07-01 15:51:11 +00:00
contrib Update for sendmail 8.15.2 import 2015-07-07 03:02:07 +00:00
crypto
etc Minor changes to force commit these files so new freebsd*.cf files are 2015-07-07 03:00:57 +00:00
games Fix a typo. 2015-07-02 11:46:35 +00:00
gnu Use single instance of the identical INKERNEL() and PMC_IN_KERNEL() 2015-07-02 14:37:21 +00:00
include Import sendmail 8.15.2 2015-07-06 04:29:34 +00:00
kerberos5
lib libsm/path.c is about to disappear in the merge of sendmail 8.15.2. It is an 2015-07-07 02:35:06 +00:00
libexec Add on the addend when in the R_AARCH64_ABS64 and R_AARCH64_GLOB_DAT cases. 2015-07-05 11:42:01 +00:00
release Note merge to head for sendmail 8.15.2 along with a special note for those 2015-07-07 03:06:56 +00:00
rescue
sbin Remove unused variable flags reported by clang. The function zygote_clone() 2015-07-04 17:38:56 +00:00
secure
share The results of the vote are in. This reflects that vote. Single 2015-07-06 20:10:47 +00:00
sys Attempt to make 5GHz HT/40 work on the 6xxx series NICs. 2015-07-07 03:51:29 +00:00
targets Updated depends 2015-07-03 06:11:54 +00:00
tests The bug caught by flock's test 16 was fixed by r268384. 2015-07-05 22:49:26 +00:00
tools Implement busdma_md_unload() and busdma_sync(). 2015-07-03 05:47:56 +00:00
usr.bin New AES modes for IPSec, user space components. 2015-07-03 20:09:14 +00:00
usr.sbin Temporarily disable WARNS while addressing a non-issue with the upstream code 2015-07-07 02:30:35 +00:00
.arcconfig Add repository.callsign, to help arcanist figure out what repo it's 2015-07-02 22:23:52 +00:00
.arclint
COPYRIGHT
LOCKS
MAINTAINERS
Makefile Fix generation of src.conf.5 2015-07-03 06:10:09 +00:00
Makefile.inc1 First cut of DTrace for AArch64. 2015-07-01 15:51:11 +00:00
ObsoleteFiles.inc Rename the dtrace-* man pages to dtrace_* for consistency with other 2015-07-05 23:23:12 +00:00
README
UPDATING Add warning about change of behavior for sendmail 8.15.2 under FreeBSD 11 2015-07-07 03:03:17 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree.  See build(7)
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

The `buildkernel` and `installkernel` targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process.  See build(7), config(8),
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
for more information.

Note: If you want to build and install the kernel with the
`buildkernel` and `installkernel` targets, you might need to build
world before.  More information is available in the handbook.

The kernel configuration files reside in the sys/<arch>/conf
sub-directory.  GENERIC is the default configuration used in release builds.
NOTES contains entries and documentation for all possible
devices, not just those commonly used.


Source Roadmap:
---------------

bin		System/user commands.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tests		Regression tests which can be run by Kyua.  See tests/README
		for additional information.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html