IEEE_80211_DEBUG is compiled into the kernel.
When I ran "wlandebug +scan", I got the following output:
net.wlan.0.debug: 0x0 => 0x200000
Then I ran "ifconfig wlan0 up" and then "ifconfig wlan0 scan".
The scan now took a few seconds, but still nothing shows up.
Then I took a look at dmesg -a which was now filled with a loop of the
following messages:
wlan0: ieee80211_start_scan_locked: active scan, duration 2147483647
mindwell 0 maxdwell 0, desired mode auto, append, nojoin, once
wlan0: scan set 1g, 6g, 11g, 7g, 13g, 52a, 56a, 60a, 64a, 36a, 40a, 44a,
48a, 2g, 3g, 4g, 5g, 8g, 9g, 10g, 12g, 149a, 153a, 157a, 161a, 165a,
100a, 104a, 108a, 112a, 116a, 120a, 124a, 128a, 132a, 136a, 140a dwell
min 20ms max 200ms
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 140a -> 1g [active, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 1g -> 6g [active, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 6g -> 11g [active, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 11g -> 7g [active, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 7g -> 13g [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 13g -> 52a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 52a -> 56a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 56a -> 60a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 60a -> 64a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 64a -> 36a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 36a -> 40a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 40a -> 44a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 44a -> 48a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 48a -> 2g [active, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 2g -> 3g [active, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 3g -> 4g [active, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 4g -> 5g [active, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 5g -> 8g [active, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 8g -> 9g [active, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 9g -> 10g [active, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 10g -> 12g [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 12g -> 149a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 149a -> 153a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 153a -> 157a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 157a -> 161a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 161a -> 165a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 165a -> 100a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 100a -> 104a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 104a -> 108a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 108a -> 112a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 112a -> 116a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 116a -> 120a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 120a -> 124a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 124a -> 128a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 128a -> 132a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 132a -> 136a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=0
wlan0: scan_task: chan 136a -> 140a [passive, dwell min 20ms max 200ms]
wlan0: scan_curchan: calling; maxdwell=200
wlan0: scan_task: waiting
wlan0: scan_task: loop start; scandone=1
wlan0: scan_task: out
wlan0: sta_pick_bss: no scan candidate
wlan0: scan_task: done, [ticks 2147275107, dwell min 20 scanend 4294748797]
wlan0: notify scan done
wlan0: ieee80211_scanreq: flags 0x20052 duration 0x7fffffff mindwell 0
maxdwell 0 nssid 1
wlan0: ieee80211_check_scan: active scan, append, nojoin, once
wlan0: sta_pick_bss: no scan candidate
The system kept on printing these messages until I rebooted this machine
back to Windows (in order to write this reply).
On 3/20/2015 8:02 PM, Adrian Chadd wrote:
compile in IEEE80211_DEBUG, then "wlandebug +scan", then do the scan.
I wonder if you're hitting some scan bug where the sheer amount of
traffic going on is causing problems.
Also, seeing RX'ed frames at -130dB is .. oddly wrong for this NIC.
Something odd is going on.
-a
On 20 March 2015 at 11:21, Miguel Clara <miguelmcl...@gmail.com> wrote:
On Fri, Mar 20, 2015 at 6:01 PM, Adrian Chadd <adr...@freebsd.org> wrote:
On 20 March 2015 at 09:52, Anders Bolt-Evensen <andersb...@icloud.com>
wrote:
Hello!
Recently I had to buy a new computer as my Mac broke down.
I ended up with an Acer Aspire V17 Nitro, which, except for a couple of
problems, is all good.
One of the problems is that wifi does not work. The wifi driver is an
Atheros AR9460.
The problem is that when I attempt to scan for my wireless network,
nothing
shows up at all.
On my previous computer, where I used an external Atheros card,
everything
worked well.
Could the following line from dmesg be a symptom of my problems?
"ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000"
I'm using FreeBSD 11-CURRENT with sources updated today.
What else does it log?
I have this same card on a acer s3 (utltrabook)
@adrian this is the one I reported the performance issues but now seems to
be working ok.
For the record this is with --> r280273
commit d7efe7e99e68d52fa754f4e935814c492d818ece
Author: pfg <p...@freebsd.org>
Date: Fri Mar 20 01:07:48 2015 +0000
Permit multiple arguments for the nonnull attribute.
This is very useful for non-trivial functions and doesn't
affect existing uses.
MFC after: 5 days
Notes:
svn path=/head/; revision=280273
I'm noticing something wron with "ifconfig scan" too, it listed fine as a
normal user, but that's not really re-scanning...
% ifconfig wlan0 scan
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
**** *:1c:68 1 54M -93:-96 100 EP RSN HTCAP WPS WPA WME
**** *:13:c0 6 54M -80:-96 100 EP RSN HTCAP WPS WME
**** *:e2:0c 6 54M -83:-96 100 EP RSN HTCAP WME
**** *:f7:8c 6 54M -109:-96 100 EP RSN HTCAP WPS WPA WME
**** *:4a:12 11 54M -91:-96 100 EP RSN HTCAP WPS WPA WME
**** *:13:c4 48 54M -80:-96 100 EP RSN HTCAP WME
Trying with sudo gets in a hanged state...
[user@host:/usr/src ]% sudo ifconfig wlan0 scan
load: 0.17 cmd: ifconfig 11320 [sbwait] 35.72r 0.00u 0.00s 0% 2132k
load: 0.17 cmd: ifconfig 11320 [sbwait] 36.20r 0.00u 0.00s 0% 2132k
load: 0.19 cmd: ifconfig 11320 [sbwait] 187.79r 0.00u 0.00s 0% 2132k
load: 0.19 cmd: ifconfig 11320 [sbwait] 187.94r 0.00u 0.00s 0% 2132k
load: 0.19 cmd: ifconfig 11320 [sbwait] 188.08r 0.00u 0.00s 0% 2132k
^C
but after the ^C as a normal user again and:
ifconfig wlan0 scan
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
***** *:1c:68 1 54M -94:-96 100 EP RSN HTCAP WPS WPA WME
***** *:13:c0 6 54M -80:-96 100 EP RSN HTCAP WPS WME
***** *:e2:0c 6 54M -83:-96 100 EP RSN HTCAP WME
***** *:f7:8c 6 54M -130:-96 100 EP RSN HTCAP WPS WPA WME
***** *:4a:12 1 54M -91:-96 100 EP RSN HTCAP WPS WPA WME
***** *:13:c4 48 54M -80:-96 100 EP RSN HTCAP WME
***** ... *:99:01 6 54M -96:-96 100 E <------- This is new so it
re-scanned
I see nothing in dmesg
-adrian
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"