From owner-freebsd-stable@FreeBSD.ORG Mon Mar 1 03:16:14 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 4995D106566C for ; Mon, 1 Mar 2010 03:16:14 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 921DB8FC0C for ; Mon, 1 Mar 2010 03:16:13 +0000 (UTC) Received: by ewy26 with SMTP id 26so1054655ewy.3 for ; Sun, 28 Feb 2010 19:16:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=BsuoNDutm7pxho6pvRohOMHxUgm9Y+YYfZx7W2vh3kU=; b=aUskBfWGlueepJV6L8MpoDrANkEgZiFJ6L8b3Bnk3GvumncrBn89+oOL52R7uv73tm b3yTgvm3V1ec17JeQuUDrWzQZIbCcaMSkxiMQHyhZIj59qnoZ5GorjN7cyXPpLSfJs0M EtLZnBUXciwYvzRxRrHIG5ClB3/rC0ufGu6i0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=oaf3e87i+AR2MM8a3loPJuMN/WbIzWYufUkUeCaGXLrOMZVqsfiFJDYLR1t1Oq8JMc S1b+y6wjVBwDbqsIMrCQh3WU2LLTBofBvtSF1ktdJn+Wou0MymNU2Vy0dwvY3HNCSvg4 njBacPjU1F8IfdgjcW+xygWz5ahe6ppLfj3rQ= Received: by 10.213.2.79 with SMTP id 15mr2881130ebi.96.1267413366700; Sun, 28 Feb 2010 19:16:06 -0800 (PST) Received: from ?10.0.10.4? (54.81.54.77.rev.vodafone.pt [77.54.81.54]) by mx.google.com with ESMTPS id 10sm9036683eyd.28.2010.02.28.19.16.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Feb 2010 19:16:06 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: <4B8B2EEA.6010500@pingle.org> Date: Mon, 1 Mar 2010 03:16:04 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: 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> <4B8AAA0B.4010402@pingle.org> <3BA70425-5413-4E04-AA91-85B699B1D8EF@gmail.com> <4B8B25E0.4060604@pingle.org> <5E979157-9E68-4C08-81BD-14255B038D7F@gmail.com> <4B8B2EEA.6010500@pingle.org> To: Jim Pingle X-Mailer: Apple Mail (2.1077) 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: Mon, 01 Mar 2010 03:16:14 -0000 On 1 Mar 2010, at 03:05, Jim Pingle wrote: > On 2/28/2010 9:41 PM, Rui Paulo wrote: >> On 1 Mar 2010, at 02:26, Jim Pingle wrote: >>> Ah, I wasn't aware of wlandebug(8). However, it doesn't seem to = operate >>> on this mwl(4) card. It sets the value of the sysctl = net.wlan.0.debug >>> and that doesn't show up on my system. Another system with a ral(4) = card >>> does have that sysctl. Judging by the information in the = wlandebug(8) >>> man page it appears as though this may be a side effect of mwl doing >>> much of the work in firmware. >>=20 >> wlandebug takes an -i argument. I seem to recall you created your = wlan interface named "mwl_wlan0", so you need to type wlandebug -i = mwl_wlan0. >=20 > I saw that, but that is hardcoded to expect wlan (wlan0, wlan1, = etc) > for an interface name. Having seen that, I recompiled wlandebug = without > the hardcoded interface name check and it didn't work either, but it = did > toss an error for the sysctl it was trying to tweak. The whole system was designed for the interfaces to start with "wlan" = and be named "wlan". > That made me look deeper at the code and see it was really just = setting > the debug sysctl based on flags that wlandebug was aware of. Handy, = but > the same thing could be done by hand with sysctl and some bitwise math > in a pinch, assuming the interface has the right oids. (Which mine > doesn't, for some reason...) The purpose of wlandebug is to not do any math by hand. -- Rui Paulo