Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp406665lqg; Fri, 1 Mar 2024 08:39:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVAPGdAGTx/NZrzroI7/NB2+N+hVzN+rZjP5+9NhfLi1N7Kgb4JCXIb+96I6K8eq6ElhihO4cd3SoKqIvHBlbLLrZ2aKurX/E6SV7FM4A== X-Google-Smtp-Source: AGHT+IFGye8LiUNa1h5ACDkoQWAu+Pw42/+F2s5XVZBnTm496z6MhA+22B+fr1Dk/kZweozlSJnN X-Received: by 2002:a17:90a:3d45:b0:29b:125c:a97a with SMTP id o5-20020a17090a3d4500b0029b125ca97amr2033266pjf.43.1709311153388; Fri, 01 Mar 2024 08:39:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709311153; cv=pass; d=google.com; s=arc-20160816; b=Hfr0QGTqeD0L8XUXFAiJQIuKdrr9h9T+T1ge+yB4VT9xUt3MK7tTnGyrTI/jW7Ho3b S5GHZi2q0dgiGUAKSPvm6M+EAA8T03Z6UQWCBakk8dCab2poMDQFIZHmzBIWeVh3rEfD Loz5hw84FMmB35jWHcgtX34OUWI88/tis90WnSfT7/bJBbRa3t+EU8xxz+XpYPEx16tU NCztqgqSypNYh5ILQjhnvLX/efynrX25rmlU0tK86zElRmV4XGpjUxsVMdSD/dMDR1/T BHgoomKAO38RLGAMQnohUxinxlQFcEqC9wYpftJXpQ4EWhNG/MiS5WX8qkw/Bkdahz/y SGBQ== 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:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=3Ir7Q3Pt+8Q+sdSyNyN5kyXtEN52n0Xyx9jT99QCpI0=; fh=0i3k2lrLpMWFah9LK4IuojSY2PE0JD94Cd5lwg6VYZU=; b=BGQiGGIXsHXkL6oLx7qinEQUR7KUi76j5kdTKfbfNLnV//EKX9doGJn0ZX4WLf9fif ubCc/BfyBPXVWLqkQNQ0FrD5PTIaYQG2raNOcSr8rrv21TA8/VjbCGQ6UTauGfhsi7iF RmeNQ9XAS3fHYlw3Ih4PtJ88QRcBeFKzhXcACQcadDKLsH0dfbJkjuMI10M5cc5XX7rd p9vkwjIzzzM0Ej19rwq1WTn24jw0KyXUv5aq7Jm13IIK9LBEdB44tUMErXSKJXy6nt1C vID7ynh2uEQHsNa1ZzkILSD+/7XBLm0N8R701tA/o7WL9MJ0fzQL2MCqh2H8Kg7oSRBy qwhg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jGMMLeXV; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-4298-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t7-20020a17090a5d8700b0029b0e894748si3760767pji.166.2024.03.01.08.39.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 08:39:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4298-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=@quicinc.com header.s=qcppdkim1 header.b=jGMMLeXV; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-4298-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5A974B254C4 for ; Fri, 1 Mar 2024 16:32:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DAD9C2571; Fri, 1 Mar 2024 16:32:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="jGMMLeXV" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 56C6C2570 for ; Fri, 1 Mar 2024 16:32:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709310751; cv=none; b=kfeuvyW/5L7HCggY/ghLFjiGyDqYA9EMI71W0hrQycTn/Chce/CC8IV3xLWrZFTjrhSVCD3UQ7MIZ+6c+h2cF8F9/YHgKReuCvOo5IS3O7v5ig8bl3B15zD/kCqj3bchH6xPOvd0dU+N7ussYcDV/AQQtq8f77Na/swdC6x2F98= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709310751; c=relaxed/simple; bh=tRq351HUejWWxUiyux+hziYyC39yR7LNT1vHXh5OE6Q=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=ojO3aB63lJeh50TLlGjV6G5MG2TJ1RifUvmlONyQ81bkyUiKS9B6HEhtR9bEtkcR77YtVYY6k0pQRefqUFvG9HPhb5LYOUNwyIL2P4xlx/Icz1+lzA5OyLQZpihzPodeEuamuO8ko8nCz4smwslk2zq5T3/q9S1gE8/IW7xCINU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=jGMMLeXV; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 421B1LPM023563; Fri, 1 Mar 2024 16:32:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=3Ir7Q3Pt+8Q+sdSyNyN5kyXtEN52n0Xyx9jT99QCpI0=; b=jG MMLeXVsuepRqd9eRhZW7dxW/wPA8LFX85/qqci80jRcbgveVkffiYA4utIZFIKF4 atfe1IBJhtVKP+HXzfV46dHRKceib2cVwWb/5qC/lRWNxV99DhzM7rTk6/cS4P1x qyzTiaI++XyTH8x0GYRAqQV2IreA08wsrfsfH+HdiJNezlq8HHX46j/5BQYl7F3Q 3hIvdr9K+mKg+nS+0RH3CMTpVgiM3yIwjbyD5C3TqulGZvAEcR2YrwUNNdfSpAuA kRIC32g11LHZ/vXcEOmAiygxi6Ltud4YjU3F0SsTfCBRhyNOpBqzISIDjkBYWExW tJ+4vmCwNE+tmzhfrfdg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wk9mf1dxx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 Mar 2024 16:32:26 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 421GWPXV007700 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 1 Mar 2024 16:32:25 GMT Received: from [10.110.42.209] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 1 Mar 2024 08:32:25 -0800 Message-ID: <8fce52b8-6268-4b4e-b6af-0e987689c065@quicinc.com> Date: Fri, 1 Mar 2024 08:32:25 -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: [PATCH v2 3/6] wifi: ath11k: implement handling of P2P NoA event Content-Language: en-US To: Kang Yang , CC: References: <20240228093537.25052-1-quic_kangyang@quicinc.com> <20240228093537.25052-4-quic_kangyang@quicinc.com> From: Jeff Johnson In-Reply-To: <20240228093537.25052-4-quic_kangyang@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: NVZPxsiLJRncRK0hnpB2kms07YIDiPEo X-Proofpoint-GUID: NVZPxsiLJRncRK0hnpB2kms07YIDiPEo X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-01_17,2024-03-01_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 spamscore=0 clxscore=1015 priorityscore=1501 adultscore=0 impostorscore=0 mlxscore=0 mlxlogscore=833 lowpriorityscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403010137 On 2/28/2024 1:35 AM, Kang Yang wrote: > 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: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.37 > Tested-on: QCA2066 hw2.1 PCI WLAN.HSP.1.1-03926.13-QCAHSPSWPL_V2_SILICONZ_CE-2.52297.2 > > Signed-off-by: Kang Yang Acked-by: Jeff Johnson