From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 11 22:14:34 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FC5D16A41F for ; Thu, 11 Aug 2005 22:14:34 +0000 (GMT) (envelope-from samuel.pierson@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6B4C43D48 for ; Thu, 11 Aug 2005 22:14:31 +0000 (GMT) (envelope-from samuel.pierson@gmail.com) Received: by wproxy.gmail.com with SMTP id i22so471968wra for ; Thu, 11 Aug 2005 15:14:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MuHsN+sgy8YmRw7FVyTRUF9vXpShnmuT45Rl+quUHnTJP4RFB4b5FNa858hH5FznKZ47UlGN2r+9VKwf2yVWOwSvbaat9Lsg5VqRiZIoLm3l1RNMiTFfe/POyMZ9mFFSc5jQHRnWNjVGRjnXKz7UJxqiffHoqegmHIJzL1HhLbE= Received: by 10.54.37.64 with SMTP id k64mr1486417wrk; Thu, 11 Aug 2005 15:14:30 -0700 (PDT) Received: by 10.54.144.1 with HTTP; Thu, 11 Aug 2005 15:14:30 -0700 (PDT) Message-ID: Date: Thu, 11 Aug 2005 17:14:30 -0500 From: Sam Pierson To: Sam Leffler , FreeBSD Hackers In-Reply-To: <42FACAF6.4020805@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42FACAF6.4020805@errno.com> Cc: Subject: Re: Global txpower in ath X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 22:14:34 -0000 Is there a way to check the txpow in sysctl or something along those lines? I'm changing txpower and it appears as though it will do a reset every once in awhile. From=20 what I can gather from if_ath.c, it looks like ath_init resets the txpow as well. I'd like to know whether or not my originally intended txpow is still being respected. -Sam On 8/10/05, Sam Leffler wrote: > Sam Pierson wrote: > > I noticed that when I control the signal strength through > > ifconfig, I can effectively reduce the signal when I set it > > as something like: ifconfig ath0 txpower 1. I have read > > that this input is device driver dependent and I couldn't > > find anything in the interface that handles txcontrol. Are > > these values taken in exactly or are they rounded to some > > less fine-grained control number? Thanks, >=20 > The current support has a limited number of settings for the tx power. > I don't recall how many there are but it's chip dependent and possibly > also frequency-specific. 5212 parts are capable of controlling txpower > on a per-packet basis but getting it "right" has proven very hard and is > not yet supported. >=20 > Sam >