Return-path: Received: from mail-lb0-f175.google.com ([209.85.217.175]:50406 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934571Ab3GRXbP (ORCPT ); Thu, 18 Jul 2013 19:31:15 -0400 Received: by mail-lb0-f175.google.com with SMTP id r10so2942549lbi.6 for ; Thu, 18 Jul 2013 16:31:13 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1372768095-26053-1-git-send-email-ilan.peer@intel.com> <1372768095-26053-2-git-send-email-ilan.peer@intel.com> From: "Luis R. Rodriguez" Date: Thu, 18 Jul 2013 16:30:53 -0700 Message-ID: (sfid-20130719_013127_805951_896811FB) Subject: Re: [PATCH 1/3] [RFC] cfg80211: Add indoor only and GO concurrent channel attributes To: "Peer, Ilan" Cc: "wireless-regdb@lists.infradead.org" , linux-wireless , "Spinadel, David" , "Ginsburg, Noam" , "Perelmooter, Liraz" , "Shalev, Oz" , Michael Green Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Jul 17, 2013 at 11:47 AM, Peer, Ilan wrote: > On some day Luis wrote: > >> Based on the documentation I reviewed and your proposal it'd seem to me that >> we can distinguish GO on the upper layers and determine if a channel is DFS or >> not by just the DFS flag. The next hint you'd need is if the GO got regulatory >> information from a master somehow, no? > > This should also be handled by user space, based on the device type/sub type of the local device directly, or > indirectly through other means such a managed interface associating with an AP that it's device type > value is 6 etc. This seems reasonable but we need to also consider state machine changes possible on the channel the GO is on as well and there are different reasons for the channel to change: * beacon hint - nl80211_send_beacon_hint_event() * regulatory change - nl80211_send_reg_change_event() The beacon hint multicast group message sends the channel prior to the beacon hint and after. The regulatory change event currently isn't as atomic and only provides the the fact that regulatory domain state machine has incurred a change. In this case it may make sense to send all wiphy information and have hostapd verify if a change has occurred on the channel. >> That is I am not seeing a need for a new flag at this point in wireless-regdb, >> given also I mentioned another type of case for regulatory hints technically >> possible (cellular base station hints but it seems only allowed with exceptional >> review by the FCC). >> >> I take it what you want to enable here is GO operation on DFS channels and use >> country IEs to determine if you can use GO, but if you do have GO enabled then >> you'd want hooks to not daisy chain, ack? > > Currently, we do not intend to base the relaxation on the country IE directly, Its still a possibility so it should be handled and we should consider it on core regulatory. One possible solution might be to not enable GO unless the the NL80211_ATTR_REG_INITIATOR was something appropriate for the wiphy. > but base it on the fact that if > there is a managed connection to an AP who's not a mobile device (assuming that it is an authorized master), How do you intend on verifying a device that has associated to an AP, that that AP is not a mobile device, ie that it fits this "authorized master" category ? > than the channel used by the managed connection is valid for use (as long as the managed interface > is connected to the AP on the channel). Makes sense. Luis