From owner-freebsd-net@FreeBSD.ORG Sat Apr 26 17:36:33 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C93337B401 for ; Sat, 26 Apr 2003 17:36:32 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id D688443FBD for ; Sat, 26 Apr 2003 17:36:31 -0700 (PDT) (envelope-from sam@errno.com) Received: from melange (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.9) with ESMTP id h3R0aUpw056680 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sat, 26 Apr 2003 17:36:31 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <02d501c30c55$0c4e08e0$52557f42@errno.com> From: "Sam Leffler" To: Date: Sat, 26 Apr 2003 17:36:30 -0700 Organization: Errno Consulting MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Subject: CFR: if_media changes for multi-mode devices X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2003 00:36:33 -0000 The patch: http://people.freebsd.org/~sam/ifmedia.diff has changes to support multi-mode devices such as 11a/b/g wireless cards. These use 3 of the free bits in the media word to specifiy an optional mode that devices can honor. To manipulate this field there is a new "mode" command line option to ifconfig. For example, ifconfig ath0 mode 11g operate my multi-mode Atheros wireless device in 11g mode. Other changes in this diff add a "turbo" option for enabling turbo mode on 802.11 devices, add 802.11 subtype options for specifying 11g rates (CCK at 6,9,12,18,24,36,48, ad 54 Mb/s), and correct the spelling of OFDM. These changed should not affect existing code. If I don't hear anything negative back in a few days I'll commit it. Sam