Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp662265lqo; Fri, 10 May 2024 10:40:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWIMj362L2x+1IOxOxRJLqSjT8DkZuV0POTGvxytvBOGo8dMKetPsG/y4T2BWvix1ftWaZ/q4dOuG5EWaQPuHSuPJeRZ+yxNsX5s6OQCw== X-Google-Smtp-Source: AGHT+IFL+soF/m7/EjrEdAcIH792HR65VKKYMD3j/qCmoZFlWB+s+sEH5c7X4k+Mo9gH/HP7mU+E X-Received: by 2002:a19:5f41:0:b0:518:9362:f63 with SMTP id 2adb3069b0e04-5220f97041fmr2037884e87.0.1715362836283; Fri, 10 May 2024 10:40:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715362836; cv=pass; d=google.com; s=arc-20160816; b=Z091wJigARsCc0D4cQ+Og4UR8Rr1QT8diNePv4SCUxaGgsl0Qc6L8t5csSLXOyZErP O4v8V4+F0M8c2ZxhiDZhAGqyYLxkscTYRwxAIcgTXhvY32uWqa8D4Gl3/lcafnS+z7dI yjS8r4vXUMTw55PGtNG6o4e7QWL4QU+QXMzDrQ6JpCQ8AuukUS+p/2jGaEbkm55X5R7l dM6mkdIXOoNL7LoZfOD9PvZDp8rMJtaEOXHIcqOrt4wMFpgRnBbTUc3k/gh2w01Bq4Gg 2Es8ziGlX7tHpJb02K4zbh9jubx7jN0SREhZD4a2e1oTHPzTdu2M0MaDaiNInVBDX+6h MaOw== 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=gvSDn1onXQlUziXwS6j3LBnVthDf9cvu+fLmQqL4rsc=; fh=b2YQfG9PfQSUw5xMVFyESXjrM9bXk1jv/UlzGGNeVIg=; b=yUCjKMym882Yp5YHlVZn/zDf7rPfaQwc6X149CKEmwG24GM6PmvoUByrKuaQ3OH6vx Y8h1MPpeXUGcKp76xAMpIlvHiUrW6Ub3I6hAjTBp2tOp0hJ6I9huEOdc63S0BNTMAcxz ndQ5EYfbu5hV8tr8nPOb479zu2QD5Yn0gkt1IpQKhqvjGz/S93kB8dZJv4C8/iXUGwbq Q8h6Tq7weolmYyWDBdsVTbTNNx/KYFaugpvHlBIN2f8fZwQgFo9h/7a7mwX1Lut95pPq /m/Cc6yoUSuVNVByi1pVY7S4U2qSUo85N4zR6HZCQEGACI+utdT4lmVdoDLKoc//yI8R Wq9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ThkM0bFz; 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-7489-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7489-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. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a1797b9b8si216917666b.223.2024.05.10.10.40.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 10:40:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7489-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=@quicinc.com header.s=qcppdkim1 header.b=ThkM0bFz; 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-7489-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7489-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 003EF1F23312 for ; Fri, 10 May 2024 17:40:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98EBB18E25; Fri, 10 May 2024 17:40:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ThkM0bFz" 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 15330944F for ; Fri, 10 May 2024 17:40:29 +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=1715362831; cv=none; b=WpHRKxATDftYa4QgfagAypoWZ2sLPB4mo/OHvzxMbFh0h1wQcdCFmhjU3FFO34PbUCFObT/cCFBdwoheRSnhBpv9LpghWhArbA/uvuA77IQJ0Lgnl47+QXOnCQVMZzA15fPMgmP2tzMl+TgB2BxF0FqvLLGCBsmNhqltx3AEVTE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715362831; c=relaxed/simple; bh=SpwWz0p9vEZVACdGpKkmmC/Nk+x34WCPlt1/z287JoM=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=RKKQZPn7d31Fnr5XSLVKMSG5lB/48cQXKJ83dr1qW1U8+aMiaz7j2RjkmffVEHT1W52YJFhRkWQ6tQjaQ4zFfoc+as48jTIa4mqksDj56MUN4owr72BvN85hk3J6UKXMfWT97/FG6gh9VrOSFcp2XqZZsQSVp2cxd8xRAYmDY0I= 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=ThkM0bFz; 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 (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44AEKp01025185; Fri, 10 May 2024 17:40: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=gvSDn1onXQlUziXwS6j3LBnVthDf9cvu+fLmQqL4rsc=; b=Th kM0bFzKJ8ZpbGx8+3eCezv81MH/LNMvYMeVJo10mcPPXGc9w2lsiOs5QDrMwikCR pNyimTeqUfByGBMJ8pAL0FIIHpcEtX+kxmuPONZS+fYSCyfW+XaYuVpzXCcE4lJ5 yO6jA7niDRcOn2OP8gjJ3VcDir7sgImW0Tdp1V3483e1oa+ATlpioPobZqnUceXV 8PnvWsQCcRkxEYS/UdOScifKYoDR7/r8n6gywDD5oAJIe20qXMo9NEVulSPsVq3T 3e+5PmEgyWabKfCvdXNzR2RHprQUGyNtg/pipQiwVYR/RrpdqFyrxMU/OXl2oX+u inrJ7tbuqvUpUmar8YlA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3y16w2a357-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 May 2024 17:40: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 44AHeElG014992 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 May 2024 17:40:14 GMT Received: from [10.110.100.57] (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.1544.9; Fri, 10 May 2024 10:40:13 -0700 Message-ID: <960c4437-927c-4e90-87bc-c550cdcfaec0@quicinc.com> Date: Fri, 10 May 2024 10:40:13 -0700 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 7/7] wifi: ath12k: handle keepalive during WoWLAN suspend and resume Content-Language: en-US To: Baochen Qiang , CC: References: <20240510064748.369452-1-quic_bqiang@quicinc.com> <20240510064748.369452-8-quic_bqiang@quicinc.com> From: Jeff Johnson In-Reply-To: <20240510064748.369452-8-quic_bqiang@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: wfuwyqmZFrrayyoThfwF9LGSiEsuz06X X-Proofpoint-ORIG-GUID: wfuwyqmZFrrayyoThfwF9LGSiEsuz06X X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-10_12,2024-05-10_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 adultscore=0 clxscore=1015 phishscore=0 mlxscore=0 bulkscore=0 impostorscore=0 spamscore=0 mlxlogscore=963 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405010000 definitions=main-2405100127 On 5/9/2024 11:47 PM, Baochen Qiang wrote: > With WoWLAN enabled and after sleeping for a rather long time, > we are seeing that with some APs, it is not able to wake up > the STA though the correct wake up pattern has been configured. > This is because the host doesn't send keepalive command to > firmware, thus firmware will not send any packet to the AP and > after a specific time the AP kicks out the STA. > > So enable keepalive before going to suspend and disable it after > resume back. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > > Signed-off-by: Baochen Qiang Acked-by: Jeff Johnson