linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: "Luis R. Rodriguez" <mcgrof@gmail.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: No ProbeResp - assume out of range
Date: Tue, 4 Nov 2008 13:19:58 -0500	[thread overview]
Message-ID: <20081104181958.GA22897@infradead.org> (raw)
In-Reply-To: <43e72e890811021305k19e9a314i6400cd1a759b3d00@mail.gmail.com>

On Sun, Nov 02, 2008 at 01:05:56PM -0800, Luis R. Rodriguez wrote:
> I'm curious if others are getting this frequently as I am:
> 
> No ProbeResp from current AP 00:DE:AD:BE:EE:FF - assume out of range
> 
> I get this with ath5k and ath9k, can be triggered easily in ath5k by
> doing a lot of consecutive:
> 
> iwlist wlan0 scan
> 
> I have to check if I can trigger this with ath9k by scanning too. We
> were seeing this with ath9k but were thinking it was ath9k related as
> it can be triggered on it after doing a large TX. Wondering if this is
> more of a generic and mac80211 issue.

I'm seeing this all the time with ath9k.  For now I'm running with the
following local hack:

Index: linux-2.6/net/mac80211/mlme.c
===================================================================
--- linux-2.6.orig/net/mac80211/mlme.c	2008-11-04 18:10:41.000000000 +0100
+++ linux-2.6/net/mac80211/mlme.c	2008-11-04 18:10:56.000000000 +0100
@@ -972,7 +972,7 @@ static void ieee80211_associated(struct 
 				       "current AP %s - assume out of "
 				       "range\n",
 				       sdata->dev->name, print_mac(mac, ifsta->bssid));
-				disassoc = 1;
+//				disassoc = 1;
 			} else
 				ieee80211_send_probe_req(sdata, ifsta->bssid,
 							 ifsta->ssid,

which makes the problem of an actual disassociation after this message
go away which made wireless completely unuseable with -rc3 for.  Given
that the message never appears a second time just increasing the time
it appears that just increasing IEEE80211_MONITORING_INTERVAL should
fix the problem, too.

  parent reply	other threads:[~2008-11-04 18:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-02 21:05 No ProbeResp - assume out of range Luis R. Rodriguez
2008-11-02 22:03 ` Michael Buesch
2008-11-02 22:29   ` Luis R. Rodriguez
2008-11-02 22:52     ` Michael Buesch
2008-11-02 22:42   ` Tomas Winkler
2008-11-02 22:58     ` Luis R. Rodriguez
2008-11-03  0:25       ` Luis R. Rodriguez
2008-11-03 16:48         ` Felix Fietkau
2008-11-03 17:50           ` Johannes Berg
2008-11-04  5:32             ` Bharat Bhushan
2008-11-04  7:05               ` Kalle Valo
2008-11-04  6:58             ` Kalle Valo
2008-11-04 11:17         ` Michael Buesch
2008-11-04 12:43           ` Bob Copeland
2008-11-03  7:19     ` Kalle Valo
2008-11-02 22:33 ` Davide Pesavento
2008-11-04 18:19 ` Christoph Hellwig [this message]
2008-11-04 19:15   ` Luis R. Rodriguez
2008-11-05 10:30     ` Kalle Valo

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=20081104181958.GA22897@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mcgrof@gmail.com \
    /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).