From owner-freebsd-wireless@FreeBSD.ORG Mon Jul 9 09:23:55 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1ECD1065676 for ; Mon, 9 Jul 2012 09:23:55 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 689A48FC12 for ; Mon, 9 Jul 2012 09:23:55 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:f861:b6cb:8dbf:7e62]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id E96CC4AC1C; Mon, 9 Jul 2012 13:23:52 +0400 (MSK) Date: Mon, 9 Jul 2012 13:23:51 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1252921508.20120709132351@serebryakov.spb.ru> To: Adrian Chadd In-Reply-To: References: <298155894.20120709002844@serebryakov.spb.ru> <1491344515.20120709013411@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: wireless@freebsd.org Subject: Re: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org 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: Mon, 09 Jul 2012 09:23:55 -0000 Hello, Adrian. You wrote 9 =D0=B8=D1=8E=D0=BB=D1=8F 2012 =D0=B3., 4:06:52: AC> ALQ is the queue used by KTR and others to log data. AC> Look at ieee80211_alq.c and see. AC> We just need to craft some probes in the ath TX path to log frames and AC> completion. Then we can try to figure out whats causing your TX to stal= l. I see. Latest messages about ath0: Jul 9 01:51:44 gateway kernel: ath0: ath_tx_tid_bar_unsuspend: bar_tx=3D0,= bar_wait=3D0: ? Jul 9 01:54:35 gateway kernel: ath0: device timeout Jul 9 01:55:07 gateway kernel: ath0: device timeout Jul 9 01:55:22 gateway kernel: ath0: device timeout Jul 9 02:09:58 gateway kernel: ath0: device timeout Jul 9 04:30:54 gateway kernel: ath0: ath_tx_tid_drain: node 0xc4efb000: bf= =3D0xc3514fe0: addbaw=3D0, dobaw=3D0, seqno=3D1607, retry=3D0 Jul 9 04:30:54 gateway kernel: ath0: ath_tx_tid_drain: node 0xc4efb000: bf= =3D0xc3514fe0: tid txq_depth=3D330 hwq_depth=3D0, bar_wait=3D0 Jul 9 04:30:54 gateway kernel: ath0: ath_tx_tid_drain: node 0xc4efb000: ti= d 0: txq_depth=3D1, txq_aggr_depth=3D0, sched=3D0, paused=3D-1, hwq_depth= =3D0, incomp=3D0, baw_head=3D98, baw_tail=3D98 txa_start=3D1607, ni_txseqs= =3D1937 --=20 // Black Lion AKA Lev Serebryakov