Return-path: Received: from mail-la0-f42.google.com ([209.85.215.42]:58538 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754539AbaBUKJK (ORCPT ); Fri, 21 Feb 2014 05:09:10 -0500 Received: by mail-la0-f42.google.com with SMTP id hr17so347242lab.15 for ; Fri, 21 Feb 2014 02:09:08 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1392976535.4346.46.camel@jlt4.sipsolutions.net> References: <1392231266-28479-1-git-send-email-janusz.dziedzic@tieto.com> <1392972748.4346.37.camel@jlt4.sipsolutions.net> <1392976535.4346.46.camel@jlt4.sipsolutions.net> Date: Fri, 21 Feb 2014 11:09:08 +0100 Message-ID: (sfid-20140221_110916_329132_3AE04D43) Subject: Re: [PATCH 1/4] cfg80211: regulatory, introduce DFS CAC time From: Janusz Dziedzic To: Johannes Berg Cc: linux-wireless@vger.kernel.org, "Luis R. Rodriguez" , John Linville Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 21 February 2014 10:55, Johannes Berg wrote: > On Fri, 2014-02-21 at 10:47 +0100, Janusz Dziedzic wrote: >> On 21 February 2014 09:52, Johannes Berg wrote: >> > On Wed, 2014-02-12 at 19:54 +0100, Janusz Dziedzic wrote: >> > >> >> +++ b/include/net/regulatory.h >> >> @@ -155,6 +155,7 @@ struct ieee80211_reg_rule { >> >> struct ieee80211_freq_range freq_range; >> >> struct ieee80211_power_rule power_rule; >> >> u32 flags; >> >> + u32 dfs_cac_ms; >> >> }; >> > >> > Does that really have to be per channel? That's a significant investment >> > into bss size since we have a lot of channel structs. >> > >> This seems easiest way to handle ETSI VHT80/40 case for channels with >> different CAC time (eg): >> VHT80: >> - 116 (60s) >> - 120 (600s) >> - 124 (600s) >> - 128 (600s) >> >> VHT40/HT40: >> - 132 (600s) >> - 136 (60s) > > Huh, but you don't distinguish between channel widths in this whole > patchset? > In patch cfg80211: DFS get CAC time from regulatory I check whole chandef and get max channel cac value. BR Janusz