Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp225793pxb; Thu, 26 Aug 2021 01:24:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLOwYwa9RJndUIkM0s8tZA71uNsN2eo4Yu6lZ9dRFafppCesW2/DHXD2BHvfQj3WDE27bC X-Received: by 2002:a50:c905:: with SMTP id o5mr3066542edh.250.1629966246323; Thu, 26 Aug 2021 01:24:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629966246; cv=none; d=google.com; s=arc-20160816; b=U/6yNtsDwe/7koeTxdxP8qL21Y7LsbQmpRwNBg5suK5bokAvwbXWntoBvcPmgA8Spx kE55y/kzUhjX6rkIwvOdiGMHKnxOn9BLkwtCinzsPIHrBGBURlfRCP7m4DFMpKc6BFMs VOOcHXpDXKFShH4lBFebiVhFiJ1UaZu2p2BpVxRgq+9X0iA1kP+gJxuhDstonvVWC6P6 R1iGbt7notos1q1/sHF0iphsI2r2LJIPxtUHuky+olRMonwwDzrpRr7IT5yLgTtom4FA ZNdCDFPJKz5KjB1L0MdSLcVJWeBbdrgysjyIF9rfcWqTctJe6z9jF3Ami+ez3zL9J+A2 +RFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=b8XUGoFPW6vRAEsN3iQ2xKUBOJTnFrxIvxTg5qvp850=; b=wEPCcB5h9U/lCRQZah1yT2tJa+uuuxpYGO27Wezib23yNuHWVKQCSdAXLqXLQW+LUT 2xpHiaC8LVW82uh265iU06pA5LoHNleF35nEQx2wP6TkkBq3pvSzGL/ggVNPmI3+AcD1 nZ4P5KXdwYiMotu01YsyLAOSK8GJqGh6e58hj8fRqyQEDwS2qSq0JKnshmN9VMQjUbdB D7OxbKr19WcRtu+C/waWXLWqRRxBtSYPAfC3VJrmBfp9W0j9n5J8ArfuE/KeLe9/5nQK 3N04XKmbxyzvsNtioH9+aiAtrm+l1RbjIoC3p7vd5moZ+qsSo8FCVe3oBXjC3N+RlZQQ lLbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=TII6JIq9; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p22si2354051edx.454.2021.08.26.01.23.42; Thu, 26 Aug 2021 01:24:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=TII6JIq9; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240397AbhHZIVD (ORCPT + 99 others); Thu, 26 Aug 2021 04:21:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232992AbhHZIVC (ORCPT ); Thu, 26 Aug 2021 04:21:02 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5415EC061757 for ; Thu, 26 Aug 2021 01:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=b8XUGoFPW6vRAEsN3iQ2xKUBOJTnFrxIvxTg5qvp850=; t=1629966015; x=1631175615; b=TII6JIq9GdhjcyqD1XhuNgkhrG5jrn/PvQ3XIpzWl1e1fct gnR2hkW0p14biniSwG2a3JDCrUlWZIvcYzRB2Si7HclTsNg7MSqdRWkTN2CnbOtRNWp4vvkoT47Hx 7pjHX9qnP1PXH+rZObhI7jVW5xxwL3HpHYp+0C9Pkd4niDSLCZ5e4eOAr5S11Poc7LOYfDCjDxwWV Bod/pSYwdcpYBeFZocLvDfi9H+sdWbCBdOAGZe/eXFAXqszFgMPFnUtAMiyw3xZJmxyCkmE1WYrA7 T81Xk8NctKcVbJjTYraSVTECFjeEa4jNOrsvr1j44vtep/JUP/R1PNmAFIHAygzA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1mJAcK-00G4bP-Ji; Thu, 26 Aug 2021 10:20:08 +0200 Message-ID: Subject: Re: [PATCH v2 1/8] cfg80211: add power type definition for 6 GHz From: Johannes Berg To: Wen Gong , ath11k@lists.infradead.org Cc: linux-wireless@vger.kernel.org Date: Thu, 26 Aug 2021 10:20:07 +0200 In-Reply-To: <20210820122041.12157-2-wgong@codeaurora.org> References: <20210820122041.12157-1-wgong@codeaurora.org> <20210820122041.12157-2-wgong@codeaurora.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org >  struct cfg80211_chan_def { >   struct ieee80211_channel *chan; > @@ -684,6 +685,7 @@ struct cfg80211_chan_def { >   u32 center_freq2; >   struct ieee80211_edmg edmg; >   u16 freq1_offset; > + enum nl80211_ap_reg_power power_type; I'm not sure why this should be in the chandef, there's no way that anything in cfg80211 is ever using it there, at least in your patches. > +/** > + * enum nl80211_ap_reg_power - regulatory power for a Access Point > + * > + * @NL80211_REG_UNSET_AP: Access Point has no regulatory power mode > + * @NL80211_REG_LPI: Indoor Access Point > + * @NL80211_REG_SP: Standard power Access Point > + * @NL80211_REG_VLP: Very low power Access Point > + */ > +enum nl80211_ap_reg_power { > + NL80211_REG_UNSET_AP, > + NL80211_REG_LPI_AP, > + NL80211_REG_SP_AP, > + NL80211_REG_VLP_AP, > + NL80211_REG_AP_POWER_AFTER_LAST, > + NL80211_REG_AP_POWER_MAX = > + NL80211_REG_AP_POWER_AFTER_LAST - 1, > +}; Similarly here (and the other enum), why is this in nl80211 if it's never used in nl80211? johannes