Return-path: Received: from mail-pb0-f54.google.com ([209.85.160.54]:37531 "EHLO mail-pb0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750825AbaFKFZP (ORCPT ); Wed, 11 Jun 2014 01:25:15 -0400 Received: by mail-pb0-f54.google.com with SMTP id jt11so6984006pbb.41 for ; Tue, 10 Jun 2014 22:25:14 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1399798250-20987-1-git-send-email-emmanuel.grumbach@intel.com> <1399798250-20987-3-git-send-email-emmanuel.grumbach@intel.com> From: Arik Nemtsov Date: Wed, 11 Jun 2014 08:24:59 +0300 Message-ID: (sfid-20140611_072519_781502_2AD9028C) Subject: Re: [PATCH 2/7] cfg80211: introduce regulatory flags controlling bw To: "Luis R. Rodriguez" Cc: Emmanuel Grumbach , Johannes Berg , linux-wireless , Arik Nemtsov Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Jun 11, 2014 at 12:28 AM, Luis R. Rodriguez wrote: > On Tue, May 20, 2014 at 5:31 AM, Arik Nemtsov wrote: >> On Tue, May 20, 2014 at 12:54 PM, Luis R. Rodriguez >> wrote: >>> On Tue, May 20, 2014 at 2:25 AM, Arik Nemtsov wrote: >>>> >>>> Why won't old regdb rules work? The NL80211_RRF_NO_160MHZ for instance >>>> is not used anywhere in old or new regdbs. >>>> So all the new code in reg_get_max_bandwidth is ignored in current or >>>> older crda/regdb flows. >>>> >>>> What am I missing? >>> >>> It will also be ignored on newer kernels using old wireless-regdb. >> >> Is that a problem? > > I would have not brought it up otherwise. > >> Note that the new flags don't permit more things, but only narrow down >> the range. So if VHT80 was blocked due to the range, it will still be >> blocked. >> Don't really see a reason to use them in newer regdbs either. Like you >> said - range only is more scalable. > > You can keep all those bells and whistles provided you respect old > userspace and old behavior first. I guess I'm waiting for some direction on what need to be changed. AFAICT, these flags don't hurt old userspace and/or new kernels using an old wireless-regdb. Can you propose a scenario where the new flags harm something older? Thanks, Arik