From owner-freebsd-wireless@FreeBSD.ORG Fri Feb 15 20:15:32 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ECEC21CA for ; Fri, 15 Feb 2013 20:15:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by mx1.freebsd.org (Postfix) with ESMTP id 88914249 for ; Fri, 15 Feb 2013 20:15:32 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hn17so1608156wib.16 for ; Fri, 15 Feb 2013 12:15:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=jx9NvdljRdk0ZDZ8N+6wpU9Ho5d1Kg9X3Yg/R0+3boo=; b=EA0+/1rPUwJu/IKV3oYMLZE3PcgA+E+BGfVmu1EObbp3f9t1SmaDjeTO0PP0lcRg6B lvKrowRNaYvtv4owZ+gnZ6ND4uOR9ZbKet7uJUPWl8c3V+TIvhvqvogYue3AFTIEJ+OE +b8bKEZz6Sbur2yeTy8WbnWG4aA+vVnncxgbFvRKI8sOWeTchUrxbXDVMtmcgOeDs1Zn lsUA1TPQupvVwUSTeiLoYy2+NLDjwg6tqTu0InHjzNFpk9y8xgvkTpKwXjyVH+u5jbYH LAZGQRCnmghFAaTN+XkhgkFyXWs5Zz0MMLHnZddxDI5LwEctpEXwOxS5LNb3yEAVIAYe 8buA== MIME-Version: 1.0 X-Received: by 10.194.7.136 with SMTP id j8mr6657006wja.38.1360959331324; Fri, 15 Feb 2013 12:15:31 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.236.88 with HTTP; Fri, 15 Feb 2013 12:15:31 -0800 (PST) In-Reply-To: <511E9615.3020007@gmx.net> References: <51175C69.6050003@gmx.net> <51189E1E.70206@gmx.net> <51194795.5070500@gmx.net> <511E910D.1080901@gmx.net> <511E9446.4070708@gmx.net> <511E9615.3020007@gmx.net> Date: Fri, 15 Feb 2013 12:15:31 -0800 X-Google-Sender-Auth: zYv2cntIN2MmQkWq-PybIQsSANs Message-ID: Subject: Re: ath0: device timeout on 9.1-RELEASE From: Adrian Chadd To: Kamil Szczesny Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org 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: Fri, 15 Feb 2013 20:15:33 -0000 On 15 February 2013 12:09, Kamil Szczesny wrote: > ehm, well.. ath0 seems to be, wlan0 however not: Well, wlan0 is what matters. I'm sorry, I can't be more help at the moment. I'm really busy making other things work. I'd use athstats -z (as root) and then watch your device associate. See if the TX counter values increment. There's also some further descriptor based debugging you can do if you've compiled in ATH_DEBUG, but it gets very noisy very quickly. Look at sys/dev/ath/if_ath_debug.h and enable XMIT (0x01) and XMIT_DESC (0x02) by OR'ing them together (ie, 0x03 :): # sysctl dev.ath.0.debug=0x03. Then let it do some scanning/association and fail a few times, then set it back to 0, and look at /var/log/messages. That will log the descriptor setup and completion for each TX attempt and it'll hopefully tell us whether it's actually being transmitted or not. Thanks, Adrian