Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1225872pxb; Thu, 16 Sep 2021 02:41:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeBMa8qhRoIs2gPphbXaw84RiY2LT+SIiUJCTyst61euHwhcf+uSGcAho/wfW9No09no2+ X-Received: by 2002:a17:906:7ad7:: with SMTP id k23mr5204362ejo.405.1631785311475; Thu, 16 Sep 2021 02:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631785311; cv=none; d=google.com; s=arc-20160816; b=TkOOzP82ECMAn7IRlVVKQiqrf9xuzK46LwPXHUwVrOfIWios8++njPS9kFx7E4fVPd 3G2teflOLmhs0hpTJL52/cPiwhMThDSfULaocevY0EoEfvHEzRdtqcVKIKUtVWmV6Roh MOBb4rygH5eIt7dfs507rFShRj4GCSFHjz1OsKQd8pa/tWYFehhffyYw83MtYqN1bJaa 2KNtKzrt1FWPtFbm5wLOv+RXfnG+He2tx1CJmZXdHzhVUsgne5jT2fXFPfiuM5sDVB2R b8ATgr3GVG7KGdsgD0n91MOGK5sNDJBX+q+2Ja4xuHwyBd5tclJQPSlKiG7ZrQseBYv4 3X3g== 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:dmarc-filter:sender :dkim-signature; bh=/XIv/JwR/8MBOs5Mjxl5g+qjB2vxEn+SijivttCIYMA=; b=bVVjtsUh6HWaZ7oQJOFpkzKI3fosefi7xrMloFEenhMQNkybwHWmls4Zl9XpjxxNuV 5GNYfrY2FtsMuqCbLwpxEFvby/QOszuOU1mCwIqYc7o+RVpob4LYwluUZe7BrEHNmVNI FqcOnCy8Z4kUOFD9ov5ycOiAbNRZ4fhCzG/Ns5FeOiF37pwvs/cnrPkbpqPX93p5AzZN 9sMOATWevMHlOCl11QLu58Uxzvi8oRanzamYnSdxG9/fIjZdEtqnYtpNsM3s0FomNoAC kRubXEbmrI2iLsmf0nC9yRz5YUWOvlrBoSyfmVZOOQM7Y0totcqjYLPiwNfJH5iliB8v MANw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=GELMSo8M; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w25si3040967edr.441.2021.09.16.02.41.31; Thu, 16 Sep 2021 02:41:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=GELMSo8M; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235564AbhIPJkJ (ORCPT + 79 others); Thu, 16 Sep 2021 05:40:09 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:17123 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbhIPJkF (ORCPT ); Thu, 16 Sep 2021 05:40:05 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1631785125; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=/XIv/JwR/8MBOs5Mjxl5g+qjB2vxEn+SijivttCIYMA=; b=GELMSo8Mc89o1X9F0bP+6I/rM7Ud5kbgF8DxlfIAICIcf0NrJmv7DOfH814JhCo1gfESH1qP fG6fa5yFJYDi/wBSH+t8hJyVN7wXQCG+Xi3pOLax44z2s94Pq4UrKMAJFlLOWlCgiy9oztzV qzKGeYOT2hkQZQguz234MPLQ6dU= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-east-1.postgun.com with SMTP id 6143109ebd6681d8ed813db8 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 16 Sep 2021 09:38:38 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id C8B98C4360D; Thu, 16 Sep 2021 09:38:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from tykki (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 99B9FC4338F; Thu, 16 Sep 2021 09:38:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 99B9FC4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: Kalle Valo To: Jouni Malinen Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, Seevalamuthu Mariappan , Miles Hu , Vasanthakumar Thiagarajan Subject: Re: [PATCH 3/3] ath11k: monitor mode clean up to use separate APIs References: <20210721162053.46290-1-jouni@codeaurora.org> <20210721162053.46290-4-jouni@codeaurora.org> <87sfy4zwum.fsf@codeaurora.org> Date: Thu, 16 Sep 2021 12:38:33 +0300 In-Reply-To: <87sfy4zwum.fsf@codeaurora.org> (Kalle Valo's message of "Thu, 16 Sep 2021 12:35:45 +0300") Message-ID: <87o88szwpy.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Kalle Valo writes: > Jouni Malinen writes: > >> From: Seevalamuthu Mariappan >> >> If monitor interface is enabled in co-exist mode, only local traffic are >> captured. It's caused by missing monitor vdev in co-exist mode. So, >> monitor mode clean up is done with separate Monitor APIs. For this, >> introduce monitor_started and monitor_vdev_created boolean flags. >> >> Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01725-QCAHKSWPL_SILICONZ-1 > > Seevalamuthu, in upstream IPQ8074 doesn't even support monitor mode: > > static const struct ath11k_hw_params ath11k_hw_params[] = { > { > .hw_rev = ATH11K_HW_IPQ8074, > .name = "ipq8074 hw2.0", > ... > .interface_modes = BIT(NL80211_IFTYPE_STATION) | > BIT(NL80211_IFTYPE_AP) | > BIT(NL80211_IFTYPE_MESH_POINT), > > So I wonder how did you test this? Is this something which is only > tested on ancient QSDK kernels and not with upstream kernels? Actually, ignore that. I forgot that there was a separate boolean for the monitor mode: .supports_monitor = true, Sorry for the noise. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches