Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1196828lqa; Mon, 29 Apr 2024 00:35:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXzUQvinCt/vshyMeFanwyds+6w4tQkxODtc/TTszCHuDG+RD/ManI41JVB/a64GpeFR+sK/8zR0t+22AqYa6DVmIhaLDiL0yURm4NVvA== X-Google-Smtp-Source: AGHT+IELSq3KHv8R+OMWDeYcCy0ZleBOCWZ4dRgUTbsns3PkxdMc9ILMkIQdVxJF5fYmDbwk/O6k X-Received: by 2002:a25:6b11:0:b0:dce:1285:e9a5 with SMTP id g17-20020a256b11000000b00dce1285e9a5mr10143536ybc.11.1714376156298; Mon, 29 Apr 2024 00:35:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714376156; cv=pass; d=google.com; s=arc-20160816; b=i6r8MF21pNwHkkxgOK7aJLdU4yt79o6m+VeZwgU1VpOQHvc0LzUczgowQLugfT/u6M GknBA+6zhYJu2jZBMFHBIw55RwrqputrM4T5zoy8T/tqHc++SvhQJLKBBzKRWx/Wl8qy n/zJwPzJZe0ziRa48NloqjY0BbM6dU2zhcx7EaJYzgWmsem4DZupaUpQPy+wU1+L+BTr +2GSeiqqD66l9v7p0Mz+N7x1T6eQo/WlPs96FFxGq3aCRnIYV3t9kEknG6xiZBAeJlO4 gRoG/uFOMwjYF7rU1SaBoh65PjT9AvVClFztwELk2Y9p0W8xEyysLYT4bbpqRqM8rSeg DxNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=Fn/erYRy9sYIQ4csSMXt8UgomqDlfwJZMPVhKZCvquI=; fh=/Qz1NBGf0wfQQuEBYNwp1PUeGinMgsBaenvyEC5uQeU=; b=HmE6rIDQ5/m1Fta2C3c/kp5Jpx8W8rz523oXxjhnpD/DzNfYEoVkoKbOGaOVcQXN+U dA68P1uYA/xseSvmmxc8qLwbIL7OPxyZtHPPyPz+a9r3QDDDRDo/5N9UpAcqebHmu/X5 VEjieM1Vu6hW4BuCHguZlo7ab0SMiZtqFrzhjLEtjb6AxFP1dewAmwkz/41ea0R5Nmab pcK4mefITst35Ub4atxjZiET4MYRb3gt0UG/wXynOnqor+UFJ8skK7/4SUucZGJoRHi7 uYMW7iWkPaiJXYF7/4Ae98ApE0Ti1z37jEBByzuOpoiRN4xXeQa8HpjgrtNRSWUSr1cG DVwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dqJoR5QT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6968-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6968-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x3-20020ae9e643000000b00790ee35b1a6si2811611qkl.413.2024.04.29.00.35.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 00:35:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6968-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dqJoR5QT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6968-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6968-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 08F4E1C20FC2 for ; Mon, 29 Apr 2024 07:35:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED0B114273; Mon, 29 Apr 2024 07:35:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dqJoR5QT" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C94D1134BF for ; Mon, 29 Apr 2024 07:35:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714376153; cv=none; b=sVy9zmMqetvwt5tsnlK3vOtP/MPLR6DoytFvtp9mQ0KQ7AxO/9B/xzoCpQMiQcnsfs19OZDJwrR8ti+r0FyD0jqwzOPMbQMxLb04uJQLb+Fo0zuiAaflgXMgRFitIoT9eCLbMz7rOmCSnSrXSA+V7lcZRHjlTSzDw3G147cUWMU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714376153; c=relaxed/simple; bh=AT28jAxeKMLr+S30R7py8Pa+K+hP1qri16uSK2Ye/0Q=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=LUg1YRKh5F2SMmGXJA7rn3j8svBvtw8H24WaP8bBBF/J+GYsBJAYE5IepJ5CpmBL3R8ZdnFoDNnKAj+vLZGHKtXCrO3TSR4f92lrYZ/LwkL0ZyzSbCl4KD32CXpkgtacQNrPbT+oFxlOwFl3DFgzf8SU13lqMdpmwR5Dyr+Oj0Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dqJoR5QT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EF4CC113CD; Mon, 29 Apr 2024 07:35:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714376153; bh=AT28jAxeKMLr+S30R7py8Pa+K+hP1qri16uSK2Ye/0Q=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=dqJoR5QTgRNNA7SGYVy9KVfLqBdiiTmciMXqJi3i+I5PzttfIU9UiLG+ySZvkFd5v RCoK+FABPFqRESkUZm0NzQp4eZvC+ajvfDqUDL06k4/tD7p7PQxMfstfoBqsQCu3Oy 5noGWsJL3O8X/FLMisJUP0+vrTq5HLlwPye9ecE9gDe65M1AOn07GlBTMFeMePqqt6 BJk5jmk47YciB8tjuTzMqCpDWpTqA7EFumKN/gsXuHHuCO12pEEGp/sTMA36HH0XCE zRKhM8JcAQqP1UFh1xPgkgr7cI8nsxlWAUobndfDGR/gMieg6zCiOpHYL5nDhW0Xjr T0dME1uG7hzFw== From: Kalle Valo To: Harshitha Prem Cc: ath12k@lists.infradead.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH] cfg80211: Allow pre-CAC for self-managed wiphy References: <20240429042723.2847389-1-quic_hprem@quicinc.com> Date: Mon, 29 Apr 2024 10:35:50 +0300 In-Reply-To: <20240429042723.2847389-1-quic_hprem@quicinc.com> (Harshitha Prem's message of "Mon, 29 Apr 2024 09:57:23 +0530") Message-ID: <87mspcr57t.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Harshitha Prem writes: > Currently, to allow pre-CAC it requires both driver's regulatory domain > in wiphy and cfg80211 local regulatory domain to be same, along with the > region to be in ETSI. > > But, for self-managed driver, some countries have mismatch between these > two regulatory domains and it would not allow for a pre-CAC. For example, > in ath12k driver (self-managed), country Sri Lanka (LK) is classified as > FCC domain as per cfg80211 local regulatory database but as per ath12k > driver it falls under ETSI domain then because of this mismatch, the > driver might not be able to do a pre-CAC. > > Hence, add changes to allow pre-CAC based on wiphy's regulatory setting > if it is a self-managed wiphy. > > Signed-off-by: Harshitha Prem "wifi:" missing from from title but I suspect no need to resend just because of this. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches