From owner-freebsd-wireless@FreeBSD.ORG Mon Aug 8 18:26:55 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 DEB84106564A for ; Mon, 8 Aug 2011 18:26:55 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9B0DB8FC08 for ; Mon, 8 Aug 2011 18:26:55 +0000 (UTC) Received: by gyd10 with SMTP id 10so2049572gyd.13 for ; Mon, 08 Aug 2011 11:26:55 -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=T2cz0v0xLIgycVnmwOyG+UmfnsvsmY9MPOL+wGhpIqY=; b=ZXK0DcW9O1gYQK2EMnQJeNqqOc4/y/abuHtqmdWQqTLVHuMYR7YLKo7DfT+SpYJgPu gdQtRjghE7HawmRg5+ch8YCQ+Kdx1c81KxdnKR6l9VIqv4ldWUVYVG23D+wbuzD+rg1B 82VVxG/UFJsVDXahlDxchS7bI3zQ1V0HbdXoU= MIME-Version: 1.0 Received: by 10.150.74.3 with SMTP id w3mr5416626yba.329.1312828014873; Mon, 08 Aug 2011 11:26:54 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.151.26.14 with HTTP; Mon, 8 Aug 2011 11:26:54 -0700 (PDT) In-Reply-To: <1832976164.20110808222108@serebryakov.spb.ru> References: <1151152206.20110808220720@serebryakov.spb.ru> <1832976164.20110808222108@serebryakov.spb.ru> Date: Tue, 9 Aug 2011 02:26:54 +0800 X-Google-Sender-Auth: MK98MK-keY6BViP585OxvzkDhQ8 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: Mon, 08 Aug 2011 18:26:55 -0000 2011/8/9 Lev Serebryakov : > Hello, Adrian. > You wrote 8 =C1=D7=C7=D5=D3=D4=C1 2011 =C7., 22:11:03: > >> Can you verify when "bad" and "good" performance occured? Can you >> narrow it down to FreeBSD versions in particular? > =9A I'm afraid, that will be difficult. I could try 8.2-RELEASE and > =9Aeven 8.0-RELEASE (but I'll need to build NanoBSD images for them). > =9AI'm sure, that 7-STABLE gives me 3.2MiB/s regularly, but noteboks > =9Awere changed from these times. I'll try to build 7-STABLE NanoBSD > =9Aimage, but it will need some more effort, as config files changes from > =9Athese times :) Hi, That's definitely required knowledge. 8.0-RELEASE is a good starting point. I'm afraid it's going to be difficult for me to narrow down what's changed without you doing a bit of legwork to find which kernel version(s) introduced the performance regression. Once we narrow that down, I'll fix it. :) Please keep everything else the same though, including the laptop. :) >> 2) not sure, it's late and I'm not knee-deep in the beacon frame >> format. But I bet it's ok? > =9AIt is "not accurate enough" :) Many APs, seen in my apartments, > =9Aannounce all speeds up to 54Mb :) But, of course, It is practically Ok= till > =9Aclients can connect on higher speeds. Hm, that's odd. The 11b rates should show up (1 -> 11), the rest are 11g rates. I can't think of why the AP wouldn't advertise all 11g rates, but then, I haven't gone digging in that code lately. >> 3) txpower is in dBm units, based on what the card is supposed to be >> putting out of the antenna socket, before antennas > =9AOk, so 30 means 1:1 (according to dBm definition) and means "full > =9Apower". Well, some cards "lie". You program in x dBm, you get x+constant dBm. That's how so high powered cards work - you program in some lower value that fits inside regulatory limits (say, 23dBm) and you then get (say) a +6 dBm boost no matter what you program in. So a 23 dBm txpower would equal 29dBm. 0dBm txpower would equal 6dBm. etc, etc. The only real way to know is a spectrum analyser. :) Adrian