Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp81656lqp; Wed, 20 Mar 2024 14:28:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWmeg+njntxmbYyr/L6KMA7tEeHQxugOKBYkOeqN+OGaT9S4OiE0lPRN8niHz8M/yWcSo87yI3cX8ZzJ1Fm3oxkDDC2BOMtlP/SxkxePQ== X-Google-Smtp-Source: AGHT+IGSP7SeGnBdqBS0e5EdiL9XtFkFh2uTPx0SSyMT17Bgly4y0u2AhCaEEyopSs9cZr0+q1Y0 X-Received: by 2002:a19:690c:0:b0:513:a7ce:525d with SMTP id e12-20020a19690c000000b00513a7ce525dmr150016lfc.40.1710970110051; Wed, 20 Mar 2024 14:28:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710970110; cv=pass; d=google.com; s=arc-20160816; b=SV8VjarGm5wLw3VjQ28vcQ2gKBehDUyL36lJSehcHw/dfqf/ZFJHGgLMz6DgWSkcd2 EhIdf8Wtru+KYku/TTb7uz2eIcPlCpw9Ifz+7Icc104CKgMKtREd61ykORCDuWTdz4ch VAM1396H8JyLwUiqgLRwW8KvRJ7CeD2KRZca1YZib1lNh9TirAEhdctFFzxANJlXXJ2p YS3qrnVNzPoMaiBDdg3Vxw+jhVDO7savt8U5jdfejLFSOKQ4yB1ADcim7ZKzIhmGFRoY wRjyrWLwG52L6Z8rSKdSjEWuhisUJQVeRCR+7bb5yEstWBq4lEhpCCwfmeQxfBKj3JUJ NshA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:organization:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=3jNfljXJivP7RlwDv41rJh67/f7Y7Tq+FpXFMFIRmH8=; fh=TquNsOiV+zNY1csTpltVB6A9QFW5SbuNs6JlqcKCQkw=; b=r1ehpIgz54CI1nN41ON9YwkWWdEMlQq2Kf09KsrmVzpGiLkvvN1D658YqWuqbUfjFp 7BrPTBnOlmkfIewsigNiRRa9WjTWFB21/NPDGUbVd5hDV7NCalE10KfmiEFfOSBTwC+0 Fixg7txUSDCrlUJHyQW3JGOHffcFK6/GDq4Kq+39vdvakwa0bXXsu/gt8+QZb2SV6kXr /p50LL/MsVqlLhxdkVe+/UuQ2mMzM3+dgClfqnJFKNYmM0eAPNzMbuo70tM+WPbjVzMa C0Rql3smp7AamSbab8U/yoeyf0r9HCE6VeMdtVXANl1GGXeW094cn+ZVWF5aJ1gQZGcX IMtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dWANN4v9; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-wireless+bounces-5060-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5060-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id fg3-20020a056402548300b0056bbfe1b253si377786edb.688.2024.03.20.14.28.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 14:28:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5060-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dWANN4v9; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-wireless+bounces-5060-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5060-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C15201F221C7 for ; Wed, 20 Mar 2024 21:28:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61EB68595A; Wed, 20 Mar 2024 21:27:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="dWANN4v9" X-Original-To: linux-wireless@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB08B8626C for ; Wed, 20 Mar 2024 21:27:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710970047; cv=none; b=pLr3UTesANeH5GEw5GnE4ACdIIUcvD83Ej7cWfz1jO70KNn12UoK+bLLdBtQwjVOEOYxh5RHOVlgRd7/Nl1pLrIIlVJimHjTJbb/u3BE+gtEOyd2C/XJIabAHxM9yN2YTP6gSr+T2KzvBepmGXWNndmRkUhcyvjSmE0bsbNoC6U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710970047; c=relaxed/simple; bh=QoCVBNozPPy4vGd1aXHib+J3WiImkToNH0ThTgL27Tg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=arnqeR24m/4Gi6/d7HFjnzKNgPV4gj5unulcIsqzZtaK6TWc1i7RDLds+h2UIeaXA4b8T7Y6hGHn0wO8iOSAHT5i2y+tPyRad3j9hZ1kszM/qHeYuB6pHoFnTsuBaxtOlyBMo7RyJWI8fppqGc2pp2CoirOojsmfvbPcJu7CEFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=dWANN4v9; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710970045; x=1742506045; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=QoCVBNozPPy4vGd1aXHib+J3WiImkToNH0ThTgL27Tg=; b=dWANN4v9juMLXK479rNl1mxiF1xyauoj4EbYVoyoLgOGbrudo438qZ/C +5+a/Uu44dCN0ZL0JmTymGBsV4VUlmyk9W/cTjMM4LWobEhdpQm9Jw5/3 dSDbBjee8fGqt0jBNKEWc6EtME0XiSFapbhqIhDf7GmhEkShPLyGL+NB9 Xuoiqv+PYlyAmICr2vISE6sTveU8zrDj9p8KBcDlHhTFPyhObkZH1JzXF DXg6+YDbgQUoxHHUCpQAiTRU+QdmWFew7xJEt6YjaJ++D+fJrrkactLQq uRK9QIb6cFPcdIMxM9ZE7MUVT8NPvU0IvuTezIGUGRkSyyIk3d5yXzLuf Q==; X-IronPort-AV: E=McAfee;i="6600,9927,11019"; a="9698158" X-IronPort-AV: E=Sophos;i="6.07,141,1708416000"; d="scan'208";a="9698158" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2024 14:27:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,141,1708416000"; d="scan'208";a="14184214" Received: from unknown (HELO WEIS0040.iil.intel.com) ([10.12.217.108]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2024 14:27:24 -0700 From: Miri Korenblit To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Johannes Berg Subject: [PATCH 17/17] wifi: iwlwifi: reconfigure TLC during HW restart Date: Wed, 20 Mar 2024 23:26:38 +0200 Message-Id: <20240320232419.a00adcfe381a.Ic798beccbb7b7d852dc976d539205353588853b0@changeid> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240320212638.1446082-1-miriam.rachel.korenblit@intel.com> References: <20240320212638.1446082-1-miriam.rachel.korenblit@intel.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Organization: Intel Israel (74) Limited Content-Transfer-Encoding: 8bit From: Johannes Berg Since the HW restart flow with multi-link is very similar to the initial association, we do need to reconfigure TLC there. Remove the check that prevented that. Fixes: d2d0468f60cd ("wifi: iwlwifi: mvm: configure TLC on link activation") Signed-off-by: Johannes Berg Signed-off-by: Miri Korenblit --- drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c b/drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c index 5a4973431c8b..32ccc3b883b2 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c @@ -295,13 +295,8 @@ __iwl_mvm_mld_assign_vif_chanctx(struct iwl_mvm *mvm, * this needs the phy context assigned (and in FW?), and we cannot * do it later because it needs to be initialized as soon as we're * able to TX on the link, i.e. when active. - * - * Firmware restart isn't quite correct yet for MLO, but we don't - * need to do it in that case anyway since it will happen from the - * normal station state callback. */ - if (mvmvif->ap_sta && - !test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)) { + if (mvmvif->ap_sta) { struct ieee80211_link_sta *link_sta; rcu_read_lock(); -- 2.34.1