Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3119184rdb; Wed, 13 Sep 2023 02:37:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfG1OLM2TNWscbKT08JGK5VjdV+mR4qEPdLROYBKaxwCjFbtyxpundqIv8imzYwsYFmGHR X-Received: by 2002:a67:eb0f:0:b0:44d:4d7f:bcc2 with SMTP id a15-20020a67eb0f000000b0044d4d7fbcc2mr1715645vso.12.1694597854343; Wed, 13 Sep 2023 02:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694597854; cv=none; d=google.com; s=arc-20160816; b=kezLTH46osizyLfwOFaLIWtdB84XHSQP84uZFzK58sslF0hCV+JYQbLYzN9wFjz7I+ AIEZCUSPxwqznf938QcSGjesWiBG6lZExSN/uuV8sJe9dcV37BotQOw5fMSx/DXzCdLq wWvKhtHLbT9zyzxmAWfd4/08Y05xklPvDhY0g2+5Lg3tzydeyQEXTElkHRWKbtef2z5L 5cRJV+ik665VTKxCu10E5xAm64kRws09bfviRv9OU/U8fsIhqPjLqFX7X2D0nPtiHsUv i4wb1aXWVJwmvhKyOrRcKHeMryPBZ2JiJuz/jg07gsDuK6/IL7ntNJ98Psf/TG9tH03/ bSJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=TQ4H4+5UEjJOeGCQe+dYsONPpdDZhbalRCDkfTb9DAA=; fh=JLIlGlAkRj0vOgAY+QqgRyf9xxljzrxWiBcsX8VPQMo=; b=eolEee/Jk2b5QrFAO7yKU5uWrEIs6Qg4bhCacOd0ABydqxhnR9YeG6KVdn+ECdlN+E gnL8wdjEM8U5uluvj7WnBfDBaay9fiji7DKrfA76IrJzpogtgvypDwYkaCbSmNLQFa3+ doZ/nQyAA4LWv82wynKNWfIPEa2eXreh/fTvDAwvXMVXxystIF9RvZoONBV6z8BKUM0C Nfdvk0SWDX4oJWVxurbxuuIErZ0SX86cuPcgnaw9X71Ly3ix1o99rxXoLGnp+TgvpKYy KN/4L6iaEXJyIclJ0p4AhCJ3PA1ig04F+bdXi78jhhmeYKQJXRk10XpW/khPjtdEDuD2 vFZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=Fg65ZLaT; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id d7-20020a656207000000b0056c55eb251csi9510816pgv.123.2023.09.13.02.37.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 02:37:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=Fg65ZLaT; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 65BD9812727D; Wed, 13 Sep 2023 02:29:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238863AbjIMJ31 (ORCPT + 56 others); Wed, 13 Sep 2023 05:29:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237229AbjIMJ3Z (ORCPT ); Wed, 13 Sep 2023 05:29:25 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:242:246e::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0531E0 for ; Wed, 13 Sep 2023 02:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=TQ4H4+5UEjJOeGCQe+dYsONPpdDZhbalRCDkfTb9DAA=; t=1694597361; x=1695806961; b=Fg65ZLaTzGRVVUDaQd1Opio3mWBkG8xXKrLD3MQ5jm0PVkC IgUpXLbm5rTgjXSY93dG4rJ60fNwm0kS5nk6fezGwd/+yT7R8y0zTjQwd+L7+dX85Bi5MCOupu0Kc wtqZx6bwc6nzMhx8TFNGFeowIimx1eSNTqaQn8uPIfuH1ZZwm3osZGobxu89EKmY0Ld8XW2Pn471x gpeaT7sMUxVqJpwByejSP2iEUaKiwLmaVZgiMcX7RdyrV+WpQ142DBeqDkB5S4dAp4mh7/UBk+BFi xrLa9uoKW2GmQW0y5/MYhCfBHZmXTUhCmwALl6CXNltENUxNvks+gWThvqTyME9A==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1qgMBT-00EjVY-0x; Wed, 13 Sep 2023 11:29:19 +0200 Message-ID: Subject: Re: [PATCH v2 1/3] wifi: cfg80211: export DFS CAC time and usable state helper functions From: Johannes Berg To: Aditya Kumar Singh , ath11k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Jeff Johnson Date: Wed, 13 Sep 2023 11:28:54 +0200 In-Reply-To: <20230912051857.2284-2-quic_adisi@quicinc.com> References: <20230912051857.2284-1-quic_adisi@quicinc.com> <20230912051857.2284-2-quic_adisi@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 13 Sep 2023 02:29:27 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email On Tue, 2023-09-12 at 10:48 +0530, Aditya Kumar Singh wrote: > cfg80211 has cfg80211_chandef_dfs_usable() function to know whether > at least one channel in the chandef is in usable state or not. Also, > cfg80211_chandef_dfs_cac_time() function is there which tells the CAC > time required for the given chandef. >=20 Should we really export the time function just for a debug messages? That seems like a waste of space? johannes