From owner-cvs-src-old@FreeBSD.ORG Sat Jul 11 15:06:00 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E55BD106566C for ; Sat, 11 Jul 2009 15:06:00 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C99B38FC20 for ; Sat, 11 Jul 2009 15:06:00 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n6BF6004023839 for ; Sat, 11 Jul 2009 15:06:00 GMT (envelope-from rpaulo@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n6BF60Lx023838 for cvs-src-old@freebsd.org; Sat, 11 Jul 2009 15:06:00 GMT (envelope-from rpaulo@repoman.freebsd.org) Message-Id: <200907111506.n6BF60Lx023838@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rpaulo@repoman.freebsd.org using -f From: Rui Paulo Date: Sat, 11 Jul 2009 15:02:45 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/ifconfig ifconfig.8 ifieee80211.c ifmedia.c src/share/man/man4 ath.4 mwl.4 ral.4 wlan.4 src/sys/amd64/conf GENERIC src/sys/conf NOTES files options src/sys/dev/ath if_ath.c if_athvar.h src/sys/dev/mwl if_mwl.c src/sys/dev/ral rt2560.c ... X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jul 2009 15:06:01 -0000 rpaulo 2009-07-11 15:02:45 UTC FreeBSD src repository Modified files: sbin/ifconfig ifconfig.8 ifieee80211.c ifmedia.c share/man/man4 ath.4 mwl.4 ral.4 wlan.4 sys/amd64/conf GENERIC sys/conf NOTES files options sys/dev/ath if_ath.c if_athvar.h sys/dev/mwl if_mwl.c sys/dev/ral rt2560.c rt2661.c sys/i386/conf GENERIC sys/net if_media.h sys/net80211 _ieee80211.h ieee80211.c ieee80211.h ieee80211_action.c ieee80211_ddb.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_scan.c ieee80211_scan.h ieee80211_scan_sta.c ieee80211_var.h sys/pc98/conf GENERIC sys/sparc64/conf GENERIC tools/tools/nanobsd/gateworks G2348 G2358 tools/tools/net80211/scripts config tools/tools/net80211/wlanstats wlanstats.c Added files: sys/net80211 ieee80211_hwmp.c ieee80211_mesh.c ieee80211_mesh.h tools/tools/net80211/scripts/mesh common config.mesh setup.simple topology.line topology.ring topology.star topology.tree Log: SVN rev 195618 on 2009-07-11 15:02:45Z by 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 Revision Changes Path 1.159 +86 -1 src/sbin/ifconfig/ifconfig.8 1.81 +379 -48 src/sbin/ifconfig/ifieee80211.c 1.28 +2 -1 src/sbin/ifconfig/ifmedia.c 1.50 +9 -2 src/share/man/man4/ath.4 1.2 +9 -2 src/share/man/man4/mwl.4 1.17 +4 -1 src/share/man/man4/ral.4 1.22 +10 -4 src/share/man/man4/wlan.4 1.531 +1 -0 src/sys/amd64/conf/GENERIC 1.1550 +2 -0 src/sys/conf/NOTES 1.1452 +3 -0 src/sys/conf/files 1.685 +1 -0 src/sys/conf/options 1.260 +28 -11 src/sys/dev/ath/if_ath.c 1.89 +1 -0 src/sys/dev/ath/if_athvar.h 1.5 +13 -4 src/sys/dev/mwl/if_mwl.c 1.33 +9 -3 src/sys/dev/ral/rt2560.c 1.32 +7 -2 src/sys/dev/ral/rt2661.c 1.519 +1 -0 src/sys/i386/conf/GENERIC 1.47 +2 -0 src/sys/net/if_media.h 1.27 +2 -1 src/sys/net80211/_ieee80211.h 1.82 +8 -0 src/sys/net80211/ieee80211.c 1.33 +36 -0 src/sys/net80211/ieee80211.h 1.2 +1 -13 src/sys/net80211/ieee80211_action.c 1.34 +69 -4 src/sys/net80211/ieee80211_ddb.c 1.34 +13 -0 src/sys/net80211/ieee80211_freebsd.h 1.1 +1389 -0 src/sys/net80211/ieee80211_hwmp.c (new) 1.131 +24 -1 src/sys/net80211/ieee80211_input.c 1.93 +15 -4 src/sys/net80211/ieee80211_ioctl.c 1.38 +57 -1 src/sys/net80211/ieee80211_ioctl.h 1.1 +2538 -0 src/sys/net80211/ieee80211_mesh.c (new) 1.1 +505 -0 src/sys/net80211/ieee80211_mesh.h (new) 1.133 +67 -6 src/sys/net80211/ieee80211_node.c 1.53 +28 -3 src/sys/net80211/ieee80211_node.h 1.101 +245 -58 src/sys/net80211/ieee80211_output.c 1.65 +13 -2 src/sys/net80211/ieee80211_proto.c 1.45 +8 -0 src/sys/net80211/ieee80211_proto.h 1.18 +1 -0 src/sys/net80211/ieee80211_scan.c 1.11 +3 -0 src/sys/net80211/ieee80211_scan.h 1.28 +159 -25 src/sys/net80211/ieee80211_scan_sta.c 1.94 +10 -5 src/sys/net80211/ieee80211_var.h 1.322 +1 -0 src/sys/pc98/conf/GENERIC 1.158 +1 -0 src/sys/sparc64/conf/GENERIC 1.5 +1 -0 src/tools/tools/nanobsd/gateworks/G2348 1.7 +1 -0 src/tools/tools/nanobsd/gateworks/G2358 1.3 +3 -0 src/tools/tools/net80211/scripts/config 1.1 +13 -0 src/tools/tools/net80211/scripts/mesh/common (new) 1.1 +17 -0 src/tools/tools/net80211/scripts/mesh/config.mesh (new) 1.1 +13 -0 src/tools/tools/net80211/scripts/mesh/setup.simple (new) 1.1 +38 -0 src/tools/tools/net80211/scripts/mesh/topology.line (new) 1.1 +40 -0 src/tools/tools/net80211/scripts/mesh/topology.ring (new) 1.1 +38 -0 src/tools/tools/net80211/scripts/mesh/topology.star (new) 1.1 +47 -0 src/tools/tools/net80211/scripts/mesh/topology.tree (new) 1.11 +41 -1 src/tools/tools/net80211/wlanstats/wlanstats.c