Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp361511rdb; Tue, 5 Dec 2023 07:27:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGImKF0+5BgUO5fFSFrB41x0wQfiF71PwzbBfQGH7U78eW9DNknrTuwrSlFKsBagEXtPNFo X-Received: by 2002:a19:434e:0:b0:50b:f509:a2ee with SMTP id m14-20020a19434e000000b0050bf509a2eemr1766926lfj.46.1701790078052; Tue, 05 Dec 2023 07:27:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701790078; cv=none; d=google.com; s=arc-20160816; b=tftylzPBOFjj3/4Sl6011NjXaA7mGYQmSlxv2xCrWbaGpGfzfuESQwtYXQB0QxygOp 5tZMUz1gJazksKRHiSc4Ilhee6dS2jM8qaumg+JbfiqX5MBquBOfMmMcCo8uU4ba6kKn Kj1dFn64uBBfuGk2toPuCyE0atpYFZva/NxSO4u0n7Xboz/Lts9jVz7CZX8L/GLzZIwv unLQ6kDL1vsqzsr6Rfky7jf6f0u/s7JVv2h0+ppP2G1fs4h11A8bYTymzZxFhitdaSzd Sk8QCQR1vmXYCC4KJfKDchxXv1wQcHAaNMdLO9aKUPG49n0grO6UxvaiYbN4nTYcIlj2 ZiXQ== ARC-Message-Signature: i=1; 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=x9UitNIdbrhGwooOt/QBvSOh+P1TAzgKbuijAIGnWKA=; fh=DqdZ5omqBmC27PXrlBrx1/QlvszoYNn95aA/ryLEQl8=; b=0qroB7iMIRZgGVX7tkeHTpkXxp6Y5TKnVn0baGHlfl03ECLtrClY1SB+TmdYqg+6uF rLiIzq2YpwOPs+SGv0G1t1/risBKmtO36/u1+GCDkLr4+7puXJmjbXj3YQymc3pgMUmV dbREd/nfU5a0YMJdhSCDMaIzNFoDeQM6eZH8evAqg4YW7YKSFpfQLW3el1PeC/JvHj3O sIjXfS9tRabzOCGK6TgK3Ez7MfxxKMPTQ2lsWKIyqBJ8cYKTPAc8uYXIjpgVkZt4ccRC D5KVEkeXGEFyo1m/gllxGI+il11poOfea4yzPxImfrBa+JMQl0E8uKR9bghgrzS8POZl j/Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nfpLwMkv; spf=pass (google.com: domain of linux-wireless+bounces-428-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-428-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p30-20020a50cd9e000000b0054cb175d7aesi955768edi.278.2023.12.05.07.27.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 07:27:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-428-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nfpLwMkv; spf=pass (google.com: domain of linux-wireless+bounces-428-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-428-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 755801F21869 for ; Tue, 5 Dec 2023 15:27:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 946B568EA1; Tue, 5 Dec 2023 15:27:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nfpLwMkv" 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 74268AD56 for ; Tue, 5 Dec 2023 15:27:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07BC4C433C7; Tue, 5 Dec 2023 15:27:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701790072; bh=ombZDzMaoX08v30FB7mD3sP1qHxKoXQdX0hgGl58V3o=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=nfpLwMkvO1AI8LVy2HHXeKsPX1NZW5gb1gnM37n+x1pDoZA8pAYJCZBj5qJqnXFzZ VhZS5Ck7+FxpY/SpYLZ1PuJDrvM1/UDi6YircYs//rU4PiO2mxioymfXQmONMZyCqe IxJ6x8kSASxIyQlTwc9AOnpYlEHO70Xj8iiDo+FjkoMbFsQjmC1uV5iNSZy9htyrpU xWdjRFuumqphqdUG2BIqsldMt4pijojFvMgjpd0NTXzX95gnc95k26vpHbd7HJVfd3 lbZAzjbtL2o2gwaDLynWa/CdKUWoXIyqCTW8lrVWdaC7aclqhLi7zSBgNp9oQPHmL5 vCW0YT+k/aOOQ== From: Kalle Valo To: Jeff Johnson Cc: James Prestwood , , Subject: Re: [PATCH v2] wifi: ath10k: add support to allow broadcast action frame RX References: <20231116173246.40458-1-prestwoj@gmail.com> Date: Tue, 05 Dec 2023 17:27:50 +0200 In-Reply-To: (Jeff Johnson's message of "Thu, 16 Nov 2023 12:05:31 -0800") Message-ID: <87il5cpt3d.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 Jeff Johnson writes: > On 11/16/2023 9:32 AM, James Prestwood wrote: > >> Broadcast action frames are needed for the Device Provisioning >> Protocol (DPP) for Presence and PKEX Exchange requests. Currently >> just ath9k has this capability so this is being enabled for >> ath10k (for at least one hardware variant). >> >> Add a new capability flag in ath10k_hw_params to indicate support >> for receiving multicast action frames. This bit is then checked >> when configuring the RX filter and (if set) multicast action frame >> registration is enabled. >> >> Until more hardware can be tested only the "qca6174 hw3.2" variant >> is enabling this feature. >> >> Note: I went ahead and removed the 'changed_flags' mask operation >> since it had no effect, that parameter was not being used anywhere. >> >> Tested-on: QCA6174 hw3.2 WLAN.RM.4.4.1-00288- >> >> Signed-off-by: James Prestwood [...] >> --- a/drivers/net/wireless/ath/ath10k/core.c >> +++ b/drivers/net/wireless/ath/ath10k/core.c >> @@ -381,6 +381,7 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { >> .hw_restart_disconnect = false, >> .use_fw_tx_credits = true, >> .delay_unmap_buffer = false, >> + .mcast_frame_registration = true, I forgot to mention that I prefer explicitly setting the false cases as well so I added those in the pending branch: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=51daeadfbecc13b2ce8a9a4b7697e4056cbb358f -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches