Search Linux Wireless

Re: what does this mean

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 29, 2011 at 8:02 AM, James <bjlockie@xxxxxxxxx> wrote:
> On 03/27/11 07:53, Mohammed Shafi wrote:
>> On Sun, Mar 27, 2011 at 7:15 AM, James <bjlockie@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux