Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5574581rwb; Mon, 5 Dec 2022 00:39:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf6pmitfjJrLhQGMXdSMFvRlHootprqiaUeL/pECqYqROJK2Ar7WLDU/3dhs4W1H625gak5Z X-Received: by 2002:a17:906:81c9:b0:7c0:dcb3:718b with SMTP id e9-20020a17090681c900b007c0dcb3718bmr6353696ejx.711.1670229589192; Mon, 05 Dec 2022 00:39:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670229589; cv=none; d=google.com; s=arc-20160816; b=VVrFsWQOH7XQOHAAxxDRjGD6qa2ka6xB6pv/+AYDr29njQJgj8UCmfvuqh3vIP77my eGPbM5+WAU3FHw7Ip4AeZMaa+rDDo9cETHwfBoYaOn643pNP+PwmYXUBwunhbfA8eo1T HUYoNJB1yW5hxo4qd6gP6rjFY1RyXvHI0OLK7lWxSBpGxzxnfqkewR+AgMv/sEDLLhOX DAttBvV7RVKlPmSdfjUvtQ1oe0vLl1vtVgzeyQjQELx5bsH6ThENOFW/wnnce8W4Di3T AhtVMxayRz0qLBXiVXfwhi6c+Q3WvkXU4oRNKDIxnx1P9STTynDrbx/TJdVMXFhCD58g lq1Q== 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=zdw9UyDNDEJWhQ7zm86+cpZE+nD6YKon9wqpRrnvOfM=; b=lKRfvA1sFZ57E4oJE0xP3FEx2fY48o88aq4rZ/K0vdg11mYp/SQp81TN2PQdl3myx+ 59zU3XJbReFXGyjJvwujF6F9Hx11r9iv5ikPq6t72uiQhyrDKizUIt39oIG4DtW6DQfm OE4m1ZY9M9s6PzxcyXglKYDsSry/z70UXFEcv81A5Gk8rneGSaOFYbUAjCz0fPAfB6Lx WERWRp6sss1A38KkVqLULRq7O3zJ8HYQCFokhDkXClm+mYLfR5yN70vkQ8MtjVYLQawZ vsBUAtWB6JiYkWgEP/LhMJ1NjXNtlRSLpC95FJ5I9sKIhkL7OLzU0qQmYy0pkzezDXtF NQ8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LffGYndY; 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 o10-20020a170906974a00b0078d9b2facaesi12747331ejy.339.2022.12.05.00.39.27; Mon, 05 Dec 2022 00:39:49 -0800 (PST) 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=LffGYndY; 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 S232131AbiLEIgf (ORCPT + 66 others); Mon, 5 Dec 2022 03:36:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231450AbiLEIgb (ORCPT ); Mon, 5 Dec 2022 03:36:31 -0500 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C261EF5A7 for ; Mon, 5 Dec 2022 00:36:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670229389; x=1701765389; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=j9RzQRJLdjfPMMtpcrjEfnEY88LIyCJs4ahkyhyI5VE=; b=LffGYndYF64Y72XMa4V8US4dcUduiGIMFJnzwsvzzndRNkZ72/qMtxjT C+jlOkS06uSxqFdfYG84z13WiXXUn36TgEX9Y+ksAHJ9D/2ZcKXXj2PLt ym+0XBSEvkYK69cbz7suhCGGErvN9dfcGylXeC5TgxgZRn432vVgK76R5 BePuQOhdkYhhqgyWlJtYR4j4k1DC0kNmeb7b/Ipu30uvcVwA1qQrGcTeH FBg0qdC8Ye6wC9Y8buuqlYht77TPCHnXzQuL3HonK+ApBLmcuRn7Iyvow Hn9ooorL48O/U+/JaFKBsnX5VECGPBvrSOrKSw3UZVG0EdqxKhyVnMK9O w==; X-IronPort-AV: E=McAfee;i="6500,9779,10551"; a="316323058" X-IronPort-AV: E=Sophos;i="5.96,218,1665471600"; d="scan'208";a="316323058" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2022 00:36:14 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10551"; a="752100344" X-IronPort-AV: E=Sophos;i="5.96,218,1665471600"; d="scan'208";a="752100344" Received: from eamit-mobl1.ger.corp.intel.com (HELO ggreenma-mobl2.lan) ([10.251.181.23]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2022 00:36:12 -0800 From: gregory.greenman@intel.com To: kvalo@kernel.org, johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Johannes Berg , Gregory Greenman Subject: [PATCH 01/11] wifi: iwlwifi: nvm-parse: enable WiFi7 for Fm radio for now Date: Mon, 5 Dec 2022 10:35:38 +0200 Message-Id: <20221205102808.f73face1a674.Ic62ee5c61c0ef2a5b5e9f89782b7bc82b0caa408@changeid> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20221205083548.236620-1-gregory.greenman@intel.com> References: <20221205083548.236620-1-gregory.greenman@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE 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're still working out how the hardware/firmware (will) advertise support for this - for now, assume that Fm radio supports it. Signed-off-by: Johannes Berg Signed-off-by: Gregory Greenman --- drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c index 476b90f32626..aa8e08487b52 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c @@ -1964,6 +1964,8 @@ struct iwl_nvm_data *iwl_get_nvm(struct iwl_trans *trans, !!(mac_flags & NVM_MAC_SKU_FLAGS_BAND_5_2_ENABLED); nvm->sku_cap_mimo_disabled = !!(mac_flags & NVM_MAC_SKU_FLAGS_MIMO_DISABLED); + if (CSR_HW_RFID_TYPE(trans->hw_rf_id) == IWL_CFG_RF_TYPE_FM) + nvm->sku_cap_11be_enable = true; /* Initialize PHY sku data */ nvm->valid_tx_ant = (u8)le32_to_cpu(rsp->phy_sku.tx_chains); -- 2.35.3