Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Lars Ericsson" <Lars_Ericsson@telia.com>
To: "'Johannes Berg'" <johannes@sipsolutions.net>
Cc: <linux-wireless@vger.kernel.org>, <rt2400-devel@lists.sourceforge.net>
Subject: RE: Roaming issues: Monitoring of a usable link to the AP.
Date: Wed, 27 Feb 2008 21:27:50 +0100	[thread overview]
Message-ID: <008501c8797f$38e7c520$0b3ca8c0@gotws1589> (raw)
In-Reply-To: <1204134256.6309.31.camel@johannes.berg>

Hi, 

I have split my issues ito individual disussions:

> Monitoring of a usable link to the AP.
> ======================================
> The ieee80211_rx_h_sta_process() and  ieee80211_associated() are 
> involved in monitors for dead AP connection. A last_rx value is set to 
> indicate a working connection.
> 
> The porblem is the following lines.
> 	if (!is_multicast_ether_addr(hdr->addr1) ||
> 	    rx->sdata->vif.type == IEEE80211_IF_TYPE_STA) {
> 
> Any package that arrives to an STA will update the last_rx value and 
> prohibit a link lost action.
> 
> I have noticed in my system that this function receives the following 
> type of frames:
> 1) Broad cast frames from my BSS (beacons).
> 2) Data frames addressed to me ;)
> 3) Data frames from other STA addressed to other MAC addresses but 
> using the same BSS.
> 
> It is the case 3 that creates the problem. Another STA, closer to my 
> BSS will update my last_rx value even I do not receive the BSS.
>
> I'm pretty sure case 3 can't create a problem there since rx->sta wouldn't
be set to the AP. Can you please print out "rx->sta->addr"
> after the !sta check in ieee80211_rx_h_sta_process and send me the log
indicating that we can actually get into there with sta != our own AP?
> If we can that's a bug elsewhere but I doubt it.
 
Ok. I will come back with a trace.

/Lars


  parent reply	other threads:[~2008-02-27 20:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-27 13:44 Roaming issues Lars Ericsson
2008-02-27 13:59 ` Luis R. Rodriguez
2008-02-27 16:28 ` Johannes Berg
2008-02-27 17:36   ` Dan Williams
2008-02-27 17:44     ` Johannes Berg
2008-02-27 20:25       ` Roaming issues: AP deauthentication Lars Ericsson
2008-02-28 15:57         ` Johannes Berg
2008-02-27 20:27       ` Lars Ericsson [this message]
2008-02-28 11:22         ` Roaming issues: Monitoring of a usable link to the AP Lars Ericsson
2008-02-28 16:00           ` Johannes Berg
2008-02-27 20:30       ` Roaming issues: Timeout handling Lars Ericsson

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='008501c8797f$38e7c520$0b3ca8c0@gotws1589' \
    --to=lars_ericsson@telia.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=rt2400-devel@lists.sourceforge.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