Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1450724lqd; Thu, 25 Apr 2024 16:41:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWXonQd8wz8lUGJd9inCmBjKnmogyNu88i7bYXrns3BTTpPUozV6A73ek+ELTuSZCMEYYZfxfkkqwwGJx9Ih2ONuGEWTAjyTu/HmOQrcA== X-Google-Smtp-Source: AGHT+IHnZLLnWTlTF5m2SrkYVPnMHF39F+o6+CtncYAVjVO//T/X3Ud7WpNvJq0spN54okOQqNpd X-Received: by 2002:a05:6e02:154f:b0:36b:3bb4:674 with SMTP id j15-20020a056e02154f00b0036b3bb40674mr1497224ilu.27.1714088514789; Thu, 25 Apr 2024 16:41:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714088514; cv=pass; d=google.com; s=arc-20160816; b=gNt3xyn3adgkKIuVKLmF0aAQgAwGyeuYpkJ7IYgv1/QykPFU0WV3PH15ZJiFMymuF9 ZQ1SCN5NXJYi7T5ezhehk6J1ExfSH6PatUWXD5PBg0zc5dzzLONTHEsgoFOYpUxoMFAi Pgzp33kOWSHbMnwQSn74tEPS8yPEVtBp9kq1F3FwDoFegdeYJTW4lBf/o968ZS65EIoR mCz1UGfweC08s1OJkfBvRdHQ0iekrCBdS/8IIeH1lhLwa4kv/RnR6P3MJwJTr8JGLK66 4N4YeX5ekRmCS+cbTN8ZJ3kbQLc7DVpVEbWZH2nVRrUwAAeYlnCzAKqAtut42+z/3BPA qP8A== 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=BrKswKgr++bTBkMQ+U/VW7lYSiqCN4HDH3FHzaR1vlY=; fh=UGEvyA8ZsS5Xti6/JCuQm9GweAGKKrHrNwT0M2duaDU=; b=aGM9kXP4anklEasA/rfrUPmRf7p9xhljC3oNM3nifGl3MKojX6BOjvJFzq+KWPk80g it7WzklzDU9VLQFyT5m9lMqnVnYwKu5AVonrcQoba1LbLi41Uo6XBuQXJuL2PtDqNkXf GVXck8khcxlwtVsdSPIKboeDYhgaNz/FnT5YCSyV2GQztxJKor1YRSk3JDz7dfAyLGg8 ETxIXsed+zwIYsGtDSf53q2ru/zV9nqyUMFN5bgjVy+uLlOXSwjTKC1GdCNESg9JR8hv YDkC7oGV9IrG0zXuVDGqa/KHA36HkLeaN0MJVXiF6TceA/T86vDQ+0jBDTNBNuTYphBO FYVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jFYV4rNE; 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-6904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r136-20020a632b8e000000b005f773040384si13605163pgr.426.2024.04.25.16.41.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 16:41:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jFYV4rNE; 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-6904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6904-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2F9582852BA for ; Thu, 25 Apr 2024 23:41:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01AB4156F3F; Thu, 25 Apr 2024 23:40:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="jFYV4rNE" 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 7A5EB156979 for ; Thu, 25 Apr 2024 23:40:14 +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=1714088415; cv=none; b=bdtMvR0ZmXlQeoi3jqUhU6L+1hEATrnYG1EoHlkwVrY6Ip/9FnuyVIhWuImW2Fctj94obZxBEeC78fr5Jat5xpoGuy5XhzhFtq7fnl8bLONglzlhFxtu0JvqUyxWHXMMZuM3IbGZLJszMoHjV7/wUcZKnkvnBCDSxIATZB3bc/E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714088415; c=relaxed/simple; bh=DloogCk/MhcLK+4WrN56yni7/IC/jPKs2cnJiDJvOtY=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=jZvJPtW4pqBhP8Kk6zETrm3z6AODSqIFXHZW7KAKkjG+zPAMGDMA6wJ33sqRa6D1FrOQM1Omq9EGpe7jE1g5A3PZbdiNmXpcn3uLGQNxihi+PNxZzpyeojslAuod+BljLDXl+uCGGdf8AU0lWyBGiHMPD7nc7xstMgU63KwRvJw= 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=jFYV4rNE; 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 (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43PMrCWc021675; Thu, 25 Apr 2024 23:40:11 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=BrKswKgr++bTBkMQ+U/VW7lYSiqCN4HDH3FHzaR1vlY=; b=jF YV4rNEJZvRDS7M2ym0zhSvhSzGq+Trl8JDWeg+9nacQR0rA6++0umGCRkrPFoJwc ltLo8LixsxviJ+jy9cnEGnGxFmW5TOk5bYvDAUus73JI9jhM8pRb9QUil1KF/ajB RT1CoQYvWIFkvJjpWju562e0G5gnSV0t4oNCqlaJJo6MqWFlJPHUAhIF3674pNBR rFSOQrE7Sz+mBkFvHoVl2gRoOjQaTbpQJ17wJOPE4J83ZnZD8sr6wx3FDkZPrwEd fFE3Yx+i9vgOIRLDxql4sdwdBn7/dB739j5lu5uPHdc8ym1siLajZyl63y66N/Cn AnlBX49e9s6Ck9I01cfg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xqx038a7n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Apr 2024 23:40:10 +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 43PNe9wP007065 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Apr 2024 23:40:09 GMT Received: from [10.110.19.58] (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; Thu, 25 Apr 2024 16:40:09 -0700 Message-ID: Date: Thu, 25 Apr 2024 16:40:07 -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 V4 5/6] wifi: ath12k: refactor SMPS configuration Content-Language: en-US To: Pradeep Kumar Chitrapu , CC: References: <20240425221902.11553-1-quic_pradeepc@quicinc.com> <20240425221902.11553-6-quic_pradeepc@quicinc.com> From: Jeff Johnson In-Reply-To: <20240425221902.11553-6-quic_pradeepc@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: ItivR5cf0pbE4u_neWpGvVhzcvoScmiV X-Proofpoint-ORIG-GUID: ItivR5cf0pbE4u_neWpGvVhzcvoScmiV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-25_22,2024-04-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 spamscore=0 phishscore=0 mlxlogscore=828 clxscore=1015 adultscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404250173 On 4/25/2024 3:19 PM, Pradeep Kumar Chitrapu wrote: > Move fetching SMPS value to a new function and use u16_get_bits > to extract smps value from capabilities. This will help in s/smps/SMPS/ > extending the functionality when SMPS support in 6 GHz band gets > added in subsequent patches. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > Signed-off-by: Pradeep Kumar Chitrapu