Skip to contentSkip to conversation

what does this mean

DISCUSSION James 2 participants 4 messages Mar 27, 2011 – Mar 29, 2011 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore

James

author
#0 lore raw

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

#1 lore raw
Quoted 8 lines · James

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.

Quoted 5 lines

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

author
#2 lore raw
Quoted 10 lines · Mohammed Shafi
Quoted 8 lines · James

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?

#3 lore raw
Quoted 5 lines · James
Quoted 4 lines · Mohammed Shafi
Quoted 3 lines · James

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).

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines

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

(quoted diff) +0 -0

b/drivers/net/wireless/ath/ath9k/ar5008_phy.c
index 4361704..6d528ba 100644

drivers/net/wireless/ath/ath9k/ar5008_phy.c +1 -1
@@ -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

Quoted 5 lines

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