From owner-freebsd-stable@FreeBSD.ORG Sun Feb 28 17:38:23 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BA26106567B for ; Sun, 28 Feb 2010 17:38:23 +0000 (UTC) (envelope-from lists@pingle.org) Received: from willow.pingle.org (willow.pingle.org [68.76.213.30]) by mx1.freebsd.org (Postfix) with ESMTP id DD7988FC31 for ; Sun, 28 Feb 2010 17:38:22 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by willow.pingle.org (Postfix) with ESMTP id 4364611431; Sun, 28 Feb 2010 12:38:22 -0500 (EST) X-Virus-Scanned: amavisd-new at pingle.org Received: from willow.pingle.org ([127.0.0.1]) by localhost (willow.pingle.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GNdLc7qGpVUi; Sun, 28 Feb 2010 12:38:20 -0500 (EST) Received: from [192.168.15.20] (hpcw.hpcisp.com [68.76.213.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jim) by willow.pingle.org (Postfix) with ESMTPSA id 403E21141C; Sun, 28 Feb 2010 12:38:20 -0500 (EST) Message-ID: <4B8AAA0B.4010402@pingle.org> Date: Sun, 28 Feb 2010 12:38:19 -0500 From: Jim Pingle User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100216 Lightning/1.0b1 Thunderbird/3.0.2 MIME-Version: 1.0 To: Rui Paulo References: <5fbf03c21002270427s74d0f067gb76cfe10c2794121@mail.gmail.com> <20100227124308.GA28213@mx.techwires.net> <5fbf03c21002270501l2e388ec9tbdad684d38609861@mail.gmail.com> <4B89E174.1060802@pingle.org> <1B1F52CC-FF36-4432-9345-73BB673EE7E8@gmail.com> In-Reply-To: <1B1F52CC-FF36-4432-9345-73BB673EE7E8@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD-8.0 802.11n support with ath/mwl X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2010 17:38:23 -0000 On 2/28/2010 7:54 AM, Rui Paulo wrote: > On 28 Feb 2010, at 03:22, Jim Pingle wrote: >> >> Are you aware if similar work ongoing for the mwl(4) based 802.11n >> cards? I picked up a couple cheap this past week and have them working >> with hostapd but, as with the OP in the thread, only with G rates. >> >> The ifconfig[1] output suggests that it is using 40MHz wide ht channels >> but devices only associate at 54Mbps[2]. >> >> Jim >> >> [1] ifconfig mwl0_wlan1 >> mwl0_wlan1: flags=8843 metric 0 >> mtu 1500 >> ether 00:01:36:17:96:0e >> inet6 fe80::201:36ff:fe17:960e%mwl0_wlan1 prefixlen 64 scopeid 0x9 >> inet 192.168.15.1 netmask 0xffffff00 broadcast 192.168.15.255 >> nd6 options=3 >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11na >> status: running >> ssid WatchTower channel 100 (5500 MHz 11a ht/40+) bssid 00:01:36:17:96:0e >> regdomain DEBUG indoor authmode WPA2/802.11i privacy MIXED deftxkey 3 >> AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 14 scanvalid 60 >> ampdulimit 64k ampdudensity 4 shortgi smps burst dtimperiod 1 >> >> >> [2] ifconfig mwl0_wlan1 list sta (w/addr removed) >> AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG >> 1 120 54M 33.0 0 1537 25952 EP A RSN (rssi 68:20:20 nf >> 0:0:0) > > mwl supports HT rates, but it looks like your AP is not sending HT rates to you. Thanks for the quick clarification, that's very encouraging to find out! In this case, the mwl card is the AP. The client line is from an associated Windows 7 laptop with an Intel 5100abgn card which does show the AP as 802.11n in the AP list. I'm connected and sending this message through it right now, actually. Are there some other bits that need set in order to have clients associate with HT rates? Or some other prerequisite conditions such as number of attached antennae? I do only have one antenna attached as I didn't have a second pigtail for this test unit's case. The card actually has three connectors. I didn't see hints in the mwl(4), wlan(4), hostapd(8), hostapd.conf(5), or ifconfig(8) man pages about troubleshooting rates. I see plenty of talk in ifconfig(8) about use and control of HT rates, but given what I'm seeing in ifconfig, it should be set to use them. I've tried several combinations of channels and standards (e.g. 11ng, 11na) but always end up with a 54Mbps link. I'd appreciate any more pointers that you (or anyone else reading) may have. I'd like to write up something on the topic once I get it fully operational. Thanks, Jim