From owner-freebsd-wireless@FreeBSD.ORG Wed Aug 6 08:53:42 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 413EA518 for ; Wed, 6 Aug 2014 08:53:42 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28D2B2746 for ; Wed, 6 Aug 2014 08:53:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s768rg27081745 for ; Wed, 6 Aug 2014 08:53:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 192415] [ath] AR933x power save causes the AR9331 to stop DMA Date: Wed, 06 Aug 2014 08:53:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: adrian@freebsd.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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, 06 Aug 2014 08:53:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192415 --- Comment #1 from Adrian Chadd --- Specifically: root@freebsd-carambola2:/home/adrian # sysctl dev.ath.0.stats.sync_intr | grep -v ': 0$' dev.ath.0.stats.sync_intr.10: 52 dev.ath.0.stats.sync_intr.13: 52 The bits from ar9300reg.h: AR9300_INTR_SYNC_RADM_CPL_TLP_ABORT = 0x00000400, AR9300_INTR_SYNC_LOCAL_TIMEOUT = 0x00002000, .. now, the former is not entirely right - those bits are PCIe host interface specific. The latter bit is likely valid for the AR9331. I'll have to get a hold of the AR9331 host interface description from Atheros to figure out what the sync interrupt bits actually mean here. I do think that a register was programmed whilst the NIC was in network or full sleep. I'll have to figure out why my debugging code isn't picking up on that. -- You are receiving this mail because: You are the assignee for the bug.