Skip to contentSkip to conversation

Frequent disconnects with ath9k

DISCUSSION Miek Gieben 2 participants 2 messages Jul 12, 2012 – Jul 15, 2012

lore
Share & tools
lore
#0 lore raw

Hello,

I'm experiencing frequent disconnects with the ath9k driver and the AR9485 wireless adapter. This Ubuntu bug report has more information:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/773154

I've tried:
* Newer kernels, from stock Ubuntu 12.04, through 3.4.x and staying with 3.5-rc6 now. All kernels show the same problem, although is seems to get better (less disconnects). Running 3.5-rc6 atm.

* Switched with wicd, seems to help. The background scanning of network manager makes things worse.

* Disabled power management: does not help (at least in the newer kernels it has no effect, in some older ones (<3.2.0) is sort of looked like it did something.

* Disable the hw encryption: didn't help.

* Disabled 'ani' (don't know what that is, but it didn't help).

* Disabled ipv6: didn't help.

Things that seems related to the disconnects:

* Noisy environment, multiple access points in the neighborhood with the same SSID.

* The background scanning from network-manager. With wicd the situation is much more tolerable.

* After a sleep/resume cycle is seems worse.

Does someone know what the issue might be? Please CC me on any replies - I'm not subscribed to this list.

Below is a trace from my kernel log, which shows a disconnect:

[ 1453.116807] wlan0: RX AssocResp from 28:10:xx:xx:xx:xx (capab=0x431 status=0 aid=2)                                                    
[ 1453.116818] wlan0: associated                                                                                                          
[ 2177.242371] cfg80211: All devices are disconnected, going to restore regulatory settings                                               
[ 2177.242387] cfg80211: Restoring regulatory settings                                                                                    
[ 2177.242396] cfg80211: Calling CRDA to update world regulatory domain                                                                   
[ 2177.246070] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain                   
[ 2177.249079] cfg80211: World regulatory domain updated:                                                                                 
[ 2177.249084] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)                                              
[ 2177.249089] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)                                                   
[ 2177.249094] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)                                                   
[ 2177.249098] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)                                                   
[ 2177.249102] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)                                                   
[ 2177.249106] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)                                                   
[ 2177.615761] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready                                                                        
[ 2180.097436] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready                                                                        
[ 2182.905090] wlan0: authenticate with 28:10:xx:xx:xx:xx                                                                                 
[ 2182.913345] wlan0: send auth to 28:10:xx:xx:xx:xx (try 1/3)                                                                            
[ 2182.915536] wlan0: authenticated                                                                                                       
[ 2182.924019] wlan0: associate with 28:10:xx:xx:xx:xx (try 1/3)                                                                          
[ 2182.927029] wlan0: RX AssocResp from 28:10:xx:xx:xx:xx (capab=0x431 status=0 aid=2)                                                    
[ 2182.927040] wlan0: associated                                                                                                          
[ 2182.927857] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready                                                                   
[ 2182.928095] cfg80211: Calling CRDA for country: GB                                                                                     
[ 2182.936422] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:                      
[ 2182.936431] cfg80211: 2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)                                                  

Kind Regards,

Signature · 1 line
    Miek Gieben                                                   http://miek.nl
#1 lore raw
Quoted 7 lines · Miek Gieben

Hello,

I'm experiencing frequent disconnects with the ath9k driver and the AR9485 wireless adapter. This Ubuntu bug report has more information:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/773154

I am having the same exact issue (/var/log/kern.log shows the same output on ubunut 12.04 as well) especially when disconnecting from a power source. Disabling power management doesn't seem to make much of a difference, nor does updating compat-wireless.