Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1917071rdb; Wed, 31 Jan 2024 13:10:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IGlGa1+9TsWt9qZpfasA2oEJMrGYdWDqz5qoofIbH29/kHWpgBDRcKMkoRegyuLaGZ9yHup X-Received: by 2002:a17:902:ce85:b0:1d8:e2c0:8e10 with SMTP id f5-20020a170902ce8500b001d8e2c08e10mr3448372plg.44.1706735409827; Wed, 31 Jan 2024 13:10:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706735409; cv=pass; d=google.com; s=arc-20160816; b=JFaX7fv/RB1Bl937BmCMM0+FkpfBloKcb8ulfhyVyF3WGKFrEfCfFqn4MO8z037tRp zv4XkmC3mzbWP/vczqD5E/ruFPCsmPEcutq2FY1o0zQA/jTCUDP/KMywG6YHl0rLijpz 0cJz+k6Onep2CC2UQQsNr2tOeZia0q2D7YIbfhXwf17V22yUN8Ucgfa07aDM/wjjWPBP OvE36ks90j8WNyFP3yVBRNfYOcM7FtzEfs3NxFWr58+mba556xblS1b2i9jzH7y+3EkX 8OSJ2SoXb77OlaKpdqritRYarQePwRTA64DTJn5D3NVAtPt9/vhwl2tL2wpIgHlDlqXy XtCQ== 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=2GIrl/SmW4ZjjHE6j7O6SjR+Wue61KRzdfe3ijAPxjw=; fh=Sx2zvxV0KqHufMgL7e5pWwMFqKCRTPzEh91KGco/SVw=; b=FR0SfBrcWVWOz2lAjfHi3f6bmrmn1AUMndyEdh/EALM1BTzGacdiJVfPLDrcvGKtIl 6nB7nJmzOw/znw65RyOoN6wEHqYF3d+ksqY6wlkTX43cgRXXDjdQn/B0IsMbCvuqWW84 zPodlh0gQPb89Uzf6fxoB15QEGbUuuZVBqdesWVeLIDEsJmZ8jAPu7OZbNDvw3aegiKV RNGSMLFxJdqSh+oyKdIFrI6CbWOUzONG7c26Kn1RBwa8ZG1PuabHISg0YxOW+9i8whfr eFvUXzl9raUriA18Ula/L08fWcLg8bit9I/ukA4rPiGjU3oVdwa37YXkU6tviuYHoR1B 0eqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Iqf6BJpD; 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-2908-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2908-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCWxKjoQ5hexVFYh+yqbJI5SuM2rrXVl0P0RFuPXxjvDEWYHJ+3/fWHHHJgg/Za1E1LC3c2TCWfE/IJeAN0D4Fc9Meg/kdyqV7//ZrFNrg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id n12-20020a170902d2cc00b001d556872df5si10903054plc.335.2024.01.31.13.10.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 13:10:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2908-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=Iqf6BJpD; 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-2908-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2908-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 8FBE8B25063 for ; Wed, 31 Jan 2024 21:07:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E4D537708; Wed, 31 Jan 2024 21:07:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Iqf6BJpD" 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 8A4BE208C1 for ; Wed, 31 Jan 2024 21:07:10 +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=1706735232; cv=none; b=OgEBPCZai0bmcpg4B07L0zj8jFO5dhioeBBGc2rCengmL7CcQv0vbv16Bp9nf2iK2pjx8X8wew3tJS2sc6i57elp5RY5/9gNjVZ+kKvMD2Kv4dMHgpBoxeIqdiopO+wikk2dvsvFCcUFrS87mGuuwUvIPrR2C8XEDrSfw+TO8SE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706735232; c=relaxed/simple; bh=nfMVzaF2DHJLLLiFB2FHPR3IBTNrHzcKGrB/f+ST5FM=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=Hb0Y19eqVVlS4ckO5EHygS7ZemWup3CsPPAEnOKcxFm3lvpsLxNYOH1FNYTiwoUaIP39b8DBRejrNRVEYF+9kO5WgcSjHyYpXbPl+rFzr4bea9BxPhEhADg7kqUB1MexHTO2pzD2k7coLwA+NY7VrgWa7UvMdnkcSj3mzMkRIgY= 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=Iqf6BJpD; 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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40VJOeKe010853; Wed, 31 Jan 2024 21:07:05 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=2GIrl/SmW4ZjjHE6j7O6SjR+Wue61KRzdfe3ijAPxjw=; b=Iq f6BJpD4YpEtPASSWwvDLAcBsoVrs5tQMLcMlo+qjPDz4y/S6zwKVKDcjNgq+15fd AtO+X3xnJm6dVMmQxHOIKq875wBrnzKqzkxJ3tZgtu/McBWJ1ZMg0N6mXpYZzASp ufB/aSQFRn3eM0r7KeidIDVv2yG7++Te73EmMLge+G7nbzhpS6Vtn7D4i//g6QqU qZKIS7I7maxZGIHZrbUfwf1YDb+Q/2C+LNX6cq2TTWsEu98xIqPxXVFYFDe4/wKG wyqkuTrr4CMLoy7OkYvourME3EWyiDvxMrZ+dY8V/qCmsqE1hkIxIdJwV9RL14zO Fz+yuc7yWkyJ47VV81dQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vyvb5g762-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 Jan 2024 21:07:04 +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 40VL73RR032544 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 Jan 2024 21:07:03 GMT Received: from [10.110.47.232] (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; Wed, 31 Jan 2024 13:07:03 -0800 Message-ID: <8f764296-4920-47ef-a361-91748ed72d59@quicinc.com> Date: Wed, 31 Jan 2024 13:07:03 -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 v3 07/13] wifi: ath12k: split hal_ops to support RX TLVs word mask compaction Content-Language: en-US To: Raj Kumar Bhagat , CC: References: <20240129065724.2310207-1-quic_rajkbhag@quicinc.com> <20240129065724.2310207-8-quic_rajkbhag@quicinc.com> From: Jeff Johnson In-Reply-To: <20240129065724.2310207-8-quic_rajkbhag@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: Gx4XDesbJNwNu1dVbhF02RUN-jH4GstG X-Proofpoint-ORIG-GUID: Gx4XDesbJNwNu1dVbhF02RUN-jH4GstG 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-31_10,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=911 adultscore=0 spamscore=0 clxscore=1015 impostorscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401310163 On 1/28/2024 10:57 PM, Raj Kumar Bhagat wrote: > With word mask subscription support, the rx_desc structure will > change. The fields in this structure rx_desc will be reduced to only > the required fields. To make word mask subscription changes compatible > with the older firmware version (firmware that does not support word > mask subscription), two different structures of rx_desc will be > required for the same hardware. > > Most of the hal_ops are directly related to rx_desc. > > Hence, split hal_ops into operations that are independent of rx_desc > (hal_ops) and the operations that are directly dependent on rx_desc > (hal_rx_ops). These hal_rx_ops depend on both hardware and firmware > hence move them out of hw_params. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00188-QCAHKSWPL_SILICONZ-1 > 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: Raj Kumar Bhagat Acked-by: Jeff Johnson