From: Dan Williams <dcbw@redhat.com>
To: m.fitzjohn@samsung.com
Cc: linux-wireless@vger.kernel.org
Subject: Re: mac80211: impact of netif_carrier_off during roaming
Date: Wed, 19 Jun 2013 08:06:54 -0500 [thread overview]
Message-ID: <1371647214.10785.11.camel@dcbw.foobar.com> (raw)
In-Reply-To: <004401ce6ccf$5b69e620$123db260$%fitzjohn@samsung.com>
On Wed, 2013-06-19 at 10:28 +0100, Mark Fitzjohn wrote:
> Hi
>
> I've noticed that during roaming triggered by detection of a significantly
> better AP in wpa_supplicant that mac80211 calls netif_carrier_off and then
> netif_carrier_on when associated with the new AP.
>
> Does this have any detrimental impact on applications using the wifi
> connection or is the assumption that as long as the roam happens in a
> reasonable time then applications should tolerate it?
>
> Just wondering if signalling the netif_carrier_off only when the current AP
> is lost and there is no immediate alternative AP for the network available
> was considered?
Carrier is more "can I send data the other side is expected to receive",
and that's what it's doing in mac80211. If you're roaming but not yet
associated to the new AP, you can't send any data, thus carrier is down.
Carrier for Wi-Fi is simply more complicated than ethernet because Wi-Fi
is more complicated. The current approach provides a good notification
of L2 connectivity, which maps well to the existing Ethernet semantics
and how stuff like DHCP works if it wants to renew addresses. Something
needs to provide this and carrier does that in a consistent way.
What you're probably looking for is indications of
connection/disconnection from an SSID, which is provided by
mac80211/cfg80211 and wpa_supplicant.
Dan
prev parent reply other threads:[~2013-06-19 13:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-19 9:28 mac80211: impact of netif_carrier_off during roaming Mark Fitzjohn
2013-06-19 13:06 ` Dan Williams [this message]
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=1371647214.10785.11.camel@dcbw.foobar.com \
--to=dcbw@redhat.com \
--cc=linux-wireless@vger.kernel.org \
--cc=m.fitzjohn@samsung.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