Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp855214rdb; Fri, 2 Feb 2024 06:13:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFF6qF+8gpZrQ2R/KF3ehUn3INVOtd8aNpw+IzDBAId79aiRXg5Y6fRaod1mCUPOQAVJgA4 X-Received: by 2002:a05:6a20:4393:b0:19e:4cd8:cc4b with SMTP id i19-20020a056a20439300b0019e4cd8cc4bmr3080952pzl.2.1706883212410; Fri, 02 Feb 2024 06:13:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706883212; cv=pass; d=google.com; s=arc-20160816; b=RAaFpPHdA+qzOj8eOyqMDkRpJ/S0jLwULXasxhYW2Hi6+em8NfQKMpmR9okkVEhPe9 /f0EFJ5MrSPPzKyZUel3DR7INHtFnZKM3TteIiBDLwY6JXd1xOF1468LuSdjQPzlkY6s /8jqSoVjLLIxRPfgRczT5Qed9M/x5mbF9YhpEytimHbzCUXZECX70LNpwGOmkalKTkud URPBOLZBD9IeQHWwmfrvpeLN/bnuQPLJ4nYbRc8qyb7iWYSRUzAUgZH2Y/TGmIgqG7Mt OzxIrSDbHZ6Rr5XeTQ1oISEZK3u56YS/7G/xscPBLWjr9COXGRkTS9XMVAMwnLu5TG4q Opog== ARC-Message-Signature: i=2; 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=MsaWpzXnfsxXHeSEpTpMhXRgt93r56Mlnuj+SExSDgI=; fh=tuF3vQK/GNMNxB0PyZBf3RfiF21dp5r3owX6dKujQjY=; b=KblBHcNDxgHyUVuF7QCxpf+dLmqW9TXGXMbqRNxcMYV2ge39spXvg3icBdKoyvb82y hudy1SaPcx8KpFNCbsDRxXgieVf+OBbsbZmgbXyrl2zE0lm6tecV6g05B2Mas/p4sRSJ hrEsmRIi1CjGhOs2U5S4XmimWCUG5EIE3CMvHlq3JgS7E2wiTIP6MOUz2e5Jtxe1tvI6 jqRQjXRNhQ9bSqcOCwXPwq0I+O+lgVdscU2XZfPp3S73Z3jn2K3et1n6qGD6Fqgagpmc 1bYKsK4SjjuSI3ko9Dnq172dun5Va5HFpOsWeqXT7GF01EvEj+cpfNlPXkVstRN+J3o9 IVHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sk2G8Bhv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3037-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3037-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCWRXnN/eCYWBXSFbE/gCYjeqJmqbwiq000spXhDjhX3lKc2HywiB1h22GGsonmdSPDugmlXQiSgiwXi88g54/EmWDTYHWVKOgMU3rfBrQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d27-20020a630e1b000000b005c69365abc9si1664822pgl.687.2024.02.02.06.13.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 06:13:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3037-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sk2G8Bhv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3037-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3037-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 62196B23E8A for ; Fri, 2 Feb 2024 13:53:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D0404654F; Fri, 2 Feb 2024 13:53:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sk2G8Bhv" 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 5EE3546452 for ; Fri, 2 Feb 2024 13:53:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706881996; cv=none; b=XYa9IsA1oH4Kk+WOavGvZ6SmIYaG6qSIVN0GHA4uIYZkGBufid8VIHf8dTJ9naKvUSVog72Q8ImdFmcR5JIg+3OmkuebxRBhd5pU5GUei0BgHm8Ny2G2/3kdTzHev+MEJ7mtG62P4Fj4xXnQv8my9KhszqxGdE9uggkJ2ZONUiU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706881996; c=relaxed/simple; bh=ffgf4Mx5xFtwuyyn3Ymye60l8jdlFrne+PEhj/bjap0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=Nv6ZqiojTtQuDmHbzF1UD0m4DEWSK9PGiAWb9wqk3brQ8vu3zUY8pkRsCH9SFWZ0VBEiWKpoL9BOGcKL1QAXV4ztlaIcnhKX/ZUw6DIyCN3pOPMKN6ogbjw36ZmOFS+VyQ8H/1vBlaDlVqyBUYYxDrI7Q36/rShF36xs7rwaSM0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sk2G8Bhv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B685C433F1; Fri, 2 Feb 2024 13:53:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706881995; bh=ffgf4Mx5xFtwuyyn3Ymye60l8jdlFrne+PEhj/bjap0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=sk2G8BhvELvB4IpzTMDTBmJBlujNFQEKUjuuCYnIIomRGq+YPd+EbqCkxMvbTAGLr y+wxDQou/5LMGELzJ/cg6mBfBz36GE0vStuGkREHhQ+npqaau1PlxUtz0ZDePKmrNC 070T0SvaJa2nMwjcnarMaOk3I8bfPDAx2ihOKCTwsPoZxC8ljJr7eTBNyqJ3/bqAOE yhCj5MC/grACmLhE2y0R7Fmbd/odQN9XNoSA+I2Vhs5ltenWIMNCgJJLuTb1RU4qF6 omkG87PetLXEBPKYhpVzabGRrMslKlu9avGw/ashUVeU7C8o85S5wpT6gGscbYQKKM ezb4wMa2imuDA== From: Kalle Valo To: Kang Yang Cc: , Subject: Re: [PATCH v6 05/11] wifi: ath12k: implement handling of P2P NoA event References: <20240130040303.370590-1-quic_kangyang@quicinc.com> <20240130040303.370590-6-quic_kangyang@quicinc.com> Date: Fri, 02 Feb 2024 15:53:13 +0200 In-Reply-To: <20240130040303.370590-6-quic_kangyang@quicinc.com> (Kang Yang's message of "Tue, 30 Jan 2024 12:02:57 +0800") Message-ID: <871q9vt1km.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 Kang Yang writes: > The NoA(Notice of Absence) attribute is used by the P2P Group Owner to > signal its absence due to power save timing, concurrent operation, or > off-channel scanning. It is also used in the P2P Presence Request-Response > mechanism. > > The NoA attribute shall be present in the P2P IE in the beacon frames > transmitted by a P2P Group Owner when a NoA schedule is being advertised, > or when the CTWindow is non-zero. > > So add support to update P2P information after P2P GO is up through > event WMI_P2P_NOA_EVENTID, and always put it in probe resp. > > Create p2p.c and p2p.h for P2P related functions and definitions. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Kang Yang This patch 5 had simple conflicts in wmi.c, please check: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=cbcb45c458a93d32a48b9280c13294e0853fa5dd -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches