History log of /freebsd-9.3-release/tools/tools/net80211/
Revision Date Author Comments
267654 20-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


260096 30-Dec-2013 dim

MFC r257532 (by adrian):

Fix this build for clang.

MFC r259730:

To avoid having to explicitly test COMPILER_TYPE for setting
clang-specific or gcc-specific flags, introduce the following new
variables for use in Makefiles:

CFLAGS.clang
CFLAGS.gcc
CXXFLAGS.clang
CXXFLAGS.gcc

In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for
the right compiler.

MFC r259913:

For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc.

MFC r259927:

Fix pc98 build, by also forcing COMPILER_TYPE in sys/boot/pc98/boot2's
Makefile.

Pointy hat to: dim


225736 23-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


204311 25-Feb-2010 ru

Fixed missing or broken library dependencies.


195848 24-Jul-2009 sam

Update for vaps:
o do not force monitor mode; the wlanX ifnet must be an ahdemo mode vap
o move channel change work before marking ifnet up to avoid churning
the state machine
o change default ifnet name to "wlan0"

Approved by: re (kensmith)


195811 21-Jul-2009 sam

update for recent mesh additions

Approved by: re (kib)


195618 11-Jul-2009 rpaulo

Implementation of the upcoming Wireless Mesh standard, 802.11s, on the
net80211 wireless stack. This work is based on the March 2009 D3.0 draft
standard. This standard is expected to become final next year.
This includes two main net80211 modules, ieee80211_mesh.c
which deals with peer link management, link metric calculation,
routing table control and mesh configuration and ieee80211_hwmp.c
which deals with the actually routing process on the mesh network.
HWMP is the mandatory routing protocol on by the mesh standard, but
others, such as RA-OLSR, can be implemented.

Authentication and encryption are not implemented.

There are several scripts under tools/tools/net80211/scripts that can be
used to test different mesh network topologies and they also teach you
how to setup a mesh vap (for the impatient: ifconfig wlan0 create
wlandev ... wlanmode mesh).

A new build option is available: IEEE80211_SUPPORT_MESH and it's enabled
by default on GENERIC kernels for i386, amd64, sparc64 and pc98.

Drivers that support mesh networks right now are: ath, ral and mwl.

More information at: http://wiki.freebsd.org/WifiMesh

Please note that this work is experimental. Also, please note that
bridging a mesh vap with another network interface is not yet supported.

Many thanks to the FreeBSD Foundation for sponsoring this project and to
Sam Leffler for his support.
Also, I would like to thank Gateworks Corporation for sending me a
Cambria board which was used during the development of this project.

Reviewed by: sam
Approved by: re (kensmith)
Obtained from: projects/mesh11s


192321 18-May-2009 sam

fix typo


191247 18-Apr-2009 sam

Cleanups to prepare this code for wider use (likely merged into hostapd):
o add (required) cmd line args to specify the set of ifnet's to monitor
for WDS discovery msgs; "any" is a wildcard
o change the default script run on wds vap create to the "null script"
o auto-daemonize; add -f option to force foreground operation
o add -P option for integration with rc.d (implementation missing, tba)
o use syslog; default to log up to LOG_INFO, -t (terse) gives you up to
LOG_ERR, and -v (verbose) gives you up to LOG_DEBUG
o scan for existing vaps on startup to recover existing state
o correct some types


191128 15-Apr-2009 sam

no more need for -p option to wlanwds; it knows how to find the parent now


191127 15-Apr-2009 sam

o remove the -p option; use the %parent pointer sysctl to find the parent ifnet
o remove the -b option; users can just embed the bridge ifnet in the script
o add -j option to create wds vaps on join/rejoin ops


188785 19-Feb-2009 sam

revamp after 1/2 and 1/4 rate changes


188210 05-Feb-2009 sam

for adhoc and ahdemo modes try to find the "bss node": use the bssid
unless it's not setup or zero's; this may not work as the bssid of
the ibss isn't certain to the "right mac address" but for many cases
it is


188206 05-Feb-2009 sam

make -o handling like athstats


188187 05-Feb-2009 sam

o fix identification of ahdemo mode
o split out code to get the bssid for use in the future
o include more information in error diags when unable to collect sta info/stats


187255 15-Jan-2009 sam

simple scripts to demonstrate tdma setup


187120 12-Jan-2009 sam

add tool to calculate air time for 802.11 packets


