From owner-freebsd-stable@FreeBSD.ORG Mon Dec 28 00:55:15 2009 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 7F27B1065672 for ; Mon, 28 Dec 2009 00:55:15 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 36C188FC0C for ; Mon, 28 Dec 2009 00:55:15 +0000 (UTC) Received: from ice.local ([10.0.0.115]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id nBS0tCRB036256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 27 Dec 2009 16:55:12 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <4B3801F0.8030400@errno.com> Date: Sun, 27 Dec 2009 16:55:12 -0800 From: Sam Leffler User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Derek Kulinski References: <110163611.20091216031952@takeda.tk> <4B28D281.80706@acm.poly.edu> <1952441862.20091216103925@takeda.tk> <4B37BE0E.7080306@freebsd.org> <648471541.20091227124335@takeda.tk> In-Reply-To: <648471541.20091227124335@takeda.tk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: Boris Kochergin , freebsd-stable@freebsd.org Subject: Re: Problems with Atheros card and hostpd 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: Mon, 28 Dec 2009 00:55:15 -0000 Derek Kulinski wrote: > Hello Sam, > > Sunday, December 27, 2009, 12:05:34 PM, you wrote: > >> I didn't see anything in the thread to point a finger at freebsd but >> given the debug msg log shows "ath0" instead of "wlan0" I'm guessing >> whatever version was being used was pre-8.x. > > I think I was the only one in thread who used FreeBSD as an AP, also > that was before 7.x when I made the log. So I'm not saying it's > FreeBSD specific problem, I don't even think it's a BSD problem, but > perhaps some kind of incompatibility and I was hoping for some > workaround. AP mode power save was broken for a time in 7.x (IIRC the aging of frames on the PS q was incorrectly calculated causing them to be tossed prematurely)--but that was unrelated to WME/WMM. > >> Unlikely. Try collecting a packet trace of a failure w/ wireshark or >> tcpdump from a 3rd sta and send it to me. Be sure to collect data at >> the 802.11 layer (e.g. -y IEEE802_11_RADIO). You might also learn >> something by enabling power save debug msgs on the ap w/ wlandebug. > > Well, I actually managed it to work. Since the phone was rooted I > changed settings and disabled WME on the phone. I associated it and it > worked. Now there's a weird thing that I don't really get. After I saw > that phone was working with WME disabled, I went back and changed it > to the way it originally was, I also restarted the phone. To my > surprise the phone continued to work (with WME enabled), and I still > don't understand why. > > Perhaps it stored some information necessary? I think I'll deassociate > the phone and make it forget the AP and see if it works. > Can't even guess w/o a packet trace and/or debug log. WME should be immaterial to FreeBSD unless crypto was involved in which case you might've hit a bug w/ h/w crypto+WME that's long since been fixed (certain ath parts require the MIC be handled in s/w when WME is used). The best thing to do wrt FreeBSD is run 8.0 or later for much better wireless support. Sam