Return-path: Received: from smtp-out.google.com ([74.125.121.35]:59772 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756601Ab0JKW2R (ORCPT ); Mon, 11 Oct 2010 18:28:17 -0400 Received: from kpbe19.cbf.corp.google.com (kpbe19.cbf.corp.google.com [172.25.105.83]) by smtp-out.google.com with ESMTP id o9BMSFOD004023 for ; Mon, 11 Oct 2010 15:28:15 -0700 Received: from iwn8 (iwn8.prod.google.com [10.241.68.72]) by kpbe19.cbf.corp.google.com with ESMTP id o9BMSE3i018938 for ; Mon, 11 Oct 2010 15:28:14 -0700 Received: by iwn8 with SMTP id 8so6287931iwn.41 for ; Mon, 11 Oct 2010 15:28:14 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1286628801.3530.98.camel@jlt3.sipsolutions.net> References: <1286628801.3530.98.camel@jlt3.sipsolutions.net> Date: Mon, 11 Oct 2010 15:28:13 -0700 Message-ID: Subject: Re: Roaming / offchannel enhancements for broadcast / multicast frames From: Paul Stewart To: Johannes Berg Cc: "Luis R. Rodriguez" , linux-wireless , linux-kernel@vger.kernel.org, Matt Smith , Srinivasa Duvvuri , Carolyn Waller , Amod Bodas , David Quan , Bennyam Malavazi , Cliff Holden , Aeolus Yang , Kevin Hayes Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: [Whoops. I didn't reply-all here and only sent to Johannes] On Sat, Oct 9, 2010 at 5:53 AM, Johannes Berg wrote: > And in any case, there's no way to achieve perfect multicast reliability > _anyway_, so I don't see why you're even trying? Can somebody actually > come up with a problem statement? All I've seen so far is DHCP, but for > just that, what's wrong with doing what you already do now? I think this brings up a fairly fundamental difference in outlook here, but I think it is completely resolvable. The argument "this is an unreliable medium / class of traffic -- why spend any extra effort on receiving it" doesn't personally wash with me. I think the term used for traffic of this sort is "best effort". Especially in the situation where the background scan was triggered just for informational purposes ("what other channels does this ESS exist on? I may want to look there first when things start getting nasty on this channel"), I see no reason to either hurry the scan or knowingly interrupt any form of traffic (no matter how low on the totem pole they may appear to be). I spent a lot of effort in an an earlier life in supporting multicast and writing various multicast protocols, and I have to admit that being in position to have to defend "best effort" as such is a little distressing. :-) There are tons of different uses for multicast, and while the use cases all have to consider a situation where frames are lost on the medium, there is always a cost to their loss. In many situations it might be better from the standpoint of ultimate channel utilization to have received all multicast ("best effort") than to have left it all on the floor. As I said above, there are classes of background scan where loss of fidelity in the scan is much more tolerable. Even in the 80% passive scan case, I consider a passive-only scan channel with an AP with a beacon interval synchronized such that we will never hear from it unless we choose not to listen to our "home" beacon to be marginalized enough that I'd prefer to never see it while I'm successfully connected to a separate AP. I propose to resolve this difference in outlook by proposing another flag (orthogonal to passive/active) which describes whether the scan should be "seamless", which is to say "prioritize all traffic on the home channel above scanning". This could include the TX enhancements (abort/postpone scan immediately if transmit traffic appears) as well as receiving all multicast traffic regardless of the possible detriment to the efficacy of the scan. This may be paired with one additional feature -- progressive return of scan results. Since the scan may take a while (in some senses it already does). It would be nice to get nl80211 messages with each BSS as it is acquired, much in the same way as wpa_supplicant now does in its new DBus API. -- Paul