From owner-freebsd-wireless@FreeBSD.ORG Sun May 19 17:05:15 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 A231926C; Sun, 19 May 2013 17:05:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 127C1C7; Sun, 19 May 2013 17:05:14 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id c10so1497134wiw.1 for ; Sun, 19 May 2013 10:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=p/TKfq9LVKTrrF3fkkbRdG4WRw3juioga/+WC+UZqog=; b=ZtxC4ZoiqTY80NRYaTl05kM74DC0Cg44j1D09srmGl59zoBn7ymblHvzvRvU/npNCu I4CMz8KRnYFmwNRStigpd5wrhjDPCxArAAL6qv+Ju2FO3ht3DBgW1bB5FF/x/rjP9U4n n9h/X05xu7MTvRFlISQc6gRkxLXC0pY5jy3GCrkOH+p+Ne/iLOulN76Vyrgx8vCAb00F TGHbQSxA4cFD+VVFWWZZyCsvpRYbEkDgnDTwluTqiIcVMToPsHsHsYRj344Zwu8ESZNw kKXGB7oESd291BiLTo/PIfeVNE8CzdQhv8VFOos/aELoA/dVUccVEGR5Q+SSOv4bykvA 2nqA== MIME-Version: 1.0 X-Received: by 10.180.90.164 with SMTP id bx4mr6756581wib.13.1368983114109; Sun, 19 May 2013 10:05:14 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.107.9 with HTTP; Sun, 19 May 2013 10:05:13 -0700 (PDT) Received: by 10.217.107.9 with HTTP; Sun, 19 May 2013 10:05:13 -0700 (PDT) In-Reply-To: <1377052407.20130519195416@serebryakov.spb.ru> References: <372806514.20130519141024@serebryakov.spb.ru> <1106213329.20130519193856@serebryakov.spb.ru> <1377052407.20130519195416@serebryakov.spb.ru> Date: Sun, 19 May 2013 10:05:13 -0700 X-Google-Sender-Auth: 0UnzBx9e65C_yZ350fdlwWZuFoM 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 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 17:05:15 -0000 No, the driver drops frames only on error and otherwise it sends ENOBUFS up to the nrt layer. This stalls the sender. Check athratestats in tools/ath. See what the stats are during transmit. Adrian Adrian On May 19, 2013 11:54 AM, "Lev Serebryakov" wrote: > Hello, Adrian. > You wrote 19 =D0=BC=D0=B0=D1=8F 2013 =D0=B3., 19:49:48: > > AC> Ok. So the hardware queue isnt hung. Good! > > AC> The 30mbit is the transmit rate, not throughput. No idea why is isnt > AC> downgrading though. > 300! It doesn't downgrading, because it is UDP and it is FreeBSD -- > Linux blocks sendto() on UDP socket when buffers/queue is full, and > FreeBSD simply discard data and returns. FreeBSD behaves more > correctly from POSIX point of view, but Linux is more "expectable". > > AC> So lets do more testing to aee if the transmit queue stalls. Also, we > can > AC> diagnose the disassociate at some point. Then after that, rate contro= l. > Logs sent to you should show, that client deassociate in middle of > process, and it was unexpected :) > > > -- > // Black Lion AKA Lev Serebryakov > >