Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp2799643rwe; Sun, 16 Apr 2023 05:49:21 -0700 (PDT) X-Google-Smtp-Source: AKy350bfJZHt/ItpL79Z6r5pM/y71Cui+yQR/kuhTUi6Jfw171ZKYIHnQl/ANjA8c60io9vb8TEH X-Received: by 2002:a17:902:da8c:b0:1a6:b5b2:6a25 with SMTP id j12-20020a170902da8c00b001a6b5b26a25mr6182684plx.2.1681649361200; Sun, 16 Apr 2023 05:49:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681649361; cv=none; d=google.com; s=arc-20160816; b=v5fs7gf3urHLuhjlLYCbUHQka+mqFOHwCTtvyH/Q6LEGECcxeB+wbl9gTizeGO89tQ BMmKzmiqjaT9uzQI2KXJWqAAcQ7PNqtwx8qZXKSzfLPZdqa9T4AfzRHheVvtZXnr915F dBPpncQaXOnHfAbE4C983Oi47Oz+egcWD+oCZiPh2B2qeOwPVa0l/8MehT1EUNpwgfAN mIb3N5xrtivCFljxzVDknHreygOWnoPPgud5bF4Yu74T9+V4Zs6xPe+jRnkthixlQW4K lGeF+vH2GSEY0GceL8gULyWGLDPliUT75QYjcd27er57aPM+uoPy+8tx0rfk6eWPbV3n kFoQ== 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=ws+TIQiVqhHw7mHuX5HJJSJLrYlqVpSfVzDuZ1ShzVU=; b=m5YD5QV7XEtPFXxfEMWgvomZ25agrwVqB1XgpCc06Ra9sRNweEkJKgCB+vCw4Mx6ZQ BX4JJzJLfYzUlVjtC9xeSRYCdgLwuriDmhqvW78q/zNik9nas5SWLzIDFwXtIjEv2w/S GqNqSgWTujnlVAwYemGeNMMXwXNUprVjTSdpnwjcbuZIgWwUzGgvnkSlZCbP2m2wtvtG p9Qkns2+rpnk4WHyguj0gAjOeDhuWq6oBLtKs5cSUVuZPdABMavU/xC23mAxszb9ZI5/ 3zk6mG+nCF7/kL7qGHZ5BxTa32Z1EJ5F+M7tBJ1Jz4Ely9yxAY5mcd4DSmQ2k4nJdLnp 9UfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XT9g82p0; 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 jo13-20020a170903054d00b001a05a78f952si8967250plb.272.2023.04.16.05.49.12; Sun, 16 Apr 2023 05:49:21 -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=XT9g82p0; 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 S230312AbjDPMsE (ORCPT + 63 others); Sun, 16 Apr 2023 08:48:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230231AbjDPMsA (ORCPT ); Sun, 16 Apr 2023 08:48:00 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E8A43580 for ; Sun, 16 Apr 2023 05:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681649275; x=1713185275; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ASiI5mcKVNRfguIkWIYcG9htqDIj8KRP57PO2eZxomg=; b=XT9g82p0KBD2h20pDSNT/rzZBklsliGPZlr/Hq39u3bfaInKe8mQdmla 4Ww7F49uB0c3pnyTaHblbPl+Bh2dX04/2NvezhrMrJQTF6sBVEZXteMgN DtOvf3IT0YXusVh1k2Wj7xCrJDU9cxoAVnq+d2SukOFX0s/OUvjAONGGn GxI9ODDudSRvEinJ7gMq/RKfsRIe5JzsJ/hKIed+Vu93RRkEzaCnjm2x/ JGeS5CcQEjHlRpbk+GrX0x8i4oQFquikptUeCWdxEA4HH0hClmXs190nb WWbckpJdtBTzhsbX/ExYgHyvvLeczv1xh+/JUCl4ITOQtaXj4WkrKgfdK g==; X-IronPort-AV: E=McAfee;i="6600,9927,10682"; a="333520545" X-IronPort-AV: E=Sophos;i="5.99,202,1677571200"; d="scan'208";a="333520545" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2023 05:47:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10682"; a="640670412" X-IronPort-AV: E=Sophos;i="5.99,202,1677571200"; d="scan'208";a="640670412" Received: from lavnon-mobl.ger.corp.intel.com (HELO ggreenma-mobl2.lan) ([10.214.215.99]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2023 05:47:53 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Johannes Berg , Gregory Greenman Subject: [PATCH 01/15] wifi: iwlwifi: nvm-parse: add full BW UL MU-MIMO support Date: Sun, 16 Apr 2023 15:47:25 +0300 Message-Id: <20230416154301.88b6aac6c876.Ibf2a7a38d7a172c371c347c9d4441e8c656cefe3@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230416124739.1260800-1-gregory.greenman@intel.com> References: <20230416124739.1260800-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,URIBL_BLOCKED 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 For some devices, in client mode, we support full bandwidth uplink multi-user MIMO. Add the necessary capability. Signed-off-by: Johannes Berg Signed-off-by: Gregory Greenman --- drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c index 92a79df3e6d2..7dcb1c3ab728 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c @@ -938,6 +938,10 @@ iwl_nvm_fixup_sband_iftd(struct iwl_trans *trans, } } + if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_AX210 && !is_ap) + iftype_data->he_cap.he_cap_elem.phy_cap_info[2] |= + IEEE80211_HE_PHY_CAP2_UL_MU_FULL_MU_MIMO; + switch (CSR_HW_RFID_TYPE(trans->hw_rf_id)) { case IWL_CFG_RF_TYPE_GF: case IWL_CFG_RF_TYPE_MR: -- 2.38.1