linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Sangwook Lee <sangwook.lee@linaro.org>
Cc: <linux-wireless@vger.kernel.org>
Subject: Re: Question: ath6kl (driver/net/wireless/ath/ath6kl) with debug_mask value
Date: Thu, 8 Sep 2011 19:27:14 +0300	[thread overview]
Message-ID: <4E68ECE2.7060504@qca.qualcomm.com> (raw)
In-Reply-To: <CADPsn1bsUJqcuwZrW+e92aGms+t+TKRasnGb=ujzzgvz+S1Maw@mail.gmail.com>

Hi Sangwook,

On 09/07/2011 04:32 PM, Sangwook Lee wrote:
> I am running ath6kl-cleanup git.

BTW, ath6kl-cleanup.git is not updated anymore. Instead there's now
ath6kl.git which follows wireless-testing. You can find it from
git.kernel.org (when it's up again) or from github.

> If I add debug_mask values with ath6kl.ko as like followings, I get
> the success full results,
> but without this, "iwlist wlan0 scan" fails.
> 
> ath6kl: hw 2.0 fw 3.1.1.149

Hmm, I'm not sure if I have hw 2.0. I try to find one from my "stash" :)

> 1) SCAN success with debug values: ( 0xc44,c40,40)
> $ insmod ath.ko
> $ insmod ath6kl.ko debug_mask=0x40
> $ ifconfig wlan0 up
> $ iwlist wlan0 scan
> 
> 2) SCAN failure
> $ insmod ath.ko
> $ insmod ath6kl.ko
> $ ifconfig wlan0 up
> $ iwlist wlan0 scan
> With this case, there is no coming event "WMI_SCAN_COMPLETE_EVENTID".
> After receiving  "ath6kl: WMI_EXTENSION_EVENTID"
> iwlist shows error message:
>       wlan0     Failed to read scan data : Resource temporarily unavailable

0x40 is ATH6KL_DBG_HTC_RECV. I guess the debug prints slow down the
execution and papers over the bug. At least I can't think of any other
explonation right now.

Before I'm able to find a hw 2.0 device, can you try to debug this more?
When scanning fails can check if ath6kldev_intr_bh_handler() is called
or not? When scanning fails it usually happens because irqs are failing.

Can you share any details about your setup? From linaro.org I assume you
are using an arm board of some sort ;)

Kalle

  reply	other threads:[~2011-09-08 23:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-07 13:32 Question: ath6kl (driver/net/wireless/ath/ath6kl) with debug_mask value Sangwook Lee
2011-09-08 16:27 ` Kalle Valo [this message]
2011-09-09  8:54   ` Sangwook Lee
     [not found]     ` <CADPsn1Zi20JHmc7EOFCvjDmKWKtHnBCcyxTxWwBK8_vLps_u_w@mail.gmail.com>
2011-10-04 13:22       ` Sangwook Lee
2011-10-05  9:55         ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E68ECE2.7060504@qca.qualcomm.com \
    --to=kvalo@qca.qualcomm.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=sangwook.lee@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).