Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Feb 2009 14:26:23 -0800
From:      Sam Leffler <sam@freebsd.org>
To:        Lars Engels <lme@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: ath cannot find my wireless network any more
Message-ID:  <4986218F.5060408@freebsd.org>
In-Reply-To: <20090201095721.GE60948@e.0x20.net>
References:  <20090129192241.GZ60948@e.0x20.net>	<20090129192830.GE73709@citylink.fud.org.nz>	<20090129194826.GA60948@e.0x20.net> <49820EAC.5090400@freebsd.org>	<20090129204323.GB60948@e.0x20.net>	<3a142e750901291328w537b2070t216e393a0fd5b8ba@mail.gmail.com>	<20090129215424.GC60948@e.0x20.net> <49853423.9050208@freebsd.org> <20090201095721.GE60948@e.0x20.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Lars Engels wrote:
> On Sat, Jan 31, 2009 at 09:33:23PM -0800, Sam Leffler wrote:
>   
>> Lars Engels wrote:
>>     
>>> Ahhh, thanks for the hint. There's a lot of scanning going on in
>>> /var/log/messages but no sign of my own network.
>>>       
>> Unfortunately you haven't shown what this output is.  I asked you to do
>> it to be sure the scan visited the channel w/ your ap and/or whether it
>> sent a probe request frame or saw a beacon from the ap.  The hal changes
>> should not have altered anything for you because your eeprom setup
>> appears to have default settings.  I've been running these changes for a
>> while but I'm likely testing different things than you.
>>
>> If you can send me the debug output it might help (feel free to send it
>> directly).  Otherwise you might try reverting the change.  Since you
>> still haven't sent me the mac+phy revs for your card I can't try to
>> reproduce your setup.
>>     
>
> Sorry, I thought you wanted to see the scan results only when my network shows up.
> Here are two rounds of scanning:
>
> Feb  1 10:48:19 maggie kernel: ath0: <Atheros 5212> mem 0x88000000-0x8800ffff irq 20 at device 0.0 on cardbus0
> Feb  1 10:48:19 maggie kernel: ath0: [ITHREAD]
> Feb  1 10:48:19 maggie kernel: ath0: WARNING: using obsoleted if_watchdog interface
> Feb  1 10:48:19 maggie kernel: ath0: mac 5.9 phy 4.3 radio 3.6
> Feb  1 10:48:19 maggie kernel: wlan0: Ethernet address: 00:0f:b5:9a:47:47
> Feb  1 10:49:23 maggie kernel: wlan0: scan_next: chan  36a ->  40a [active, dwell min 20 max 200]
> Feb  1 10:49:24 maggie kernel: wlan0: scan_next: chan  40a ->  44a [active, dwell min 20 max 200]
> Feb  1 10:49:24 maggie kernel: wlan0: scan_next: chan  44a ->  48a [active, dwell min 20 max 200]
> Feb  1 10:49:24 maggie kernel: wlan0: scan_next: chan  48a ->   2g [active, dwell min 20 max 200]
> Feb  1 10:49:24 maggie kernel: wlan0: scan_next: chan   2g ->   3g [active, dwell min 20 max 200]
> Feb  1 10:49:24 maggie kernel: wlan0: scan_next: chan   3g ->   4g [active, dwell min 20 max 200]
> Feb  1 10:49:25 maggie kernel: wlan0: scan_next: chan   4g ->   5g [active, dwell min 20 max 200]
> Feb  1 10:49:25 maggie kernel: wlan0: scan_next: chan   5g ->   8g [active, dwell min 20 max 200]
> Feb  1 10:49:25 maggie kernel: wlan0: scan_next: chan   8g ->   9g [active, dwell min 20 max 200]
> Feb  1 10:49:25 maggie kernel: wlan0: scan_next: chan   9g ->  10g [active, dwell min 20 max 200]
> Feb  1 10:49:26 maggie kernel: wlan0: scan_next: chan  10g -> 149a [active, dwell min 20 max 200]
> Feb  1 10:49:26 maggie kernel: wlan0: scan_next: chan 149a -> 153a [active, dwell min 20 max 200]
> Feb  1 10:49:26 maggie kernel: wlan0: scan_next: chan 153a -> 157a [active, dwell min 20 max 200]
> Feb  1 10:49:26 maggie kernel: wlan0: scan_next: chan 157a -> 161a [active, dwell min 20 max 200]
> Feb  1 10:49:26 maggie kernel: wlan0: scan_next: chan 161a -> 165a [active, dwell min 20 max 200]
> Feb  1 10:49:27 maggie kernel: wlan0: scan_next: chan 165a ->  50S [active, dwell min 20 max 200]
> Feb  1 10:49:27 maggie kernel: wlan0: scan_next: chan  50S ->  58S [active, dwell min 20 max 200]
> Feb  1 10:49:27 maggie kernel: wlan0: scan_next: chan  58S -> 152S [active, dwell min 20 max 200]
> Feb  1 10:49:27 maggie kernel: wlan0: scan_next: chan 152S -> 160S [active, dwell min 20 max 200]
> Feb  1 10:49:27 maggie kernel: wlan0:  macaddr          bssid         chan  rssi  rate flag  wep  essid
> Feb  1 10:49:27 maggie kernel: - 00:03:c9:54:18:bb 00:03:c9:54:18:bb    8     3! 54M   ess  wep  0x000000000000
> Feb  1 10:49:27 maggie kernel: - 00:1a:2a:c6:de:56 00:1a:2a:c6:de:56    9     4! 54M   ess  wep  "Arcor-C6DE58"
> Feb  1 10:49:27 maggie kernel: wlan0: scan_next: done, [ticks 284189, dwell min 20 scanend 2147762094]
> Feb  1 10:49:27 maggie kernel: wlan0: notify scan done
> Feb  1 10:49:32 maggie kernel: wlan0: ieee80211_ioctl_scanreq: flags 0x20052 duration 0x7fffffff mindwell 0 maxdwell 0 nssid 1
> Feb  1 10:49:32 maggie kernel: wlan0: ieee80211_check_scan: active scan, append, nojoin, once
> Feb  1 10:49:32 maggie kernel: wlan0:  macaddr          bssid         chan  rssi  rate flag  wep  essid
>
>
> And here is the output of sysctl:
>
> lars@pts/6 > sysctl dev.ath.0
> dev.ath.0.%desc: Atheros 5212
> dev.ath.0.%driver: ath
> dev.ath.0.%location: slot=0 function=0
> dev.ath.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x1385 subdevice=0x4610 class=0x020000
> dev.ath.0.%parent: cardbus0
> dev.ath.0.smoothing_rate: 95
> dev.ath.0.sample_rate: 10
> dev.ath.0.sample_stats: 0
> dev.ath.0.countrycode: 0
> dev.ath.0.regdomain: 0
> dev.ath.0.slottime: 9
> dev.ath.0.acktimeout: 22
> dev.ath.0.ctstimeout: 22
> dev.ath.0.softled: 0
> dev.ath.0.ledpin: 0
> dev.ath.0.ledon: 0
> dev.ath.0.ledidle: 2700
> dev.ath.0.txantenna: 0
> dev.ath.0.rxantenna: 1
> dev.ath.0.diversity: 1
> dev.ath.0.txintrperiod: 5
> dev.ath.0.diag: 0
> dev.ath.0.tpscale: 0
> dev.ath.0.tpc: 0
> dev.ath.0.tpack: 63
> dev.ath.0.tpcts: 63
> dev.ath.0.fftxqmin: 2
> dev.ath.0.fftxqmax: 50
> dev.ath.0.intmit: 1
> dev.ath.0.monpass: 24
>
> Feb  1 10:49:32 maggie kernel: - 00:03:c9:54:18:bb 00:03:c9:54:18:bb    8     3! 54M   ess  wep  0x000000000000!
> Feb  1 10:49:32 maggie kernel: - 00:1a:2a:c6:de:56 00:1a:2a:c6:de:56    9     4! 54M   ess  wep  "Arcor-C6DE58"!
> Feb  1 10:49:32 maggie kernel: wlan0: start_scan_locked: active scan, duration 2147483647 mindwell 0 maxdwell 0, desired mode auto, append, nojoin, once
> Feb  1 10:49:32 maggie kernel: wlan0: scan set 1g, 6G, 11g, 7g, 52a, 56a, 60a, 64a, 36a, 40a, 44a, 48a, 2g, 3g, 4g, 5g, 8g, 9g, 10g, 149a, 153a, 157a, 161a, 165a, 50S, 58S, 152S, 160S dwell min 20 max 200
>   

