From owner-freebsd-wireless@FreeBSD.ORG  Sat Mar 16 11:41:38 2013
Return-Path: <owner-freebsd-wireless@FreeBSD.ORG>
Delivered-To: freebsd-wireless@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id C2778FD0
 for <freebsd-wireless@freebsd.org>; Sat, 16 Mar 2013 11:41:38 +0000 (UTC)
 (envelope-from adrian.chadd@gmail.com)
Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com
 [209.85.160.48]) by mx1.freebsd.org (Postfix) with ESMTP id 81BA5B0D
 for <freebsd-wireless@freebsd.org>; Sat, 16 Mar 2013 11:41:38 +0000 (UTC)
Received: by mail-pb0-f48.google.com with SMTP id wy12so4891990pbc.21
 for <freebsd-wireless@freebsd.org>; Sat, 16 Mar 2013 04:41:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:x-received:sender:date:x-google-sender-auth:message-id
 :subject:from:to:content-type;
 bh=2Y9tz0BD3m8siBHKu3qUpd5FZyuxViht6klKaqYmhsA=;
 b=SrPGG+qHm518Sg6LQ1NE4+hn+Sa1jUwgKKfKbl1yCCaVG6P3GUNXOlllxmU/227VEE
 RpOr9yhe48sz/5Zq6DTJEMHgMGJHErG4GUqB5Fa2sXubWqvX/I4NCEUgS8qcgCzN0MMS
 +F/8K/uqO5whUm5xVJEYaMmDvv29HvZS+SXb0I3zb1NxdKfwyPMN3eE+1Iag6mmrWBAf
 U1ywFzDgy9HtgH5go+xYK06AEjcDvhdqTcP/oTm+r7r6VdF3AZ9UEanfK6KnB5sZ7DGm
 WAWK/QfaoEoQkoc5QWqFhptDTIRxfa6n3JWNmJAbXE8KUQDHP3IkWiqoTCehqFMXA4i1
 Tcbw==
MIME-Version: 1.0
X-Received: by 10.68.47.39 with SMTP id a7mr23811188pbn.155.1363434098021;
 Sat, 16 Mar 2013 04:41:38 -0700 (PDT)
Sender: adrian.chadd@gmail.com
Received: by 10.70.39.69 with HTTP; Sat, 16 Mar 2013 04:41:37 -0700 (PDT)
Date: Sat, 16 Mar 2013 04:41:37 -0700
X-Google-Sender-Auth: IuQaWlkKLpc7xAae-t00ZCCAl94
Message-ID: <CAJ-Vmo=H7437bJibjwHtrpFRtBN77gZt_PBkh9Lj3Z2Hiiko4Q@mail.gmail.com>
Subject: [ath] If you're running -HEAD, please update
From: Adrian Chadd <adrian@freebsd.org>
To: freebsd-wireless@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1
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." <freebsd-wireless.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-wireless>, 
 <mailto:freebsd-wireless-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-wireless>
List-Post: <mailto:freebsd-wireless@freebsd.org>
List-Help: <mailto:freebsd-wireless-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-wireless>, 
 <mailto:freebsd-wireless-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Mar 2013 11:41:38 -0000

Hi all,

If you're running -HEAD and ath(4) devices, then please update.

I've fixed a handful of corner case bugs recently:

* The pre-EDMA chips require keeping the last TX descriptor processed
around until the next is processed - and it needs to be done per-QCU,
not globally. This fixes some traffic stalls.
* The EDMA chips likely require the above too in special cases (read
CABQ processing) but as I don't yet support AR9380 in hostap mode, I'm
not yet worried about this.
* .. and I then implemented missing locking for the above. Tsk me.
* I fixed a TX buffer leak in the aggregation cleanup path (ie, when a
TID that's currently doing aggregation is downgraded to
non-aggregation.)
* I fixed a TID traffic queue depth bug, again in the aggregation cleanup path.

Thanks to Rui for being really patient with me whilst I've been
tracking down these issues and providing me with lots of debug logs

There's still a few odd corner cases to do with BAR handling and queue
pause/unpause but now that I've fixed the above issues (which were
causing hangs as well :) it shouldn't be difficult to track down the
root cause.




Adrian