183219 21-Sep-2008 sam

eliminate hardwired lists; use the media type to autoconfig


181195 02-Aug-2008 sam

use new sysctl to generate a fake radar event


179122 19-May-2008 thompsa

Flush stdout after each line to make piping to another command easier.


178699 30-Apr-2008 sam

o add indirect array for field indices as the # stats is > 127 and doesn't
fit in a signed char
o change default output to something more useful for sta mode
o futz w/ various field names and widths; need to do full pass over this stuff


178698 30-Apr-2008 sam

update for new events


178681 29-Apr-2008 rpaulo

Add new directories, scripts and wlanwds. Introduced with vap support.


178680 29-Apr-2008 rpaulo

Add missing 't'.

Approved by: sam


178361 20-Apr-2008 sam

test scripts for vaps and other 802.11 features

Supported by: Hobnob and Marvell


178360 20-Apr-2008 sam

add dwds test app

Supported by: Hobnob
Obtained from: Atheros (earlier version)


178359 20-Apr-2008 sam

update for vaps

Supported by: Hobnob


177504 22-Mar-2008 sam

sync w/ p4: minor cleanups to improve msgs


174244 04-Dec-2007 sam

update copyright's


173306 03-Nov-2007 sam

o sync w/ net80211 changes
o redo numbering scheme to simplify changing the table


173305 03-Nov-2007 sam

align stats printed out w/o any args

MFC after: 1 week


173304 03-Nov-2007 sam

o add -o ampdu shorthand for viewing most useful ampdu stats
o remove noise from default stat list

MFC after: 1 week


171636 28-Jul-2007 thompsa

wlandebug has been moved to the base system.

Approved by: re (rwatson)


170535 11-Jun-2007 sam

add 11n stats


170534 11-Jun-2007 sam

o add 11n knob
o gcc42 stuff


168966 23-Apr-2007 sam

o fix a buffer overflow in save_key() that occurs with 104-bit wep
o make some variables parameters (frequency of crack, and maximum channel)
o try to spoof mac if association fails

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


168538 09-Apr-2007 sam

correct copyright attribution; there was no copyright in the patches
from Andrea so I assigned him ownership; this corrects that

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


168502 08-Apr-2007 sam

Due to the recent "aircrack-ptw" WEP cracking discovery, I thought
that it might be worth fixing a couple of bugs in wesside and making
it use the new cracking technique. I think this enhancement makes
the tool quite usable. It is possible to recover keys in only a
couple of minutes.

* Fix ACKs. Firmware will ACK data [just set the MAC addr correctly].
* Fix RX routines. Process all packets read().
* Use aircrack-ptw [built-in] rather than external aircrack.
* Log data in pcap format so that it may be used by others [e.g. aircrack-ng].

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


165970 12-Jan-2007 joel

Fix typos.


165964 12-Jan-2007 sam

add man page


165963 12-Jan-2007 sam

fix typo

MFC after: 1 week


164635 26-Nov-2006 sam

add rate knob for net80211 rate control modules

MFC after: 1 month


161200 10-Aug-2006 sam

checkpoint new version


161047 07-Aug-2006 keramida

Fix some minor nits in the README file of wesside

Reviewed by: sam, Andrea Bittau <a.bittau@cs.ucl.ac.uk>


161031 07-Aug-2006 sam

add wesside


161030 07-Aug-2006 sam

another tool that uses the raw tx api

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


161029 06-Aug-2006 sam

use proper tx series

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


161003 05-Aug-2006 sam

make it work after the api change

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


160997 05-Aug-2006 sam

hook packet injection tools up


160996 05-Aug-2006 sam

test programs for 802.11 packet injection

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


160995 05-Aug-2006 sam

802.11 packet injection test tool

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


160994 05-Aug-2006 sam

crude stumbler using raw packet api's

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


160779 28-Jul-2006 yar

Do not forget about INET6 and MK_INET6_SUPPORT.


160053 30-Jun-2006 sam

o fix join/rejoin format
o add netbsd portability glue

MFC after: 2 weeks


156735 15-Mar-2006 ru

Style: NO_MAN doesn't need any value.


153392 13-Dec-2005 sam

fix include path


153318 11-Dec-2005 sam

this didn't make it in the last commit


153317 11-Dec-2005 sam

o move programs to separate directories and use stock Makefiles;
this simplifies including them in crunchgen images
o rename 80211* programs to wlan* as was originally intended