From nobody@FreeBSD.org  Thu Jan 27 06:40:17 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AD64D1065675
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Jan 2011 06:40:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 82D468FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Jan 2011 06:40:17 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p0R6eHVv097830
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Jan 2011 06:40:17 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p0R6eH22097829;
	Thu, 27 Jan 2011 06:40:17 GMT
	(envelope-from nobody)
Message-Id: <201101270640.p0R6eH22097829@red.freebsd.org>
Date: Thu, 27 Jan 2011 06:40:17 GMT
From: Adrian Chadd <adrian@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [ath] AR5416 in station mode hangs when transmitting frames
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         154327
>Category:       kern
>Synopsis:       [ath] AR5416 in station mode hangs when transmitting frames
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-wireless
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 27 06:50:06 UTC 2011
>Closed-Date:    
>Last-Modified:  Sat Apr 09 03:03:27 UTC 2011
>Originator:     Adrian Chadd
>Release:        -HEAD r217882
>Organization:
>Environment:
routerstation pro (mipsbe); head -r217882
>Description:
The AR5416 scans fine but fails to TX packets, resulting in a device timeout and/or BB hang.

Dmesg fragment:

Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-CURRENT #31 r217691:217921M: Thu Jan 27 11:25:17 WST 2011
    adrian@pcbsd-3114:/data/freebsd/mips/head/obj/rspro_head/mips.mipseb/data/freebsd/mips/head/src/sys/RSPRO_STANDALONE mips
real memory  = 134217728 (131072K bytes)
avail memory = 124760064 (118MB)
nexus0: <MIPS32 root nexus>
clock0: <Generic MIPS32 ticker> on nexus0
Timecounter "MIPS32" frequency 360000000 Hz quality 800
Event timer "MIPS32" frequency 360000000 Hz quality 800
apb0 at irq 4 on nexus0
uart0: <16550 or compatible> on apb0
uart0: console (115200,n,8,1)
ehci0: <AR71XX Integrated USB 2.0 controller> at mem 0x1b000000-0x1bffffff irq 1 on nexus0
usbus0: set host controller mode
usbus0: EHCI version 1.0
usbus0: set host controller mode
usbus0: <AR71XX Integrated USB 2.0 controller> on ehci0
pcib0 at irq 0 on nexus0
pci0: <PCI bus> on pcib0
pci0: <old, non-VGA display device> at device 0.0 (no driver attached)
ath0: <Atheros 9280> irq 0 at device 17.0 on pci0
ath0: AR9280 mac 128.2 RF5133 phy 13.0
ath1: <Atheros 5416> irq 1 at device 18.0 on pci0
ath1: AR5416 mac 13.10 RF5133 phy 8.1

In monitor mode, the card receives frames fine. But when trying to associate, the card hangs.

TODO (for a reminder for me):

* try a different slot
* try without an AR9280 in the other slot
* try creating an adhoc AP and TX'ing unicast/broadcast packets w/ another laptop in monitor mode to see if it makes it out into the air

Also:

* try a HAL checkout from -before- my changes. I seem to recall test this a while ago and I found that it worked (well enough.)
* Try a HAL checkout from my GIT HAL, see if that works too.

>How-To-Repeat:
Configure it up in station mode; attach wpa_supplicant; attempt to associate to a 11bg AP.



>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->adrian 
Responsible-Changed-By: adrian 
Responsible-Changed-When: Thu Jan 27 06:51:22 UTC 2011 
Responsible-Changed-Why:  
my bug 


http://www.freebsd.org/cgi/query-pr.cgi?pr=154327 
Responsible-Changed-From-To: adrian->freebsd-wireless 
Responsible-Changed-By: adrian 
Responsible-Changed-When: Sat Apr 9 03:03:12 UTC 2011 
Responsible-Changed-Why:  
bump to mailing list 


http://www.freebsd.org/cgi/query-pr.cgi?pr=154327 
>Unformatted:
