From owner-freebsd-wireless@FreeBSD.ORG Thu May 26 16:04:35 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AED2C1065670 for ; Thu, 26 May 2011 16:04:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 69A5C8FC12 for ; Thu, 26 May 2011 16:04:35 +0000 (UTC) Received: by gwb15 with SMTP id 15so448162gwb.13 for ; Thu, 26 May 2011 09:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=O+IbexI3xpblMysKioVtNmPH3Ne1+QfJD0ZIBRqkVEs=; b=ppy/UeOf7mKg3FqgCWV65Cw2Fq9YLZZo5I6yQNwC74iH/Fd/IZxugscFlk85J4rkuV H45fObTSHyawdc5q4HD3Vszg/EVtfiRj/D9AHqxmNrHsbJrhsN0+T6BKFg6/BbvC7EDD NxUcsrXKrqZEJCWAqhf5Y2/3CcBtt8jqi7DM0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=EnTH8QjAsHyl8Zj3HXZkor9Fru8o1qN8G/t+0g4nC1OKyLIIQvIBHfYJqDAZwwZEwd gWO7AXzegMchNJ+E2EeWOsNvNpl3KpX+wX6mhqHmoZalGo2JM9A//Gd6TaDd5L1Auj/V sUo+wEWAbSx/EGq8KqXiNcq3FXx3lsvi7mrUU= MIME-Version: 1.0 Received: by 10.150.63.19 with SMTP id l19mr1196771yba.71.1306425874683; Thu, 26 May 2011 09:04:34 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.151.107.15 with HTTP; Thu, 26 May 2011 09:04:34 -0700 (PDT) In-Reply-To: References: Date: Fri, 27 May 2011 00:04:34 +0800 X-Google-Sender-Auth: _SfnVTYatafCwkSLkh62elWgx2g Message-ID: From: Adrian Chadd To: Shant Kassardjian Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: SR71-A Txpower Question X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2011 16:04:35 -0000 Hi! No worries. I plan on digging up my previous emails with Ubiquiti and documenting exactly what the SR-71A behaviour should be. Thanks, Adrian On 26 May 2011 11:14, Shant Kassardjian wrote: > > Hello Adrian, > > Glad to see you're always there for us! > > I spent countless hours looking for ubiquiti documentation that proves se= tting txpower 0 turns off the device... > > and found nothing so far. Either way, I still see this as a useful featur= e to consider :) > > Thanks for the detailed explanation regarding the txpower formula, it mak= es much more sense now whenever I play with the power transmit settings. > > Thanks again! > Shant K > >> Date: Wed, 25 May 2011 00:43:21 +0800 >> Subject: Re: SR71-A Txpower Question >> From: adrian@freebsd.org >> To: shant@skylab.ca >> CC: freebsd-wireless@freebsd.org >> >> Hi, >> >> ifconfig wlan0 txpower 0 merely sets the txpower to 0dBm, which isn't >> "off" strictly speaking. It's actually 1mW. >> >> The SR-71A also has a TX power offset in hardware. If I remember >> right, the hardware is actually a couple of dBm higher than what you >> configure. So when you configure 19 dBm, you're programming the >> hardware at 19dBm, but the hardware responds by allowing a max of >> 16dBm per channel, which is * 3 (3 TX chains, as per the patch I gave >> you) to give ~ 21dBm. I'd have to check the math to get the exact tx >> power offset but that's roughly what's going on. >> >> Now, if it's documented somewhere that 0 dBm should be "killing" the >> interface, let me know. :) >> >> >> >> Adrian >> >> On 25 May 2011 00:24, Shant Kassardjian wrote: >> > >> > Hello FreeBSD-Wireless, >> > >> > I've been running SR71-A on FreeBSD 8.1 for quite some time now and it= 's been running very well. Many thanks to Adrian Chadd who really helped ir= oning out all my questions! >> > >> > My only problem so far that I've noticed is that when I do: =A0ifconfi= g wlan0 txpower 0; this does not turn off power to the wireless as it's sup= pose to and rather I have to bring down the interface manually to shut it d= own hence whenever I need to start it up again I have to reconfigure the in= terface. >> > >> > >From my observation it looks like changing the txpower rate using ifc= onfig has little to no effect controlling this adapter. >> > >> > >> > My question is that, could it be because I have compiled the kernel wi= th the following modifications as suggested by Adrian Chadd to take advanta= ge of Max 3x antenna transmit power that I am having this problem? >> > >> > Edit sys/dev/ath/ath_hal/ar5416/ar5416.h: >> > >> > #define AR5416_DEFAULT_RXCHAINMASK =A0 =A0 =A07 >> > #define AR5416_DEFAULT_TXCHAINMASK =A0 =A0 =A07 >> > >> > >> > Does anyone else have this symptom with their SR71-A (AR5416)? >> > >> > >> > Many thanks in advance; >> > >> > Regards, >> > Shant K. >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0_______________________________________________ >> > freebsd-wireless@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd= .org" >> > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0_______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g" >