Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2439908rwd; Wed, 14 Jun 2023 02:54:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6trJ+C8B/9hjLY6K4xVeG7azqZSpdm61CY15thpihx1m0p0+q5Q2YFP+AZPEui1gCW2yNb X-Received: by 2002:a54:4388:0:b0:398:2b78:5a53 with SMTP id u8-20020a544388000000b003982b785a53mr9513925oiv.40.1686736467087; Wed, 14 Jun 2023 02:54:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686736467; cv=none; d=google.com; s=arc-20160816; b=Dj3N9XnfeX2ERdJA+mkrIDWCwKnREmFGwhGmh2Mupj4w3IznUUTGC5NC1XIkZjtsYD LFip5LE9FNzWax14vyhHI50ab33FHbdD/0QzA/lzkwg/3R2Paehwq/aTpt61kV7iTsiu XfdOHYRWunAQPKj7ZcNHQLdP0cWo3UhX/UXgCntDKYmLnqUK/YYNHij2WCNLSqqyAR12 MwN4pm46kAgOloTuF437skWt4bq+unPxnZYK8+MNKO5kgYHo+rfwrbYR9tIWlg8QzDoy doSmK8DLa8FgTZVGrAPJ39T/TTjz+zmlixIYa5WaT3akbbGk2amZ/qDdLSgyu4DjE+aO /8zg== 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=w9Yx10odPtH4biAcCqcGfyd0+dSQf+1PNNypC0CWudY=; b=hCytJiw74fW/tChNBVS7N6nKmbBvuyKIvouz2em5OG0ML5ca1FgkGzoQHdDTrxtpuL M4rif7pHnkFg3jYUbWcuW/Eu9ALNXH91a/sFulWZ68mbzEoHImgd0E8yKHpwSq0qgcYO x3PUG+k1eXbOoCiobxBakKn8tjuLcxoavMtQPscXv5KF/mgL12igelLZkJflaaC+H8oT hRylpcec6mF+XJ1P2QEu6AQwDkAHQAVX3QAwAdfYK0RhYEC1Oh7hC9DmlQw77pKOh9HD GJWGky15RcdZeuPP5Na/1XkxR3mStAlJLos6BJQrGlpCJCLx1fJ2IaYyUTxSnYyBLcNI D+1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VATPI3tn; 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 k189-20020a633dc6000000b0053f280bacc6si10284748pga.166.2023.06.14.02.54.19; Wed, 14 Jun 2023 02:54:27 -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=VATPI3tn; 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 S244164AbjFNJp3 (ORCPT + 61 others); Wed, 14 Jun 2023 05:45:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244298AbjFNJor (ORCPT ); Wed, 14 Jun 2023 05:44:47 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8244D2708 for ; Wed, 14 Jun 2023 02:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686735830; x=1718271830; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZdrH+0fm+EyPDVvKWUDpYe/CxE09ZUKG7S0mnLcE3bM=; b=VATPI3tnQUyuXS3sfVlPLaund8G2g/G4xrSXOS8z/AlTnlQN1vamuO8I 69Lfrr+AJx7TjGqFu2GrVEG3QwCSVxRDMrFPhTA3cnrLl1o1NCA3OdPqY whUWOI5CZhRiTQAYUC+E5cuNBykxZ+yNqeIhGmzZlSPTUf2xjvnwO3SoA kp6Vr7NND7/DarPOVC0h9eu2dD/dth1ob+/tfzslxnhRk0Hye1OqMH2Xb qLCCY3F/5Tgfi1sp+HQ8Gxrkp10whO8BwgJ1uXUFUZwR6UvNxgcZ5QmG8 I9TUgOw3g/c+Eclzhb+DwjD+TCGOkWLck4J6+DVFKRh4/Il8mlWWj7l/r A==; X-IronPort-AV: E=McAfee;i="6600,9927,10740"; a="361049861" X-IronPort-AV: E=Sophos;i="6.00,242,1681196400"; d="scan'208";a="361049861" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2023 02:42:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10740"; a="711989867" X-IronPort-AV: E=Sophos;i="6.00,242,1681196400"; d="scan'208";a="711989867" Received: from basharil-mobl.ger.corp.intel.com (HELO ggreenma-mobl2.lan) ([10.214.203.45]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2023 02:42:15 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Johannes Berg , Gregory Greenman Subject: [PATCH 10/20] wifi: iwlwifi: mvm: disable new TX csum mode completely Date: Wed, 14 Jun 2023 12:41:27 +0300 Message-Id: <20230614123446.aded25a6c288.Ia6921e4b8a9624d4f57489ac775105ed0e400313@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230614094137.379897-1-gregory.greenman@intel.com> References: <20230614094137.379897-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 now, disable this mode completely; we need to do some real validation/integration of this new feature on some of the hardware first. Signed-off-by: Johannes Berg Signed-off-by: Gregory Greenman --- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h b/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h index d8d6681e9411..97ec100103b4 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h +++ b/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h @@ -1545,15 +1545,7 @@ static inline bool iwl_mvm_is_ctdp_supported(struct iwl_mvm *mvm) static inline bool iwl_mvm_has_new_tx_csum(struct iwl_mvm *mvm) { - if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_BZ) - return false; - - if (mvm->trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_BZ && - CSR_HW_REV_TYPE(mvm->trans->hw_rev) == IWL_CFG_MAC_TYPE_GL && - mvm->trans->hw_rev_step <= SILICON_B_STEP) - return false; - - return true; + return false; } extern const u8 iwl_mvm_ac_to_tx_fifo[]; -- 2.38.1