Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3682990rwe; Mon, 17 Apr 2023 01:45:07 -0700 (PDT) X-Google-Smtp-Source: AKy350adjHOi7LymB1uYeREby1RmNIuEVr6rF0laFmr9hTPiVlFo5P3JhHG34tvSwddG8n3yLYuo X-Received: by 2002:a05:6a00:3695:b0:63b:6d4d:4c9 with SMTP id dw21-20020a056a00369500b0063b6d4d04c9mr12113409pfb.9.1681721106953; Mon, 17 Apr 2023 01:45:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681721106; cv=none; d=google.com; s=arc-20160816; b=z84GWYsrs8mn9OzXkZrxMao28VWQFCEJQZ28gJvEl39uVQ8poEFGAEriVhQZdr1T0u srSUXSPZhmcWQnoiC3TZ0kODeOMQ0qwyJ9PZljt2RXMcUJKAXRe7bMIbN1g1saIR4D6t SalNiM/E8cTQI7yInzHqZEkcJloh/uQx2eSQTbIW0doavCF71I8neRHdzmKoevAF3+if NGQpVy9l2ZJ7nRoX27J2ZjNL10nHmx97CSYtp3GkL504M0t1zrs+czIn396aHZNtF36B 1PlfnPU5Dl16mCAE3WAxWdf+2r40VE6mtnXg3IN1KBYmlECuzMn9dIzxvjHjR5Kg8psu ahNQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=K4BqJ4lRYDD3Zpr/GYVkGb9e2kkYUFi4mnXUlAaS2HM=; b=qdBmoj5EXQy4gxJ6E1YX0HAgvy4q43Rz3ZP3hVtZ4lVMucMoGKMNnytpxQw1ntG2dg r/RTjNip+YEOThKAuqNjdErY/+Zy+u0zwtabrZUfn2w028HtaqC2EPW+GHVaJDO+89XG NxU8LYzmW7sz/RvWd5oSoOpICThp/ZeWdqXn9nTKb4CXRMeZTiuJVAHQdxRzG7sG2xkt wlgGUChbVBtj75U+lJBi+MMTCWZGVlcfQAN2UoP0/l4qzRim3HAGCJvnp4s+QsLJXlgW 6L4yjsjftHRMvBTXLuPGaaj/9qLDCNL36xoVLTGC+0Xjg5Qj76gTDEPHA11iNwRCUvlP Birw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Sdpv2DAx; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y36-20020a634964000000b005138c1f1fcdsi11183287pgk.663.2023.04.17.01.44.57; Mon, 17 Apr 2023 01:45:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Sdpv2DAx; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230445AbjDQImL (ORCPT + 63 others); Mon, 17 Apr 2023 04:42:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230203AbjDQImJ (ORCPT ); Mon, 17 Apr 2023 04:42:09 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64A7144B1 for ; Mon, 17 Apr 2023 01:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681720927; x=1713256927; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=c4S73B16WBUe80hIkCuojBsdusqO9vE2NyPt+cMACR4=; b=Sdpv2DAxNC8ozzQXt3FqvvCDUpkOK7R+fSEdPq3u+nLIjCh4XUP2kwwl Pin8OGek96rUiHgNe0abSb6Sx2SkWBt1gi+4Bgw1qZUTSoGxDg6s7D0k5 MQgOIK60sy7t/X1aDKFZeuEZeX24o9R5we5XoEa2UM6qI4kK7ESZr+ULs tTjli4i6PniTH7UwTICV1Vx2gsKX38AbENocN4vf6kqI9goHW8KVT9bm6 EGkDkQBLWFYu54AjOn97lqQL2Pre7+h1qjqIGRJ2AybIF0r8B2fcQeDDI 7YVrurjoX7QNyv/2TPZi6XF7gCQbhzKsNHjLTkPswQgbl1jpPo6EaJo2H A==; X-IronPort-AV: E=McAfee;i="6600,9927,10682"; a="333634326" X-IronPort-AV: E=Sophos;i="5.99,203,1677571200"; d="scan'208";a="333634326" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2023 01:42:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10682"; a="693173815" X-IronPort-AV: E=Sophos;i="5.99,203,1677571200"; d="scan'208";a="693173815" Received: from odotan1x-mobl.ger.corp.intel.com (HELO ggreenma-mobl2.lan) ([10.214.202.32]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2023 01:41:59 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Johannes Berg , Gregory Greenman Subject: [PATCH 04/15] wifi: iwlwifi: mvm: allow NL80211_EXT_FEATURE_SCAN_MIN_PREQ_CONTENT Date: Mon, 17 Apr 2023 11:41:23 +0300 Message-Id: <20230417113648.88b1a70365fd.If5030437707ab67e2146291c1517a9b0e31d01ab@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230417084134.1338976-1-gregory.greenman@intel.com> References: <20230417084134.1338976-1-gregory.greenman@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Johannes Berg We can allow NL80211_EXT_FEATURE_SCAN_MIN_PREQ_CONTENT since we just use the elements from mac80211. Signed-off-by: Johannes Berg Signed-off-by: Gregory Greenman --- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c index 718b5ba6ec92..b086229f339d 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c @@ -413,6 +413,8 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm) wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_BEACON_RATE_LEGACY); + wiphy_ext_feature_set(hw->wiphy, + NL80211_EXT_FEATURE_SCAN_MIN_PREQ_CONTENT); if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_FTM_CALIBRATED)) { -- 2.38.1