The scan list used 6G (Dynamic Turbo G aka 108G) for channel 6; this was 
why you never saw ap's operating on channel 6.

> Feb  1 10:49:32 maggie kernel: wlan0: scan_next: chan 160S ->   1g [active, dwell min 20 max 200]
> Feb  1 10:49:33 maggie kernel: wlan0: scan_next: chan   1g ->   6G [active, dwell min 20 max 200]
> Feb  1 10:49:33 maggie kernel: wlan0: scan_next: chan   6G ->  11g [active, dwell min 20 max 200]
> Feb  1 10:49:33 maggie kernel: wlan0: scan_next: chan  11g ->   7g [active, dwell min 20 max 200]
> Feb  1 10:49:33 maggie kernel: wlan0: scan_next: chan   7g ->  52a [active, dwell min 20 max 200]
> Feb  1 10:49:33 maggie kernel: wlan0: scan_next: chan  52a ->  56a [active, dwell min 20 max 200]
> Feb  1 10:49:34 maggie kernel: wlan0: scan_next: chan  56a ->  60a [active, dwell min 20 max 200]
> Feb  1 10:49:34 maggie kernel: wlan0: scan_next: chan  60a ->  64a [active, dwell min 20 max 200]
> Feb  1 10:49:34 maggie kernel: wlan0: scan_next: chan  64a ->  36a [active, dwell min 20 max 200]
> Feb  1 10:49:34 maggie kernel: wlan0: scan_next: chan  36a ->  40a [active, dwell min 20 max 200]
> Feb  1 10:49:34 maggie kernel: wlan0: scan_next: chan  40a ->  44a [active, dwell min 20 max 200]
> Feb  1 10:49:35 maggie kernel: wlan0: scan_next: chan  44a ->  48a [active, dwell min 20 max 200]
> Feb  1 10:49:35 maggie kernel: wlan0: scan_next: chan  48a ->   2g [active, dwell min 20 max 200]
> Feb  1 10:49:35 maggie kernel: wlan0: scan_next: chan   2g ->   3g [active, dwell min 20 max 200]
> Feb  1 10:49:35 maggie kernel: wlan0: scan_next: chan   3g ->   4g [active, dwell min 20 max 200]
> Feb  1 10:49:35 maggie kernel: wlan0: scan_next: chan   4g ->   5g [active, dwell min 20 max 200]
> Feb  1 10:49:36 maggie kernel: wlan0: scan_next: chan   5g ->   8g [active, dwell min 20 max 200]
> Feb  1 10:49:36 maggie kernel: [00:03:c9:54:18:bb] new beacon on chan 8 (bss chan 8) 0x000000000000 rssi 3
> Feb  1 10:49:36 maggie kernel: [00:03:c9:54:18:bb] caps 0x411 bintval 100 erp 0x100
> Feb  1 10:49:36 maggie kernel: wlan0: ieee80211_add_scan: chan   8g min dwell met (292559 > 292497)
> Feb  1 10:49:36 maggie kernel: wlan0: scan_next: chan   8g ->   9g [active, dwell min 20 max 200]
> Feb  1 10:49:36 maggie kernel: [00:1a:2a:c6:de:56] new beacon on chan 9 (bss chan 9) "Arcor-C6DE58" rssi 4
> Feb  1 10:49:36 maggie kernel: [00:1a:2a:c6:de:56] caps 0x431 bintval 100 erp 0x100
> Feb  1 10:49:36 maggie kernel: wlan0: ieee80211_add_scan: chan   9g min dwell met (292590 > 292585)
> Feb  1 10:49:36 maggie kernel: wlan0: scan_next: chan   9g ->  10g [active, dwell min 20 max 200]
> Feb  1 10:49:36 maggie kernel: wlan0: scan_next: chan  10g -> 149a [active, dwell min 20 max 200]
> Feb  1 10:49:36 maggie kernel: wlan0: scan_next: chan 149a -> 153a [active, dwell min 20 max 200]
> Feb  1 10:49:36 maggie kernel: wlan0: scan_next: chan 153a -> 157a [active, dwell min 20 max 200]
> Feb  1 10:49:37 maggie kernel: wlan0: scan_next: chan 157a -> 161a [active, dwell min 20 max 200]
> Feb  1 10:49:37 maggie kernel: wlan0: scan_next: chan 161a -> 165a [active, dwell min 20 max 200]
> Feb  1 10:49:37 maggie kernel: wlan0: scan_next: chan 165a ->  50S [active, dwell min 20 max 200]
> Feb  1 10:49:37 maggie kernel: wlan0: scan_next: chan  50S ->  58S [active, dwell min 20 max 200]
> Feb  1 10:49:37 maggie kernel: wlan0: scan_next: chan  58S -> 152S [active, dwell min 20 max 200]
> Feb  1 10:49:38 maggie kernel: wlan0: scan_next: chan 152S -> 160S [active, dwell min 20 max 200]
> Feb  1 10:49:38 maggie kernel: wlan0:  macaddr          bssid         chan  rssi  rate flag  wep  essid
> Feb  1 10:49:38 maggie kernel: - 00:03:c9:54:18:bb 00:03:c9:54:18:bb    8     3! 54M   ess  wep  0x000000000000!
> Feb  1 10:49:38 maggie kernel: - 00:1a:2a:c6:de:56 00:1a:2a:c6:de:56    9     4! 54M   ess  wep  "Arcor-C6DE58"!
> Feb  1 10:49:38 maggie kernel: wlan0: scan_next: done, [ticks 294642, dwell min 20 scanend 2147772838]
> Feb  1 10:49:38 maggie kernel: wlan0: notify scan done
>   
Should be fixed by r187991.

    Sam




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4986218F.5060408>