Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp358636rdh; Tue, 19 Dec 2023 00:38:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpSokaYhsJEuqGu204vHHXV7yAHNlu/UwT6HiQe+zyLI3PWMMQAf2XU3QYiKn7gbX4RKzd X-Received: by 2002:a17:906:c214:b0:a19:a19b:78bd with SMTP id d20-20020a170906c21400b00a19a19b78bdmr8556578ejz.128.1702975088572; Tue, 19 Dec 2023 00:38:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702975088; cv=none; d=google.com; s=arc-20160816; b=Tek1thpw0eH4F3hrFE4/P9CG2b/X6BuZQVT3meZUs90M8MclKv0j/NoHLnAzvisXi+ PaEOYaCgzw/KXXFqeymkOVPSVcVbiDbCxKVkbLJZxYVV+UdGGhDahejxdKFCmRw2bcPt 22HYzV6OTYQyFZK7aUWgGunWdKYEOE2/Y2JNy29uQD/T54Fgx4A2706Hgu8KMA+ZNGuu LZms/346mM0KLT0XhYhOXONUC5jrVX227nhfdBATcG97tlx9eF/bqua6V3/P5tsjS0Wy uYbqvLuNxVUj6JEdZSmtE/pbqaNBpsNDp5BL1Tr0EDAz2FkqivobMVeHlbWq1tg1ZMfu sz0A== ARC-Message-Signature: i=1; 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=O6QoNy+7ZifUmQzUnNdZI88hPF6ejOs9qd5Rthe1pUg=; fh=XM2sZKiBKuhUkZWy1XXteAEK/2V3APBAjP4rpAe2IEw=; b=p7wPod1wncdik1RsNok2xeZzO3C2+TfKTDgO1iF+fYD4xuUd8zCq7XKEyD29hansJb B+xuZmU4hgsGgmQ6kl/GFB4qYjNUtjDoC9H8OUvgayPvQleuVmhMhm9ooyCjg7COFpo1 /N0SM+dghpPGd4LVUqNM1IRo80xQpL3pIpiKsipsZnzAy580jEgKCoNg1nqToDizksDI cUHnaKjBSNQedDlQ24n/IjPuy9DMYBQvrak9v8Tcrl2jnRR/nqAmUxeFZX0nK9rcnWR+ 9w6pIIb3hA6oeMMj2umrOfuBTzVF80IkGiYZy1924+0xcT/XrhU/RsiiQ4hW7zpftRue 7Fdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@intel.com header.s=Intel header.b=AbNNMVs4; spf=pass (google.com: domain of linux-wireless+bounces-967-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-967-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 dx5-20020a170906a84500b00a235eb9e414si1295258ejb.743.2023.12.19.00.38.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 00:38:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-967-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=fail header.i=@intel.com header.s=Intel header.b=AbNNMVs4; spf=pass (google.com: domain of linux-wireless+bounces-967-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-967-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 536C61F21309 for ; Tue, 19 Dec 2023 08:38:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D6B213AC8; Tue, 19 Dec 2023 08:37:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel.com header.i=@intel.com header.b="AbNNMVs4" X-Original-To: linux-wireless@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) (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 8765B134A6 for ; Tue, 19 Dec 2023 08:37:45 +0000 (UTC) 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=1702975065; x=1734511065; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=iW8j2ie8u5EskGVLJU1YHAezWaQ2Se0yEOA6XkvwYMQ=; b=AbNNMVs4ejKsuTalrTQSKyuK2BVL+6kZuw5V1VpzPJ4QRn+E/nh4ccyF 5BOeOXdPtZHqqk5rwNN26H4+W7D8pCCEG95/lapsZDjqvnvci3BuUGW1o hLSEFylIaxEQNrggbdkMQUMYX4DlqbSkPEv3q5nI7/wA+kZci74T3ZUo4 gz8s72AXSo4Fccga8lrEn96a25xUwGzfBjZ7AMJUMaOljJ9yGMF2jU2nR lXQ3Uhur9Rn26lQ8ucIhsIhWaBvhO3Cjp5t08k3ZraCSBR4zOahiL8r6Q hcDIDY0QfBC63dsFlTyTj42GcmIkP1MCN/mY3znBEgn4lC0hvQHEBDowa Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10928"; a="459969191" X-IronPort-AV: E=Sophos;i="6.04,287,1695711600"; d="scan'208";a="459969191" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2023 00:37:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10928"; a="846266247" X-IronPort-AV: E=Sophos;i="6.04,287,1695711600"; d="scan'208";a="846266247" Received: from unknown (HELO WEIS0040.iil.intel.com) ([10.12.217.108]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2023 00:37:42 -0800 From: Miri Korenblit To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Andrei Otcheretianski , Greenman@web.codeaurora.org, Gregory Subject: [PATCH 03/15] wifi: mac80211: Schedule regulatory channels check on bandwith change Date: Wed, 20 Dec 2023 04:37:51 +0200 Message-Id: <20231220043149.2ec1e6a5dfed.If8915d13e203ebd380579f55fd9148e9b3f43306@changeid> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231220023803.2901117-1-miriam.rachel.korenblit@intel.com> References: <20231220023803.2901117-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: Andrei Otcheretianski Some devices may support concurrent DFS operation which relies on the BSS channel width for its relaxations. Notify cfg80211 about BW change so it can schedule regulatory checks. Signed-off-by: Andrei Otcheretianski Reviewed-by: Greenman, Gregory Signed-off-by: Miri Korenblit --- net/mac80211/mlme.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 40a4fbfff530..fe0be3e5731b 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -598,6 +598,7 @@ static int ieee80211_config_bw(struct ieee80211_link_data *link, return ret; } + cfg80211_schedule_channels_check(&sdata->wdev); return 0; } -- 2.34.1