linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Hounschell <dmarkh@cfl.rr.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: markh@compro.net, linux-wireless@vger.kernel.org
Subject: Re: Wireless network problem with Access Point selection using ifup
Date: Mon, 10 Dec 2012 06:10:25 -0500	[thread overview]
Message-ID: <50C5C321.1090501@cfl.rr.com> (raw)
In-Reply-To: <1355135199.9857.11.camel@jlt4.sipsolutions.net>

On 12/10/2012 05:26 AM, Johannes Berg wrote:
> On Mon, 2012-12-10 at 05:15 -0500, Mark Hounschell wrote:
>
>> I have more info. Attached are 3 files. One for each of the APs selected.
>> The furthest away, the router in the middle and even one for the
>> closest/correct AP. In each file is the logfile for wpa_s with the -dd
>> option added, the dmesg output for that particular boot, and the iwconfig
>> output.
>
> You seem to have driver issues. After getting disconnected (for some
> reason, but this isn't surprising), you get:
>
> wlan0: State: COMPLETED -> DISCONNECTED
> ...
> Scan requested (ret=0) - scan timeout 30 seconds
> nl80211: Event message available
> nl80211: Scan trigger
> Scan timeout - try to get results
>
> ^ timeout here
>
> wlan0: Event SCAN_RESULTS (3) received
> nl80211: Received scan results (0 BSSes)
> wlan0: BSS: Start scan result update 3
> wlan0: New scan results available
> wlan0: Selecting BSS from priority group 0
> wlan0: No suitable network found
> wlan0: Setting scan request: 5 sec 0 usec
> wlan0: Checking for other virtual interfaces sharing same radio (phy0) in event_scan_results
> Scan SSID - hexdump_ascii(len=12):
>       68 6f 75 6e 73 63 68 65 6c 6c 2d 31               hounschell-1
> wlan0: Starting AP scan for wildcard SSID
> nl80211: Scan SSID - hexdump_ascii(len=12):
>       68 6f 75 6e 73 63 68 65 6c 6c 2d 31               hounschell-1
> nl80211: Scan SSID - hexdump_ascii(len=0): [NULL]
> nl80211: Scan trigger failed: ret=-16 (Device or resource busy)
>
> ^ new trigger fails
>
>
> So whatever driver you're using seems to be broken.
>
> johannes
>
>

The driver is use has was identified in the original email. So I guess this 
is the right place to report this issue? In each of the wpa log files I See 
in the beginning, a section like this:

nl80211: Received scan results (4 BSSes)
wlan0: BSS: Start scan result update 1
wlan0: BSS: Add new id 0 BSSID c8:d7:19:7a:ab:1e SSID 'hounschell-1'
wlan0: BSS: Add new id 1 BSSID 20:aa:4b:b2:dd:79 SSID 'hounschell-1'
wlan0: BSS: Add new id 2 BSSID 00:18:f8:ff:72:d5 SSID 'hounschell-1'
wlan0: BSS: Add new id 3 BSSID 00:1a:70:6d:99:50 SSID 'MACDONALD'

Every time the first one listed is the one actually selected and each time 
is different and usually NOT the closest. Why? This machine is NOT roaming. 
It is a Desktop in a fixed location. The AP is within 15ft of the ASUS USB 
adapter and in direct line of sight.  There may be more than one problem 
here. I think one of the problems is right here. Above 20:aa:4b:b2:dd:79 is 
the closest AP. Why is it not first in the list? Why, when it selects one 
of the others and it can't figure out it selected the wrong one and 
reselect the right one seems like a different problem. After all when it 
does select the correct one, all is good but the actual bandwidth.

Mark

  reply	other threads:[~2012-12-10 11:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06 14:10 Wireless network problem with Access Point selection using ifup Mark Hounschell
2012-12-06 15:03 ` Johannes Berg
2012-12-07 10:12   ` Mark Hounschell
2012-12-07 20:50     ` Mark Hounschell
2012-12-07 20:54       ` Johannes Berg
2012-12-07 21:06         ` Mark Hounschell
     [not found]           ` <50C5B65F.4040104@cfl.rr.com>
2012-12-10 10:26             ` Johannes Berg
2012-12-10 11:10               ` Mark Hounschell [this message]
2012-12-10 11:29                 ` Johannes Berg
2012-12-10 12:00                   ` Mark Hounschell
2012-12-10 12:46                     ` rtl8192cu problem - " Johannes Berg
2012-12-10 16:24                       ` Larry Finger
2012-12-10 17:38                         ` Mark Hounschell
2013-01-03 12:52                           ` Mark Hounschell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50C5C321.1090501@cfl.rr.com \
    --to=dmarkh@cfl.rr.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=markh@compro.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).