From owner-freebsd-wireless@FreeBSD.ORG Tue Aug 9 10:22:00 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 EBD261065673 for ; Tue, 9 Aug 2011 10:22:00 +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 A1E4A8FC12 for ; Tue, 9 Aug 2011 10:22:00 +0000 (UTC) Received: by gwb15 with SMTP id 15so3679962gwb.13 for ; Tue, 09 Aug 2011 03:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=vXtyEMMHz9w7Vo3FbEHDubhvdOGfdTmXEFJlrcbTbZM=; b=tgKrmNjASeDqXqyDtFeEBBPt288wzjzJ5qBlXgFphmPlQ17FMb0e6Z6vXsX05pVsQ2 83QfC+3hZps0LLhrKVl77Lp+uPaY6yVsq1aUmWgxso6H27juce/gCSRbEFyRPdyoF3xE 0gPD22/8Q1y/jcvvWk2L3SIJsvByca3xgx/+0= MIME-Version: 1.0 Received: by 10.150.238.2 with SMTP id l2mr2765441ybh.44.1312885315187; Tue, 09 Aug 2011 03:21:55 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.151.26.14 with HTTP; Tue, 9 Aug 2011 03:21:55 -0700 (PDT) In-Reply-To: <281311475.20110809142033@serebryakov.spb.ru> References: <1151152206.20110808220720@serebryakov.spb.ru> <201108090829.18712.bschmidt@freebsd.org> <1681554189.20110809132747@serebryakov.spb.ru> <7764247.20110809135323@serebryakov.spb.ru> <281311475.20110809142033@serebryakov.spb.ru> Date: Tue, 9 Aug 2011 18:21:55 +0800 X-Google-Sender-Auth: fhcKVpSI3QWJUPEbi9UvOuZ_wqA Message-ID: From: Adrian Chadd To: Lev Serebryakov Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: Bad host-vased AP performace -- and qouple of questions about FreeBSD WiFi stack tuning 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: Tue, 09 Aug 2011 10:22:01 -0000 2011/8/9 Lev Serebryakov : > Hello, Adrian. > You wrote 9 =C1=D7=C7=D5=D3=D4=C1 2011 =C7., 14:14:19: > >> txpower 15 is actually 15dBm. Ie, try "ifconfig wlan0 txpower 1.5" :-) > =9ABernhard Schmidt says, that iwn(4) uses half-dBm units and "txpower > 30" on iwn(4) means 15dBm physically. Right. I'll double-check with Bernhard as he's been knee deep in the iwn code. But I can tell you that the value passed from net80211 to ath is 2x the ifconfig power, as the ifconfig txpower is in 0.5 dBm units. So ifconfig wlanX txpower Y ends up storing a txpower value of 2*Y, and that's what ath gets. I bet iwn gets the same. Adrian