Received: by 2002:ac8:7315:0:b0:429:955e:b7c6 with SMTP id x21csp208087qto; Fri, 26 Jan 2024 16:16:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IHp9yWxoWSXPGLjQ6ybm/aqfDEEL1MHT7dNF9MSHewPqL1n8DyEoWwoc+jyLex93+ggO7RD X-Received: by 2002:a05:600c:6012:b0:40e:ed8e:20c1 with SMTP id az18-20020a05600c601200b0040eed8e20c1mr1084wmb.6.1706314564006; Fri, 26 Jan 2024 16:16:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706314563; cv=pass; d=google.com; s=arc-20160816; b=MpDQt8jafTOXiFjNK2LNx/kuGwrScmAs28UmqAa1Cut33VYuc4Jpq0zljPpXHwvfXu iHuUD/Po7/z4y5cgd32AEseg4cy0y9eptzo5YNUtpMEXS2rcY7luoZmkf0HyqxFGrOdB o3Zs00vgq3p6Osx1+CfGmyWhFxahGh1/346n1RcsmLWkB76fY/yMe6C+DE6qlwf8IHD3 RpSomZvaHERfrmGoq3xJCBMFZK58q+2Sw5AkmfwaeVEaCrbpUxPtG6K8ManDfIjTCuzb WtLDqsyLjjZKrH/eZvZmtvRvoauCrs+8t2AiD/Vp8QG15F7GoFUro5Q1gkPqx3/1xJ1b LlZQ== 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=rYur9xkFCmYRmaU4FpqIP8DfeohBckDNX0BUh4WUOSg=; fh=Ahzw9WpusEFEYnVn567yjdM3oQ5tWKzSXN4GqjStBc4=; b=SJhxA3eEsLqzR5B0jlKukDM4xZBa5RC1U2NKyQLLzeYHyaZpbe+KCNdrwZ3S0xJyhz 3lQUmueMm7st+l+TYzeeHmcK2HaWO8oZrVxqGCjORsMWjlQNxyA2H1fgibn2zH2ypkYq ZOUtPLYmmSPo+YGoayNuFumjThv2QrxbVpeTPM0lFl/C0koT/N1Iu/HCY2LS0SWXYNyC T3+LSnDbG7PxMTcXkA04+BdQfB6GtC3RTdSJ/mpRmCU9pRSerwupUtaJmlfhQMW7lm48 fkHNgivcKkYQLl9FWY8jy4U/qY5jnJOn996mECxEkwkpeP89Q3DFuWqLMo71B/+rKeQn GDMQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=axmV5CDn; 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-2582-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2582-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a17-20020a1709062b1100b00a28803942f4si1158290ejg.775.2024.01.26.16.16.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 16:16:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2582-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=@quicinc.com header.s=qcppdkim1 header.b=axmV5CDn; 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-2582-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2582-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 784411F214BA for ; Sat, 27 Jan 2024 00:16:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7637F39B; Sat, 27 Jan 2024 00:15:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="axmV5CDn" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 14F91211C for ; Sat, 27 Jan 2024 00:15:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706314559; cv=none; b=KZfBhzhhll+mxg3GCfgyKj+wChGHObcoLdmS5HLaIMVscch4Cz6S9re6pSBqjGz/RO0gfZvFXs3CJqkCOYkDsZu15Zg1euEq+8PVVaAIRhLw9LY0RHOaxExDAdpP6/cuOF+7GXLsL7nhg6LKQUIfZkAqNL47nCHwJUjy1y8SXQE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706314559; c=relaxed/simple; bh=C7j3qaGh5DGYLWVWJnrVrfDaJxJ5KqmRVhnMqUD76V0=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=oZ4JhpsDSyLGDwU+T6Vw1mak4OpidQkd1zj0HW3u16g4VNnAz54/XQaN0+QL58RUdq7KsH2xtC90tlShCSoDcT+edcJ32jDxTz4mInNU6OumAiLd2qpPdlPSaNG3RmnR1jmlvNQGVlFbpX9QSlKrVO0chUE0i3KwLV4xuRV5mDA= 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=axmV5CDn; arc=none smtp.client-ip=205.220.168.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 (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40QNlQvw020504; Sat, 27 Jan 2024 00:15:48 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=rYur9xkFCmYRmaU4FpqIP8DfeohBckDNX0BUh4WUOSg=; b=ax mV5CDnMzpNxMZFc5vQ2eEU18/Jv7FhI+jelUorTOi2OY+n6QudyHcAVodmcofzcV GHnMvJCZ/IbnOdDIswM8qRX02q7C314gPPCqUVhP2GgONijw/Q97FW6W6IPX5b2p dH2hn7/EnjrvOeEGx9cplpj/0IBlK8VYPFPBmbZUBhCbiPRUxMmw5qVVlOPFy7PC IfOE+PcoO8cJGf55ivgpIXlypbFZhKgs+xnvkVlbs4LL2bFzwRMQfSRdRlWfVcfg 5bydIXezCTp06yZAYPX+WaBKAkDQgdXkmrIIx04FpanKh9EbHy0lODZRU46D6tgF 3MUm+X7yOtTeZP+jAi9Q== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vvjbg8h88-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 27 Jan 2024 00:15:48 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40R0FlcT011009 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 27 Jan 2024 00:15:47 GMT Received: from [10.110.0.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, 26 Jan 2024 16:15:47 -0800 Message-ID: Date: Fri, 26 Jan 2024 16:15:47 -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 v4 03/11] wifi: ath12k: implement handling of P2P NoA event Content-Language: en-US To: Kang Yang , CC: References: <20240126115231.356658-1-quic_kangyang@quicinc.com> <20240126115231.356658-4-quic_kangyang@quicinc.com> From: Jeff Johnson In-Reply-To: <20240126115231.356658-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-GUID: Z7-1uS__IhCZcEOERlAsfUlK-r2u2pxD X-Proofpoint-ORIG-GUID: Z7-1uS__IhCZcEOERlAsfUlK-r2u2pxD 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-01-25_14,2024-01-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 priorityscore=1501 mlxlogscore=698 phishscore=0 impostorscore=0 malwarescore=0 bulkscore=0 lowpriorityscore=0 adultscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401270000 On 1/26/2024 3:52 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: 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 Acked-by: Jeff Johnson