Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3908307rdb; Thu, 14 Sep 2023 06:31:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2FpyvD3syWL5+1mbuFz31xae2pYAijYffZ+Qv6EMxOkZSg7xUwtCPTY7wsDdpmd9uQ7EZ X-Received: by 2002:a92:c5d1:0:b0:34a:a4a5:3f93 with SMTP id s17-20020a92c5d1000000b0034aa4a53f93mr5140182ilt.5.1694698270169; Thu, 14 Sep 2023 06:31:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694698270; cv=none; d=google.com; s=arc-20160816; b=oAaDaDcKUt6PZMEo7bpiRBb4ai32wxivdcapb5tLEoX9k5w1hRZPd6VQ8rWFKz36XE 0m+ZkJRaSTRLozBNjz2H8vZ4tJvRbZe8G4xvWcuFgdzDGqYKISGKsaCHarwJvgdRBepM azxqwfAVobhS+HMy+Ecfr6FZxqc6+55sTOSiSunT5FVFGz1j0SFxS1WfXmp5sOMsFbbn 8CIDxQ8D5NrlST7Im/HxqM4vD0DEyS59gi+WrSzbr1kgf0BinZHngDJcJNjw/+LHYmx0 mSIXC8TfUL8PLlPwxdPsufSH0bKTy39tu9lpt+IUe3mWuhFLhAYhpg33K0O9ZbwFKKFz /pbQ== 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:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=rrKfa5f9T8Pl6+EsuTUJJcXVDyEcfVzNXgCdWu/Z4HI=; fh=J/6lKjMBe46qSL9EQevfbTBP992w7SxtrKeS/6meeFw=; b=ONvWhZ54aQlNVLlRgiij2w2joicEJ05OSula9XJZWwInE1M9mHFK59mnaho7RfnXtp bflDJe6nO10ztpfZbBiTtS4MwTApvpt//PPp1zg24EwfDGDrGI9cHx3ItPLrgbFUdKbX m89fDQLeD47fDNKaYL/0bg0cqg+hbMwskSmiu9lKyT5H5MlDoZqnjohFGO3yrbfpgEkI 2X1T1lP842KD3vWCau7HPmgGPQ1taP2awi7KknLhRM64nqG7wC6jF7ixNBt9f24XDjMa V2R4uH2q1b6KwNx90FL6ARIi+atr8IhlejlHSeyBmD5sj9xX2c3IFFOKHmx1ma/YEZq9 HicQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kvdM9DfZ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 6-20020a630a06000000b005777bea0b6asi1469832pgk.859.2023.09.14.06.31.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 06:31:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kvdM9DfZ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id F3A2C8028FD1; Thu, 14 Sep 2023 06:16:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238821AbjINNQa (ORCPT + 57 others); Thu, 14 Sep 2023 09:16:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238623AbjINNQ3 (ORCPT ); Thu, 14 Sep 2023 09:16:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A8381FD4 for ; Thu, 14 Sep 2023 06:16:25 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1CBBC433C8; Thu, 14 Sep 2023 13:16:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694697384; bh=OMOntvKwCjbvcnXTdTiuIkhUzTCTCAxQoy6WTxNf3hw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=kvdM9DfZhTCmOryBT5CbjAeQ13A5utXBwHqUz7wexBtGVMeEyKV2n9L6PeuUuenMK xZOFKxkKM3OyK1i93KGS/plNy49Ozoa3zF1JzcjYNzLQ1xksbv1ph+Qp5WDHDufBoa FLffKu520stgJLQlRAZUc9T6QD5Sxw8x6P5B635jvXPXdzuw9zSZUG2/4HO2N3nmm/ nNRxXit0VJi3ObewjHGnwLixsrzEuUEDtRMkkbbkybJbX5EJHHye5ivvb9AQmoTaUa HgjQ5lxDAny/PbcFJ9ymNG/YFNxCbaaAyvIYFjvA8HDr2Qhd6N9tGhQaZnIJg/hAtY Epy41yavpitcg== From: Kalle Valo To: Aditya Kumar Singh Cc: , Subject: Re: [PATCH 2/3] wifi: ath11k: fix CAC running state during virtual interface start References: <20230607124647.27682-1-quic_adisi@quicinc.com> <20230607124647.27682-3-quic_adisi@quicinc.com> Date: Thu, 14 Sep 2023 16:16:21 +0300 In-Reply-To: (Aditya Kumar Singh's message of "Wed, 13 Sep 2023 18:55:02 +0530") Message-ID: <87fs3gdhei.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 06:16:29 -0700 (PDT) Aditya Kumar Singh writes: > On 6/7/23 18:16, Aditya Kumar Singh wrote: >> Currently channel definition's primary channel's DFS CAC time >> as well as primary channel's state i.e usable are used to set >> the CAC_RUNNING flag for the ath11k radio structure. However, >> this is wrong since certain channel definition are possbile >> where primary channel may not be a DFS channel but, secondary >> channel is a DFS channel. For example - channel 36 with 160 MHz >> bandwidth. >> In such cases, the flag will not be set which is wrong. >> Fix this issue by using cfg80211_chandef_dfs_usable() function >> from cfg80211 which return trues if at least one channel is in >> usable state. >> While at it, modify the CAC running debug log message to print >> the CAC time as well in milli-seconds. >> Tested-on: QCN9074 hw1.0 PCI >> WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1 >> Signed-off-by: Aditya Kumar Singh > Hi Kalle, > > The upstream dependency got merged today. I have sent [v2] of this > series which was just rebased on latest ToT and the [PATCH v2 1/3] got > merged. With this, [PATCH v2 2/3] and [PATCH v2 3/3] are unblocked > now. Thanks, this is helpful. I still need to merge wireless-next into ath-next but hopefully that happens next week. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches