Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2013 12:15:31 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Kamil Szczesny <k.s.mail@gmx.net>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: ath0: device timeout on 9.1-RELEASE
Message-ID:  <CAJ-VmokfSBqsOrGr7GRvyvjvA61mo9Dx5uTinPJyfs%2BuK4CoUg@mail.gmail.com>
In-Reply-To: <511E9615.3020007@gmx.net>
References:  <51175C69.6050003@gmx.net> <CAJ-Vmo=5ReDqivQakH9Yuv20_wvqCqHtsxoqpYKhh=-RvpUt%2Bg@mail.gmail.com> <51189E1E.70206@gmx.net> <CAJ-Vmo=HLRkXb6NyU=tR_GbPPdu7DFQMsFrXD2qXBzdC%2BMb%2BxQ@mail.gmail.com> <51194795.5070500@gmx.net> <CAJ-VmomB7t-tEb=LCUZkGqsv0YQqqQEFT-Zq8sndqAbJsNZJsA@mail.gmail.com> <511E910D.1080901@gmx.net> <CAJ-Vmon9FskQtUdZ_nnTer6n7cGznqWQ6c4MZTm4DqT9cNTTng@mail.gmail.com> <511E9446.4070708@gmx.net> <511E9615.3020007@gmx.net>

index | next in thread | previous in thread | raw e-mail

On 15 February 2013 12:09, Kamil Szczesny <k.s.mail@gmx.net> 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokfSBqsOrGr7GRvyvjvA61mo9Dx5uTinPJyfs%2BuK4CoUg>