freebsd-dev/sys
Adrian Chadd 24effd1107 Handle ath-specific and WME IE's in adhoc mode.
The Adhoc support wasn't parsing and handling the ath specific and WME
IEs, thus the atheros vendor support and WME TXOP parameters aren't being
copied from the peer.

It copies the WME parameters from whichever adhoc node it decides to
associate to, rather than just having them be statically configured
per adhoc node.  This may or may not be exactly "right", but it's certainly
going to be more convienent for people - they just have to ensure their
adhoc nodes are setup with correct WME parameters.

Since WME parameters aren't per-node but are configured on hardware TX
queues, if some nodes support WME and some don't - or perhaps, have
different WME parameters - things will get quite quirky.

So ensure that you configure your adhoc nodes with the same WME
parameters.

Secondly - the Atheros Vendor IE is parsed and operated on per-node, so
this should work out ok between nodes that do and don't do Atheros
extensions.  Once you see a becaon from that node and you setup the
association state, it _should_ parse things correctly.

TODO:

* I do need to ensure that both adhoc setup paths are correctly updating
  the IE stuff.  Ie, if the adhoc node is created by a data frame instead
  of a beacon frame, it'll come up with no WME/ath IE config.  The next
  beacon frame that it receives from that node will update the state.
  I just need to sit down and better understand how that's suppose to
  work in IBSS mode.

Tested:

* AR5416 <-> AR9280 - fast frames and the WME configuration both popped
  up. (This is with a local HAL patch that enables the fast frames
  capability on the AR5416 chipsets.)

PR:		kern/165969
2012-12-09 22:56:29 +00:00
..
amd64 Add amd64 implementations for 8-byte bus_space routines. 2012-12-06 22:33:31 +00:00
arm Don't write-back the cachelines if we really just want to invalidate them. 2012-12-05 21:07:27 +00:00
boot Use ASCII characters for box/line characters in frames.4th 2012-12-09 15:25:34 +00:00
bsm Merge OpenBSM 1.2-alpha2 changes from contrib/openbsm to 2012-12-01 13:46:37 +00:00
cam Fix a couple of CTL locking issues and clean up some duplicated code. 2012-12-09 19:53:21 +00:00
cddl Use SA_ZPL_CRTIME instead of SA_ZPL_CTIME for creation time. 2012-12-03 04:25:37 +00:00
compat Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
conf Add the AR5416/AR9285 bluetooth coexistence code into the main kernel 2012-12-03 23:43:23 +00:00
contrib Allow this file to build on FreeBSD. 2012-11-27 02:03:41 +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 Add new USB ID. 2012-12-09 09:58:44 +00:00
fs Add "nfsstat -m" support for the two new NFS mount options 2012-12-09 22:23:50 +00:00
gdb
geom - Don't pass geom and provider names as format strings. 2012-11-20 12:32:18 +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 amd64 implementations for 8-byte bus_space routines. 2012-12-06 22:33:31 +00:00
ia64 Flip the semantic of M_NOWAIT to only require the allocation to not 2012-11-14 20:01:40 +00:00
isa
kern Remove useless comment. 2012-12-09 20:34:11 +00:00
kgssapi
libkern Sync strlcpy with userland version. 2012-11-03 04:29:24 +00:00
mips Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
modules Add the btcoex code into the module compilation. 2012-12-03 23:38:08 +00:00
net - Move definition of V_deembed_scopeid to scope6_var.h. 2012-12-05 19:45:24 +00:00
net80211 Handle ath-specific and WME IE's in adhoc mode. 2012-12-09 22:56:29 +00:00
netatalk Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netgraph Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netinet Get it compiling without INET and INET6 support (mainly userland stack). 2012-12-08 15:11:09 +00:00
netinet6 - Move definition of V_deembed_scopeid to scope6_var.h. 2012-12-05 19:45: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 Rule memory garbage collecting in new pf scans only states that are on 2012-12-06 08:38:14 +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 Move the NFSv4.1 client patches over from projects/nfsv4.1-client 2012-12-08 22:52:39 +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 Reduce diffs against i386. 2012-11-10 13:48:41 +00:00
pci Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
powerpc Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
rpc Add support for backchannels to the kernel RPC. Backchannels 2012-12-08 00:29:16 +00:00
security Merge OpenBSM 1.2-alpha2 changes from contrib/openbsm to 2012-12-01 13:46:37 +00:00
sparc64 Move the declaration of vm_phys_paddr_to_vm_page() from vm/vm_page.h 2012-11-16 05:55:56 +00:00
sys The socket_zone UMA zone is now private to uipc_socket.c. 2012-12-08 08:35:49 +00:00
teken
tools Revert previous commit... 2012-10-10 08:36:38 +00:00
ufs r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00
vm In the past four years, we've added two new vm object types. Each time, 2012-12-09 00:32:38 +00:00
x86 Add amd64 implementations for 8-byte bus_space routines. 2012-12-06 22:33:31 +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