* mac80211: impact of netif_carrier_off during roaming
@ 2013-06-19 9:28 Mark Fitzjohn
2013-06-19 13:06 ` Dan Williams
0 siblings, 1 reply; 2+ messages in thread
From: Mark Fitzjohn @ 2013-06-19 9:28 UTC (permalink / raw)
To: linux-wireless
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?
Thanks
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mac80211: impact of netif_carrier_off during roaming
2013-06-19 9:28 mac80211: impact of netif_carrier_off during roaming Mark Fitzjohn
@ 2013-06-19 13:06 ` Dan Williams
0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2013-06-19 13:06 UTC (permalink / raw)
To: m.fitzjohn; +Cc: linux-wireless
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-19 13:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-19 9:28 mac80211: impact of netif_carrier_off during roaming Mark Fitzjohn
2013-06-19 13:06 ` Dan Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox