From owner-cvs-src@FreeBSD.ORG Mon Jun 11 03:37:15 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6910816A4CC; Mon, 11 Jun 2007 03:37:15 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2548213C50E; Mon, 11 Jun 2007 03:37:03 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5B3aupR036241; Mon, 11 Jun 2007 03:36:56 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5B3au0v036230; Mon, 11 Jun 2007 03:36:56 GMT (envelope-from sam) Message-Id: <200706110336.l5B3au0v036230@repoman.freebsd.org> From: Sam Leffler Date: Mon, 11 Jun 2007 03:36:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/conf NOTES files src/sys/dev/ath if_ath.c if_athioctl.h if_athvar.h src/sys/dev/ath/ath_rate/amrr amrr.c src/sys/dev/ath/ath_rate/onoe onoe.c src/sys/dev/ath/ath_rate/sample sample.c src/sys/dev/awi awi.c awivar.h src/sys/dev/if_ndis ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 03:37:15 -0000 sam 2007-06-11 03:36:55 UTC FreeBSD src repository Modified files: sys/conf NOTES files sys/dev/ath if_ath.c if_athioctl.h if_athvar.h sys/dev/ath/ath_rate/amrr amrr.c sys/dev/ath/ath_rate/onoe onoe.c sys/dev/ath/ath_rate/sample sample.c sys/dev/awi awi.c awivar.h sys/dev/if_ndis if_ndis.c sys/dev/ipw if_ipw.c sys/dev/iwi if_iwi.c if_iwireg.h if_iwivar.h sys/dev/ral if_ral_pci.c rt2560.c rt2560reg.h rt2560var.h rt2661.c rt2661reg.h rt2661var.h sys/dev/usb if_rum.c if_rumreg.h if_rumvar.h if_ural.c if_uralreg.h if_uralvar.h sys/dev/wi if_wi.c if_wivar.h sys/kern subr_witness.c sys/modules Makefile sys/net if_media.h sys/net80211 _ieee80211.h ieee80211.c ieee80211.h ieee80211_acl.c ieee80211_amrr.c ieee80211_crypto.c ieee80211_crypto.h ieee80211_crypto_ccmp.c ieee80211_crypto_none.c ieee80211_crypto_tkip.c ieee80211_crypto_wep.c ieee80211_freebsd.c ieee80211_freebsd.h ieee80211_input.c ieee80211_ioctl.c ieee80211_ioctl.h ieee80211_node.c ieee80211_node.h ieee80211_output.c ieee80211_proto.c ieee80211_proto.h ieee80211_radiotap.h ieee80211_var.h sys/sys param.h Added files: sys/modules/wlan_scan_ap Makefile sys/modules/wlan_scan_sta Makefile sys/net80211 ieee80211_ht.c ieee80211_ht.h ieee80211_power.c ieee80211_power.h ieee80211_regdomain.c ieee80211_regdomain.h ieee80211_scan.c ieee80211_scan.h ieee80211_scan_ap.c ieee80211_scan_sta.c Log: Update 802.11 wireless support: o major overhaul of the way channels are handled: channels are now fully enumerated and uniquely identify the operating characteristics; these changes are visible to user applications which require changes o make scanning support independent of the state machine to enable background scanning and roaming o move scanning support into loadable modules based on the operating mode to enable different policies and reduce the memory footprint on systems w/ constrained resources o add background scanning in station mode (no support for adhoc/ibss mode yet) o significantly speedup sta mode scanning with a variety of techniques o add roaming support when background scanning is supported; for now we use a simple algorithm to trigger a roam: we threshold the rssi and tx rate, if either drops too low we try to roam to a new ap o add tx fragmentation support o add first cut at 802.11n support: this code works with forthcoming drivers but is incomplete; it's included now to establish a baseline for other drivers to be developed and for user applications o adjust max_linkhdr et. al. to reflect 802.11 requirements; this eliminates prepending mbufs for traffic generated locally o add support for Atheros protocol extensions; mainly the fast frames encapsulation (note this can be used with any card that can tx+rx large frames correctly) o add sta support for ap's that beacon both WPA1+2 support o change all data types from bsd-style to posix-style o propagate noise floor data from drivers to net80211 and on to user apps o correct various issues in the sta mode state machine related to handling authentication and association failures o enable the addition of sta mode power save support for drivers that need net80211 support (not in this commit) o remove old WI compatibility ioctls (wicontrol is officially dead) o change the data structures returned for get sta info and get scan results so future additions will not break user apps o fixed tx rate is now maintained internally as an ieee rate and not an index into the rate set; this needs to be extended to deal with multi-mode operation o add extended channel specifications to radiotap to enable 11n sniffing Drivers: o ath: add support for bg scanning, tx fragmentation, fast frames, dynamic turbo (lightly tested), 11n (sniffing only and needs new hal) o awi: compile tested only o ndis: lightly tested o ipw: lightly tested o iwi: add support for bg scanning (well tested but may have some rough edges) o ral, ural, rum: add suppoort for bg scanning, calibrate rssi data o wi: lightly tested This work is based on contributions by Atheros, kmacy, sephe, thompsa, mlaier, kevlo, and others. Much of the scanning work was supported by Atheros. The 11n work was supported by Marvell. Revision Changes Path 1.1430 +2 -0 src/sys/conf/NOTES 1.1216 +6 -0 src/sys/conf/files 1.13 +10 -10 src/sys/dev/ath/ath_rate/amrr/amrr.c 1.14 +10 -10 src/sys/dev/ath/ath_rate/onoe/onoe.c 1.17 +12 -9 src/sys/dev/ath/ath_rate/sample/sample.c 1.171 +863 -228 src/sys/dev/ath/if_ath.c 1.19 +24 -14 src/sys/dev/ath/if_athioctl.h 1.62 +41 -15 src/sys/dev/ath/if_athvar.h 1.44 +31 -24 src/sys/dev/awi/awi.c 1.14 +1 -1 src/sys/dev/awi/awivar.h 1.122 +20 -15 src/sys/dev/if_ndis/if_ndis.c 1.27 +24 -13 src/sys/dev/ipw/if_ipw.c 1.53 +497 -369 src/sys/dev/iwi/if_iwi.c 1.15 +5 -1 src/sys/dev/iwi/if_iwireg.h 1.15 +59 -15 src/sys/dev/iwi/if_iwivar.h 1.7 +11 -5 src/sys/dev/ral/if_ral_pci.c 1.12 +180 -138 src/sys/dev/ral/rt2560.c 1.2 +4 -0 src/sys/dev/ral/rt2560reg.h 1.3 +9 -4 src/sys/dev/ral/rt2560var.h 1.12 +175 -125 src/sys/dev/ral/rt2661.c 1.2 +2 -0 src/sys/dev/ral/rt2661reg.h 1.3 +8 -2 src/sys/dev/ral/rt2661var.h 1.5 +199 -73 src/sys/dev/usb/if_rum.c 1.2 +2 -0 src/sys/dev/usb/if_rumreg.h 1.2 +6 -1 src/sys/dev/usb/if_rumvar.h 1.56 +142 -88 src/sys/dev/usb/if_ural.c 1.6 +3 -0 src/sys/dev/usb/if_uralreg.h 1.9 +7 -2 src/sys/dev/usb/if_uralvar.h 1.207 +271 -99 src/sys/dev/wi/if_wi.c 1.31 +9 -1 src/sys/dev/wi/if_wivar.h 1.234 +12 -0 src/sys/kern/subr_witness.c 1.532 +2 -0 src/sys/modules/Makefile 1.1 +8 -0 src/sys/modules/wlan_scan_ap/Makefile (new) 1.1 +8 -0 src/sys/modules/wlan_scan_sta/Makefile (new) 1.39 +10 -0 src/sys/net/if_media.h 1.10 +100 -25 src/sys/net80211/_ieee80211.h 1.39 +458 -389 src/sys/net80211/ieee80211.c 1.14 +486 -137 src/sys/net80211/ieee80211.h 1.6 +6 -6 src/sys/net80211/ieee80211_acl.c 1.3 +3 -3 src/sys/net80211/ieee80211_amrr.c 1.16 +8 -8 src/sys/net80211/ieee80211_crypto.c 1.13 +12 -12 src/sys/net80211/ieee80211_crypto.h 1.10 +10 -38 src/sys/net80211/ieee80211_crypto_ccmp.c 1.7 +3 -3 src/sys/net80211/ieee80211_crypto_none.c 1.13 +5 -33 src/sys/net80211/ieee80211_crypto_tkip.c 1.10 +12 -40 src/sys/net80211/ieee80211_crypto_wep.c 1.15 +53 -9 src/sys/net80211/ieee80211_freebsd.c 1.13 +66 -2 src/sys/net80211/ieee80211_freebsd.h 1.1 +1472 -0 src/sys/net80211/ieee80211_ht.c (new) 1.1 +113 -0 src/sys/net80211/ieee80211_ht.h (new) 1.110 +705 -262 src/sys/net80211/ieee80211_input.c 1.56 +852 -1050 src/sys/net80211/ieee80211_ioctl.c 1.22 +238 -190 src/sys/net80211/ieee80211_ioctl.h 1.83 +374 -771 src/sys/net80211/ieee80211_node.c 1.27 +107 -113 src/sys/net80211/ieee80211_node.h 1.50 +657 -193 src/sys/net80211/ieee80211_output.c 1.1 +328 -0 src/sys/net80211/ieee80211_power.c (new) 1.1 +43 -0 src/sys/net80211/ieee80211_power.h (new) 1.38 +374 -151 src/sys/net80211/ieee80211_proto.c 1.24 +45 -34 src/sys/net80211/ieee80211_proto.h 1.8 +45 -24 src/sys/net80211/ieee80211_radiotap.h 1.1 +337 -0 src/sys/net80211/ieee80211_regdomain.c (new) 1.1 +175 -0 src/sys/net80211/ieee80211_regdomain.h (new) 1.1 +990 -0 src/sys/net80211/ieee80211_scan.c (new) 1.1 +218 -0 src/sys/net80211/ieee80211_scan.h (new) 1.1 +407 -0 src/sys/net80211/ieee80211_scan_ap.c (new) 1.1 +1438 -0 src/sys/net80211/ieee80211_scan_sta.c (new) 1.50 +217 -100 src/sys/net80211/ieee80211_var.h 1.301 +1 -1 src/sys/sys/param.h