From owner-freebsd-wireless@FreeBSD.ORG Sun May 19 20:27:54 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id ECADD512; Sun, 19 May 2013 20:27:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id 5AE8A8DE; Sun, 19 May 2013 20:27:54 +0000 (UTC) Received: by mail-we0-f169.google.com with SMTP id x54so4946887wes.28 for ; Sun, 19 May 2013 13:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ye0lz/oNiDFfZvDKAdxwkFEhVYrYEISOhYJ0+9KIV7A=; b=m7CymfOjPiFq6wAc16vYCIZfsg2mxzRT0UquWaGip6OxVkF1i4x+drGeUIeecU3PL0 V26YimnJmi5ogOQWfrvtcPxLxrFZsKa3ta6xnoR2JtG14ItDnk78K33iDKijn9NU48g1 kAU87CtPcslLyAYTxGkaXDHCdd1pKtGe6MTIXaIr3CpNRCAWo2JWGdQ+0PIY0VLhIXTn iB81yost+ZfijGzZIxq/1o5WV1kaZoMo4qMTAO7J1AfiVj6Y9180MOXazwHIPmvtht7O l7/h6/rx4pPrfoLUYnoJugIB88l1mhe8/7QItI4Yvik2Z7LvOXs9weglcMhD+qyre7QB RjiQ== MIME-Version: 1.0 X-Received: by 10.180.109.195 with SMTP id hu3mr1938315wib.13.1368995273159; Sun, 19 May 2013 13:27:53 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.107.9 with HTTP; Sun, 19 May 2013 13:27:52 -0700 (PDT) In-Reply-To: <1596494929.20130519223744@serebryakov.spb.ru> References: <372806514.20130519141024@serebryakov.spb.ru> <1106213329.20130519193856@serebryakov.spb.ru> <1377052407.20130519195416@serebryakov.spb.ru> <5931014.20130519213437@serebryakov.spb.ru> <1596494929.20130519223744@serebryakov.spb.ru> Date: Sun, 19 May 2013 13:27:52 -0700 X-Google-Sender-Auth: I8Pf8WciNxJJxjVXJsMpE8XWc7I Message-ID: Subject: Re: [rft] please test -HEAD ath; lots of TX changes From: Adrian Chadd To: lev@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 19 May 2013 20:27:55 -0000 Right, but you're likely seeing a different issue to "hardware TXQ is stuck= ." I think we've solved that. What we're likely seeing now is some odd buffer exhaustion issues that I haven't yet seen in the driver. -HEAD is supposed to be limiting how many ath_buf's are queued per node _just_ so this particular issue doesn't occur. But it sounds like this isn't entirely working. Now, as for the rate related stuff - yes, MCS15 is actually giving high (99-100%) success rates. But it may not be transmitting MCS15 very often. How busy is the air? Compile up athsurvey and run that whilst you're doing a test. I'm going to tidy up the transmit path a little more before I start working on trying to diagnose why you're seeing the behaviour you are. But we'll get to it, I promise. If you see any other transmit queue stuck issues then please let me know. I want high confidence that we've solved those before I move onto the next stuff. Thanks for all your patience! Adrian On 19 May 2013 11:37, Lev Serebryakov wrote: > Hello, Adrian. > You wrote 19 =D0=BC=D0=B0=D1=8F 2013 =D0=B3., 21:38:21: > > AC> Compile up athratestats. > Ok, Now I can not reproduce problem without rebooting router. It > seems, that as it "pickup" N rates once, they work, even if client > was pgysically power-cycled. Reboot of router/AP "helps". > > This time working sender prevents station from recovering, and it > fails to re-associate till I killed sender (which shows the same > 300Mbit/s). When I kill sender, station re-associated successufully. > It could be seen in logs. > > All time "athratestats" was running each 1 second, log (redirection > of stdout) attached. > > Client (notebook) was on AC power, but about after 8 minutes of test > it starts to go powersave (according to AP log). I don't know why. > > You could search for ">>>" in main log for some comments on > "external" events. > > -- > // Black Lion AKA Lev Serebryakov