Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:33028 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751428Ab2KKNlp (ORCPT ); Sun, 11 Nov 2012 08:41:45 -0500 Message-ID: <1352641337.12119.7.camel@jlt4.sipsolutions.net> (sfid-20121111_144150_439102_2E62B21F) Subject: Re: 60 GHz interface types (was: [PATCH v5 1/2] wireless: Driver for 60GHz card wil6210) From: Johannes Berg To: Vladimir Kondratiev Cc: "John W . Linville" , linux-wireless@vger.kernel.org, "Luis R . Rodriguez" , j@w1.fi Date: Sun, 11 Nov 2012 14:42:17 +0100 In-Reply-To: <12645035.o6OUeozobZ@lx-vladimir> References: <1351701417-3140-1-git-send-email-qca_vkondrat@qca.qualcomm.com> <1351701417-3140-2-git-send-email-qca_vkondrat@qca.qualcomm.com> <1352450346.9238.9.camel@jlt4.sipsolutions.net> <12645035.o6OUeozobZ@lx-vladimir> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sun, 2012-11-11 at 10:15 +0200, Vladimir Kondratiev wrote: > > 802.11ad obviously distinguishes between a regular BSS, IBSS, and the > > new PBSS. We also differentiate between BSS and IBSS in our interface > > types, so I have a feeling that maybe we should also differentiate here, > > and not re-use the NL80211_IFTYPE_AP/... interface types. > > Yes, you are absolutely right. Standard says about PBSS (802.11ad draft 9): > > ---cut--- > A PBSS can be established only by DMG STAs. Not every DMG BSS is a PBSS. A DMG > BSS can be a PBSS, an infrastructure BSS or an IBSS. I actually missed this last bit and thought a DMG STA can only be in a PBSS, sorry. > Right now I do not have patch for this; but yes, it need to be done. I want to > finish with initial driver submission first, then continue with > infrastructure. As you mentioned earlier (and yes, I agree), without single > 60g driver infrastructure work have little meaning. However in your patch submission you said "STA, PCP and monitor modes" are supported. Don't you mean "STA, AP and monitor" then? Do we need/want a PCP_CLIENT mode? > > It seems that then we'd also need a PBSS_P2P_CLIENT and PBSS_P2P_GO, > > which is a bit odd, but then again we also do that for P2P_CLIENT vs. > > normal managed and P2P_GO vs. AP. > > This time - not exactly. P2P spec says that in DMG (Direct Multi-Gigabit) > networks P2P GO is PCP. From P2P spec 1.3 draft 4 (#2.1 P2P components): Ok, I hadn't checked the P2P update for this yet. > So, for P2P it is sufficient to have P2P_GO and P2P_CLIENT. In DMG, spec > dictates that P2P group is PBSS. P2P supplicant may deduce everything from > band. Ok. > > I'm not sure if we're ever going to see chipsets that have 60GHz and > > 2.4/5 GHz combined, and are not going to just register two wiphy's with > > the system for that, but if there was then this would certainly help > > with interface combinations etc. > > Most likely, 60g chips will be accompanied with 2.4/5 GHZ ones. Spec actually > encourage this; it defines FST (Fast Session Transfer) mechanism to bundle 60g > with 2.4/5. Right, of course. I was thinking along the lines of "what happens if the same wiphy (in cfg80211) supports both 2.4 (or 5) and 60 GHz". Does that even make sense? I don't know. But if it does make sense, is there a need to distinguish between 60 GHz client/AP/PCP interface types and the same on the low band? Now, I'd actually think that it's more likely that even if there's a device that supports both 2.4/5 and 60 GHz, it'll register two wiphys with cfg80211, since 2.4/5 and 60 are intended to cooperate, I think, so it wouldn't really make sense to build hardware that can be one of 2.4, 5, 60 (like today's 2.4/5 GHz hardware that can't be both at the same time) OTOH, maybe there would be value in being able to tell the difference between 2.4/5 and 60 purely on the interface types? Not sure either! > > Even if there isn't, it could help tools like network-manager not manage > > the 60 GHz device (without having to add special checks), which I > > suspect is what you'd want? Not really sure though. > > Yes, and I am working with Jouni for wpa_supplicant additions. > > Sure I want 60g to be managed by the network manager as it does for other > devices. Oh ok :) I guess that kinda means you *don't* want this to look different. > It works well right now for PBSS client - I connect using GUI frontend as > provided by Ubuntu or Fedora. Actually, PBSS client is like BSS one. There is > some work pending to display PCP (differentiate from AP) in the scan list. Ok so we use the same interface type for AP clients and PCP clients? I guess that's ok, or should we differentiate for some reason? I'm not familiar enough with the spec -- how close are those two? > It is correct PBSS need additional work as it should allow for automatic PCP > selection - it is like simplified P2P. P2P need some work as well. I am > looking in this direction right now. For P2P, we don't have GUI right now - or > do I miss something here? No, I don't think we have P2P UIs (other than Android?) johannes