From owner-freebsd-wireless@FreeBSD.ORG Tue Apr 22 18:04:56 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C84C82F1 for ; Tue, 22 Apr 2014 18:04:56 +0000 (UTC) Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com [IPv6:2607:f8b0:400d:c04::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8547C1766 for ; Tue, 22 Apr 2014 18:04:56 +0000 (UTC) Received: by mail-qg0-f47.google.com with SMTP id e89so2045179qgf.34 for ; Tue, 22 Apr 2014 11:04:55 -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:message-id:subject :from:to:cc:content-type; bh=gefJV5ZUPybsjId059bDHgZTiaJCvXghhC4yfqp88gY=; b=0rrF0SdlqgXBxkIT8jV4M+TYCxTqKVUWn7Tjqqx3vuqNZ0DGP6IL+BXo6WHzgekMpP Cmqq8X1xXtAOLNhYssK5XiHHAXyD5T17UcaTgaLwceNwH9roF0YLmQPu5LqA4k+eu0jO OvoaCblS3LD/HyvnG1+txcd+WAmdNYOpPqIMEi2uRuB0bglUPzOcsBrKtmFSpnrozk4i 9HZEFtmVigFn6at2IfVwhiimGuLlLhNgEum0kr+6LBXp+cyXhshijSvQIwIqw82NDmPL 3r/2AK+Nem+8RZP48uJ2fkh1zhgo8xs4ZIc63AxM3cFndH6dHRq3hsaxfD48DLgZWqPY x8iw== MIME-Version: 1.0 X-Received: by 10.224.38.138 with SMTP id b10mr13628596qae.98.1398189895611; Tue, 22 Apr 2014 11:04:55 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.191.201 with HTTP; Tue, 22 Apr 2014 11:04:55 -0700 (PDT) In-Reply-To: <20140422005950.GE1602@mail0.byshenk.net> References: <201404210205.s3L25p9U064240@svn.freebsd.org> <20140421155853.GD1602@mail0.byshenk.net> <20140422005950.GE1602@mail0.byshenk.net> Date: Tue, 22 Apr 2014 11:04:55 -0700 X-Google-Sender-Auth: loof59ACE4uF0NNGJuRZB--TKRU Message-ID: Subject: Re: svn commit: r264710 - head/sys/dev/ath From: Adrian Chadd To: Greg Byshenk Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Tue, 22 Apr 2014 18:04:56 -0000 Hi, Try setting it up without 11n enabled: ifconfig wlan0 create wlandev ath0 wlanmode hostap channel 6:g .. and if that doesn't help, try with 11n enabled but without ampdutx: ifconfig wlan0 -ampdutx I'm not using the AR5416 as an AP at the moment but it should be ok. I'm definitely using it as a station though. Can your try -HEAD instead? I don't plan on MFCing things myself back to stable/10; i rely on others who are actively using stable/10 to do it. -a On 21 April 2014 17:59, Greg Byshenk wrote: > On Mon, Apr 21, 2014 at 09:30:47AM -0700, Adrian Chadd wrote: > >> Which NIC? > > It is a TP-Link TL-WN951N "Wireless N PCI Adapter". > > dmesg: > ath0: mem 0xfe6f0000-0xfe6fffff irq 16 at device 0.0 on pci4 > ath0: AR5416 mac 13.10 RF2133 phy 8.1 > > pciconf: > ath0@pci0:4:0:0: class=0x028000 card=0x3071168c chip=0x0023168c rev=0x01 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR5008 Wireless Network Adapter' > class = network > > On 9-STABLE, I see an occasional "stuck beacon" error, but all > carries on more or less happily after. On 10-STABLE, the errors > as mentioned. (It is 10-STABLE, revision 264683). > > -greg > > >> On 21 April 2014 08:58, Greg Byshenk wrote: >> > On Sun, Apr 20, 2014 at 07:09:33PM -0700, Adrian Chadd wrote: >> >> I didn't say it in the commit message, but this should be MFCed to stable/10 . >> > >> > >> > Adrian- >> > >> > I'm curious as to what this addresses. >> > >> > I attempted to move a router/access point to FreeBSD 10 over the >> > weekend, and had to revert back to 9 as it was a terrible failure. >> > >> > It would invariably spew out masses of 'stuck beacon; resetting' >> > errors, and then at some point (not obviuously correlated with >> > those errors) lock up (hard, requiring a hard reset). >> > >> > If it is something that the patch might address, then I'll watch >> > for an MFC to stable/10 >> > >> > Thanks, >> > -greg >> > >> > >> >> On 20 April 2014 19:05, Adrian Chadd wrote: >> >> > Author: adrian >> >> > Date: Mon Apr 21 02:05:51 2014 >> >> > New Revision: 264710 >> >> > URL: http://svnweb.freebsd.org/changeset/base/264710 >> >> > >> >> > Log: >> >> > Make sure bf_next is NULL'ed out when we're completing up an aggregate >> >> > frame through the cleanup path. >> >> > >> >> > Whilst here, fix the indenting for something I messed up. >> >> > >> >> > Tested: >> >> > >> >> > * AR5416, STA mode >> >> > >> >> > Modified: >> >> > head/sys/dev/ath/if_ath_tx.c >> >> > >> >> > Modified: head/sys/dev/ath/if_ath_tx.c >> >> > ============================================================================== >> >> > --- head/sys/dev/ath/if_ath_tx.c Mon Apr 21 02:04:37 2014 (r264709) >> >> > +++ head/sys/dev/ath/if_ath_tx.c Mon Apr 21 02:05:51 2014 (r264710) >> >> > @@ -4600,10 +4600,11 @@ ath_tx_comp_cleanup_aggr(struct ath_soft >> >> > >> >> > ATH_TX_UNLOCK(sc); >> >> > >> >> > - /* Handle frame completion */ >> >> > + /* Handle frame completion as individual frames */ >> >> > bf = bf_first; >> >> > while (bf) { >> >> > bf_next = bf->bf_next; >> >> > + bf->bf_next = NULL; >> >> > ath_tx_default_comp(sc, bf, 1); >> >> > bf = bf_next; >> >> > } >> >> > @@ -5849,7 +5850,7 @@ ath_tx_node_reassoc(struct ath_softc *sc >> >> > ":", >> >> > i); >> >> > /* >> >> > - * In case there's a followup call to this, only call it >> >> > + * In case there's a followup call to this, only call it >> >> > * if we don't have a cleanup in progress. >> >> > */ >> >> > if (! tid->cleanup_inprogress) { >> >> > >> >> _______________________________________________ >> >> svn-src-all@freebsd.org mailing list >> >> http://lists.freebsd.org/mailman/listinfo/svn-src-all >> >> To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" >> > >> > -- >> > greg byshenk - gbyshenk@byshenk.net - Portland, OR USA > > -- > greg byshenk - gbyshenk@byshenk.net - Portland, OR USA