From owner-freebsd-wireless@FreeBSD.ORG Wed May 8 03:09:37 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 E0558993 for ; Wed, 8 May 2013 03:09:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id 7FA95D1 for ; Wed, 8 May 2013 03:09:37 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id q57so1272484wes.37 for ; Tue, 07 May 2013 20:09:36 -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=XYCW1//kYoLs6LnKhupkDDJpnYsNhE3k2vLPc8z9oYs=; b=irnf5QisdkLbLn/2xgHEOOXtlV8UOMCy9oEUxqh3HlyDjoEfSNVxqb3achMHXtTiaC yw9wFICRdwKQ8pdQtVQH1reZH8avmLEMlwyAvAr73rr5IBF0ABXFcQOThfO5fj+zg+4f w8aiJEsGEtlLgSlBY/vlYEU3HXRq+LSPQIzwZBqibp6gh6eVtIgCyyYncg7c4UpwoFt8 TcF/ZxadF+pseTgBbBjiCBQwc4Tnj6RnCdgBEzPdtWDa3IZrnwZvnPlbAgnXdg7U6Ml4 RJORd/CJGkd82fTLdS8GBorSuw7ZpPVXRQ3FW7XAMAsd2QwAfLU5F596+ZIztxThq7d9 1cdg== MIME-Version: 1.0 X-Received: by 10.194.93.68 with SMTP id cs4mr7361243wjb.17.1367982576623; Tue, 07 May 2013 20:09:36 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.58.138 with HTTP; Tue, 7 May 2013 20:09:36 -0700 (PDT) Date: Tue, 7 May 2013 20:09:36 -0700 X-Google-Sender-Auth: JV5Em30QAvxNQW6PJgBcllZ-n4c Message-ID: Subject: TX hang and EAPOL stuff fixed in HEAD; please test! From: Adrian Chadd 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2013 03:09:37 -0000 Hi! Would those using atheros NICs on -HEAD please update and give it a good thrashing? I've fixed a couple of things: * The driver was not able to transmit EAPOL frames if the send queue ran out of space. This is why my UDP TX tests were failing - the group rekey would kick in, fail to transmit the EAPOL "Yes I've done that" ack frame back to the AP and the AP would kick the station off. * I've modified the transmit path to always keep a link pointer around rather than NULL'ing it out and reinitialising TX DMA every time. This is the "blessed" way to handle DMA. However, I'm still trying to verify that I've actually done this correctly in all ways so I'd really like this tested. I'd like to start merging in my power save and reassociation fixes from my test branch but to do that I'd really like to have this code fully tested. Thanks! Adrian