Linux wireless drivers development
 help / color / mirror / Atom feed
* what does this mean
@ 2011-03-27  1:45 James
  2011-03-27 11:53 ` Mohammed Shafi
  0 siblings, 1 reply; 4+ messages in thread
From: James @ 2011-03-27  1:45 UTC (permalink / raw)
  To: linux-wireless Mailing List

I tried the 2011 03 26 compat-wireless and it gives this error when I
try a scan (it finds some networks but I know there are more).

sudo iw dev wlan0 scan | grep -i ssid

ath: timeout (100000 us) on reg 0x9c20: 0x00000000 & 0x00000001 !=
0x00000001
ath: Could not kill baseband RX


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: what does this mean
  2011-03-27  1:45 what does this mean James
@ 2011-03-27 11:53 ` Mohammed Shafi
  2011-03-29  2:32   ` James
  0 siblings, 1 reply; 4+ messages in thread
From: Mohammed Shafi @ 2011-03-27 11:53 UTC (permalink / raw)
  To: James; +Cc: linux-wireless Mailing List

On Sun, Mar 27, 2011 at 7:15 AM, James <bjlockie@lockie.ca> wrote:
> I tried the 2011 03 26 compat-wireless and it gives this error when I
> try a scan (it finds some networks but I know there are more).
>
> sudo iw dev wlan0 scan | grep -i ssid
>
> ath: timeout (100000 us) on reg 0x9c20: 0x00000000 & 0x00000001 !=
> 0x00000001
> ath: Could not kill baseband RX

James, this is a fatal error.

> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: what does this mean
  2011-03-27 11:53 ` Mohammed Shafi
@ 2011-03-29  2:32   ` James
  2011-03-29  8:53     ` Mohammed Shafi
  0 siblings, 1 reply; 4+ messages in thread
From: James @ 2011-03-29  2:32 UTC (permalink / raw)
  Cc: linux-wireless Mailing List

On 03/27/11 07:53, Mohammed Shafi wrote:
> On Sun, Mar 27, 2011 at 7:15 AM, James <bjlockie@lockie.ca> wrote:
>> I tried the 2011 03 26 compat-wireless and it gives this error when I
>> try a scan (it finds some networks but I know there are more).
>>
>> sudo iw dev wlan0 scan | grep -i ssid
>>
>> ath: timeout (100000 us) on reg 0x9c20: 0x00000000 & 0x00000001 !=
>> 0x00000001
>> ath: Could not kill baseband RX
> James, this is a fatal error.
Is there anyway to increase the timeout or reset the hardware without
rebooting?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: what does this mean
  2011-03-29  2:32   ` James
@ 2011-03-29  8:53     ` Mohammed Shafi
  0 siblings, 0 replies; 4+ messages in thread
From: Mohammed Shafi @ 2011-03-29  8:53 UTC (permalink / raw)
  To: James; +Cc: linux-wireless Mailing List

On Tue, Mar 29, 2011 at 8:02 AM, James <bjlockie@lockie.ca> wrote:
> On 03/27/11 07:53, Mohammed Shafi wrote:
>> On Sun, Mar 27, 2011 at 7:15 AM, James <bjlockie@lockie.ca> wrote:
>>> I tried the 2011 03 26 compat-wireless and it gives this error when I
>>> try a scan (it finds some networks but I know there are more).
>>>
>>> sudo iw dev wlan0 scan | grep -i ssid
>>>
>>> ath: timeout (100000 us) on reg 0x9c20: 0x00000000 & 0x00000001 !=
>>> 0x00000001
>>> ath: Could not kill baseband RX
>> James, this is a fatal error.
> Is there anyway to increase the timeout or reset the hardware without
> rebooting?

this is the default timeout in hw.h
#define AH_WAIT_TIMEOUT             100000 /* (us) */

may be you can try increasing the timeout specifically for this

diff --git a/drivers/net/wireless/ath/ath9k/ar5008_phy.c
b/drivers/net/wireless/ath/ath9k/ar5008_phy.c
index 4361704..6d528ba 100644
--- a/drivers/net/wireless/ath/ath9k/ar5008_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar5008_phy.c
@@ -976,7 +976,7 @@ static bool ar5008_hw_rfbus_req(struct ath_hw *ah)
 {
        REG_WRITE(ah, AR_PHY_RFBUS_REQ, AR_PHY_RFBUS_REQ_EN);
        return ath9k_hw_wait(ah, AR_PHY_RFBUS_GRANT, AR_PHY_RFBUS_GRANT_EN,
-                          AR_PHY_RFBUS_GRANT_EN, AH_WAIT_TIMEOUT);
+                          AR_PHY_RFBUS_GRANT_EN, 1000000);
 }

and this is also there in ar9003_phy.c

> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-29  8:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-27  1:45 what does this mean James
2011-03-27 11:53 ` Mohammed Shafi
2011-03-29  2:32   ` James
2011-03-29  8:53     ` Mohammed Shafi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox