Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp986376rdb; Tue, 30 Jan 2024 04:57:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpiL4n54tT5fc54J73Z8UxRhE+EcSqmCHVqe6J+/bMRSbBzBhVSo83UbsooTLqNe9YQXuQ X-Received: by 2002:a05:6402:2794:b0:55f:4602:bf84 with SMTP id b20-20020a056402279400b0055f4602bf84mr950082ede.27.1706619458232; Tue, 30 Jan 2024 04:57:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706619458; cv=pass; d=google.com; s=arc-20160816; b=jjljaoEhiOU8yVl2bzH7E+hqqDlGXqCd4ZAMSEoe4HL+rpILjW+5wY+NKb0YM1Qd2Y 74/9DgpWnvnu/S1Ez6AuVnTndZFxtZLgKTC/bLkuX7pdxpbQWDtovgQZIgO9Kp/yEEbf ncUYn9g5RfwBTt8d8BErqriOzFzFVlakAmQ7Nk0OxJ8QhyXy+M6kC+qPgVJ8c/JzGh7n kw1Oeq51bxwlTIC8yXmvmU4loJEwr9rpoj4/LRxghYu53atvc0b7+uAggou+ptpCRCgD Yf5Dm8vf/3tx0Z73twsNJMH1os9rASbIFRcrLMtAICqxVutHOqQkD+cenZ+H5y6h9KEH dN3Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Yh58aEZnPawRcyoxyEguPHXoy0YC/i0Ha+qWlZElNoo=; fh=7d7VfzcHmrGoJdh2kdFvnPWtliVMgrGSfBCscMTtfW4=; b=cfi9r20xBU2C7F4U82ifWFHU7kFQ93N3y1DpBpGAqNmJjZAM0ziNF5A++bMVJq4uKt Rt3sZpKd7a9994NaGtqG2qfZMemGkhaZjy+pTktGRfiPJP8YecTZzitn7Vdm/aMjgljs HhhZkDGAZpjVlybfzvK2AT1Mb5IxSDKELjQkkZYHg9HQZAjIfFbW9X7j/jp3YLvUEnXB xVXUoTDgLqxbmMvC7i1YBfiq4FKMoxo5HxRdCQZDGt3BIu123JvgRIXv97HfP/sn5o2R I+JGruN6oXQK/6QBZ7YeGC96BIRi2Y23BO02g8Otb9YuHsv1RE9qa4lbfXY7BCCho5wF yCpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OIHHybCI; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-2810-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2810-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCVpq4Cc40ujCW3n3HNr4x77V0S8O3ka0Dd2Jcfw/JBJsKhDx5/WwlRgY6PzB8ooTc6AwV3tALN456X1K5Qpyep2O+7cABL1ULtYKJ04Ug== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id el8-20020a056402360800b0055f4a5b5208si360630edb.575.2024.01.30.04.57.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 04:57:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2810-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=pass header.i=@gmail.com header.s=20230601 header.b=OIHHybCI; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-2810-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2810-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 5D4841F293B5 for ; Tue, 30 Jan 2024 12:56:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD6B74C66; Tue, 30 Jan 2024 12:54:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OIHHybCI" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 48A196A358 for ; Tue, 30 Jan 2024 12:54:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706619243; cv=none; b=V4D531jPVek1Sl3wOdOZgp3qAPKBdFw2KmxmHaqm0vAwxhukORx7uwXIPJNz3HD2GcjB9GU4DaDut78hjChsRKJCUU1+Ja0Q9kATEg7fpqCbchUZj9WQsioNSx/Xc+IPzQTHmUGpUSER++tHmE8f2VzLgybOqfdbHH0peBB9OjE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706619243; c=relaxed/simple; bh=37rlY7TEdg6MfBVD5uS8l2W6aL1RKwxgfNjE+Z1PAWU=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=kvIZSXcCu62vmlClDqsmlasuiutmxoSsEYqHYNyUoHjKeByKv6eHefaNGsZrDfEBPvUyRuz8SfYMhH7/rE8sWtLeFGgzOgmzTElxq9ECH5WJakzY+SxmW21k55/LlCuQV+6asrQ7GItcGXBo9ME62/qyVPiJ6OYpXAoI0BW7J1g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OIHHybCI; arc=none smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6da202aa138so2366135b3a.2 for ; Tue, 30 Jan 2024 04:54:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706619241; x=1707224041; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Yh58aEZnPawRcyoxyEguPHXoy0YC/i0Ha+qWlZElNoo=; b=OIHHybCI3gonwZmG6S0H98RGoXKFfaNpoI6lll2qXl6mj+D6zT+mMVrYYzS72CFl3J 2rbPbZ9HLdL3TWwTywKwjZymUDMkjRFaqgNawFzqFOKJapUHsrq/YqGlKx32U+bEPimz cWphLWgIKFLMENUZ5eoy5fhEkOdvzXjkkYVOCpbqFozR+TmZMxiDt4jPb4c72HJG/EHq GbSvZ/tv+H0lI8dnLI1H/61t7S5v+5p+nQIc3v4lpWSNnt5ExfbTQlK3AeHOy3ypzW6f RvliuxV9k/3NMEbTZLHYvhnJnzYwXSsziaB2ShzIaxScm3VhtRHngLAENhPKCIEWgjKb xAeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706619241; x=1707224041; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Yh58aEZnPawRcyoxyEguPHXoy0YC/i0Ha+qWlZElNoo=; b=u6G4lU2+8mGLV/NZt9jFFmWg9Fii9suBkPyerxSQrnqocqIGyie+ZxdPz6Sl2aHZah sNRwAFKq8AdlP56xY6A0Kna/hVdJkbG9xQRVfzL79HuAVK33PAIYPTkH/BRkLdiLd1Af KOw1+SytIk/+PV1BwpuGSoXVexICygcMzkauYN7UJ9TMRFpl8rtq60Dd6wPwyv0VF1oM o3/RHFGNv5UGeZheTkLtTbDn+kkg6AOeS1hp1edM4gy0lkPgo3nPf5EuXuXlagd8yAV5 i87imxklpNaoPMEvoEg1enHRx2efc3Q7/tF4HDYW8T+ARQ98flhKLAVmgZVpRVDmXbAm dFlA== X-Gm-Message-State: AOJu0Yy3DLdDf+YK/0/EUR5ZlATsYiQtA8Yx21vFqBp8tNJ+OLOlbo1T FBsdlfECMlpKXtikNqD63jnQZgc/vmp9dvmJLN7vBz8xIEaug13Nt9xnuQRV4OM= X-Received: by 2002:a05:6a21:196:b0:19c:6ce1:d62b with SMTP id le22-20020a056a21019600b0019c6ce1d62bmr8362842pzb.9.1706619241410; Tue, 30 Jan 2024 04:54:01 -0800 (PST) Received: from [192.168.254.83] ([50.39.172.77]) by smtp.gmail.com with ESMTPSA id e12-20020aa78c4c000000b006dde0df3a7esm7717067pfd.101.2024.01.30.04.54.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 04:54:00 -0800 (PST) Message-ID: <0a2ab448-3205-4ee0-8fdd-428eb2f2ed56@gmail.com> Date: Tue, 30 Jan 2024 04:54:00 -0800 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: ath11k multicast action frame RX Content-Language: en-US To: Baochen Qiang , "open list:MEDIATEK MT76 WIRELESS LAN DRIVER" , ath11k@lists.infradead.org References: <642b61a6-e3c0-4831-887f-f25314bf166d@locusrobotics.com> <90ac3bdc-8797-4d57-8bc9-48e0ad406674@quicinc.com> <1dafe0e5-292b-4764-86c7-cc1757aeb3b6@gmail.com> From: James Prestwood In-Reply-To: <1dafe0e5-292b-4764-86c7-cc1757aeb3b6@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/30/24 4:47 AM, James Prestwood wrote: > Hi Baochen, > > On 1/29/24 11:00 PM, Baochen Qiang wrote: >> >> >> On 1/27/2024 3:18 AM, James Prestwood wrote: >>> On 1/24/24 5:06 AM, James Prestwood wrote: >>> >>>> Hi, >>>> >>>> I recently added support to ath10k, for the QCA6174, to receive >>>> multicast action frames in order to support DPP. I'm trying to do >>>> this for the ath11k QCNFA765/WCN6855. I took the same approach as >>>> ath10k which was actually quite simple but I'm unable to see any >>>> multicast frames coming over even when I enable RX/DATA debugging. >>>> >>>> What I've done so far is: >>>> >>>>  - Add FIF_MCAST_ACTION to the supported filters list >>>> >>>>  - Created/started a monitor vdev from within >>>> ath11k_mac_op_configure_filter() >>>> >>>>     ath11k_mac_monitor_vdev_create(ar); >>>> >>>>     ath11k_mac_monitor_start(ar); >>>> >>>> - Also tried adding >>>> >>>>     ath11k_mac_config_mon_status_default(ar, true); >>>> >>>> I can successfully create/start the monitor vdev. I see now as I'm >>>> writing this email that my specific hardware does not support >>>> monitor mode outright... Is this a dead end or is there hope with >>>> purely driver changes? or is it some filtering at the firmware >>>> level preventing this? >>> >>> I was able to finally see my broadcast frame after some additional >>> testing. It seems the driver/firmware/something gets a bit hung up >>> when I attempt to put it in monitor mode. It will start printing >>> these messages for about a minute: >>> >>> [   51.093034] ath11k_pci 0000:00:06.0: data dest_rx: new ppdu_id >>> a1a2 != status ppdu_id a1a1 dest_mon_not_reaped = 650 dest_mon_stuck >>> = 12 >>> [   51.094461] ath11k_pci 0000:00:06.0: data dest_rx: new ppdu_id >>> a1a3 != status ppdu_id a1a2 dest_mon_not_reaped = 651 dest_mon_stuck >>> = 12 >>> [   51.096281] ath11k_pci 0000:00:06.0: data dest_rx: new ppdu_id >>> a1a5 != status ppdu_id a1a3 dest_mon_not_reaped = 652 dest_mon_stuck >>> = 12 >>> >>> In most cases these ppdu ID's are a one-off from the expected ID >>> which seemed weird to me. But if I let it sit long enough I all of a >>> sudden get a ton of "data rx" messages, which is what I would expect >>> if I enabled a monitor vdev. Once this flurry starts I see the >>> action frame from my other client, sometimes at least. The firmware >>> generally crashes after a while so I've still got a ways to go but >>> it seems within the realm of possibility that this device could >>> receive broadcast action frames? >>> >>> Hoping for some breadcrumbs to follow here... >>> >> Hi James, as you already mentioned, ath11k/WCN6855 doesn't support >> monitor mode yet. I don't know why you are testing multicast action >> frame with monitor mode. So if monitor mode is not a must, could you >> test this with STATION mode? We would look into this if any issue found. > > As you may have guessed I don't _really_ know what I'm doing. When I > got this working with ath10k I saw monitor device was being used in > order to receive probes, and did the same for multicast action frames > and it "just worked". The frames themselves were still being received > on the station device. I attempted to mimic the changes with ath11k. > > The end goal here is just that, be able to receive multicast action > frames on the station device which currently does not work. I'm only > seeing unicast frames when i enable RX debugging. The driver support > for multicast action RX in the kernel for this is basically zero. An > extended feature flag was added by Jouni when he added support to > ath9k, I added limited ath10k support for a variant I tested, and I'd > like to do the same for ath11k as we are transitioning to the WCN6855. > > And help is much appreciated, and I'm happy to put in the work its > just a steep learning curve coupled with the fact that any FW level > communication is proprietary. I really just need a nudge in the right > direction. Meant to mention, I swapped out my email to prestwoj@gmail.com, with multiple emails accounts sometimes my corporate account sneaks in. Sorry for the confusion. > > Thanks, > > James > >> >>> Thanks, >>> >>> James >>> >>>> >>>> Thanks, >>>> >>>> James >>>> >>>> >>