From owner-freebsd-wireless@FreeBSD.ORG Sun Nov 6 20:26:07 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 647971065672; Sun, 6 Nov 2011 20:26:07 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1324B8FC14; Sun, 6 Nov 2011 20:26:06 +0000 (UTC) Received: by iabz21 with SMTP id z21so7588175iab.13 for ; Sun, 06 Nov 2011 12:26:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:to:cc:reply-to:subject:in-reply-to:x-mailer :mime-version:content-type; bh=YgShfF9EDYS1qoUIYFroMm6khkddRADfYbI5MWDGa0o=; b=FUaN1xPyJc9fnp3aCXmoHI2WcUb9H7PGw8VeHqexzIP016qwIJzbvcaOcNdu4WltXm vgNcncXyfPZQJr3KvlQ8zqK3CNDCFYCLXdLwc94PsCF0LxgxGT6pC8hUdz2A9tNmlMz7 gW3ratGXIXojusvo11U7EZB1vINQ8AeY868eY= Received: by 10.42.135.69 with SMTP id o5mr39864774ict.34.1320611166487; Sun, 06 Nov 2011 12:26:06 -0800 (PST) Received: from www.palm.com ([32.153.138.171]) by mx.google.com with ESMTPS id 4sm30053192pbj.18.2011.11.06.12.26.00 (version=SSLv3 cipher=OTHER); Sun, 06 Nov 2011 12:26:05 -0800 (PST) Message-ID: <4eb6ed5d.2401440a.7470.ffffa7aa@mx.google.com> Date: Sun, 6 Nov 2011 12:25:55 -0800 From: "Adrian Chadd" To: "lev@freebsd.org" , "Adrian Chadd" In-Reply-To: <939228459.20111106231805@serebryakov.spb.ru> X-Mailer: Palm webOS v1.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-wireless@freebsd.org" Subject: Re: update - new hal flag to force a full chip reset X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Adrian Chadd 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: Sun, 06 Nov 2011 20:26:07 -0000 Well I am still trying to establish what exactly is going on in noisy envir= onments. The ar9160 doesn't behave this way. A bit of background in case you feel like doing some digging.. The ANI patent doc explains what is going on. The ani code tweaks some para= meters for weak signal detection, as well as what the desired signal size= and level is. What I am not clear on yet is whether it's a signal sizing= issue (ie, whether the ambient or bursty noise is falling within the signa= l level/size ani programs in) or whether the radio setup/calibration code= is doing something wrong in 2.4ghz mode. So it may be worthwhile reading the patent doc and ar5416 ani code, add som= e debugging tweaks and do some experiments with the parameters. I've setup ath9k and it has similar behaviour. Sigh. :) Adrian Sent from my Palm Pre on AT&T On Nov 6, 2011 11:19 AM, Lev Serebryakov <lev@freebsd.org> wrote:=20 Hello, Adrian. You wrote 6 =D0=BD=D0=BE=D1=8F=D0=B1=D1=80=D1=8F 2011 =D0=B3., 22:15:19: >>> Good luck, and thanks to everyone who has been testing my code= out! >>  Do you need any help? Maybe, running AP with additional debu= g output, >> or something like this? > Just dump the NF calibration results (sysctl dev.ath.X.hal.debug=3D0x8) > and crank it up to say, 2 to 5 seconds (sysctl hw.ath.longcal=3D5). > Let's see what the NF results are like. I've sent your these data, do you need more from exactly the same setup? :) I could make tests in the middle of working say, when environment isn't so noisy -- less APs are seen, and spee is better. > I have a nasty feeling that the AR9280 series NICs report some rather > high NF values. The values themselves aren't actually raw NF dBm, > they're just a dB value - but the fact that it's so high is likely a > symptom of the overall problem (which is likely that the signal levels > are all configured wrong when faced with interference.) BTW, is here other ATH PCI chipsets with 802.11n? I've checked all Mirkotik Mini-PCI cards, for example, all of them are based on 9820, with different setups of RF part, some of them are single-band (2.4Ghz only), some of them are dual-band, some of them are dual-band and have amplifier, which adds some dBs of output, but chipset is the same. And the same with TP-Link cards, which could be purchased here (in Russia). It seems, --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>