Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp298206lqg; Thu, 11 Apr 2024 03:22:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVE54K8ZmPaIV3cTh37PQivvrXbJqXmILAdFmaUzDFN3VkXO42aRd75FVbsKivUP5Dt78ywTjvevzz87KcvbSBa3X9w+g1pan1uAGkLYA== X-Google-Smtp-Source: AGHT+IE420nmw42OM5rOrTZjl7DebXChs1NKVq429snP/HV71LoOhZ9YjxFWgShM+HEHZQCloF13 X-Received: by 2002:a05:6e02:219b:b0:36a:a6c4:fa81 with SMTP id j27-20020a056e02219b00b0036aa6c4fa81mr3465034ila.0.1712830974569; Thu, 11 Apr 2024 03:22:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712830974; cv=pass; d=google.com; s=arc-20160816; b=q0twaUW6NWbQwU7HjdEDP+y/beB39rzgdTh9CSTFjih+j4QXxifkrlAx/+8grpybta w1m3ZPyT5tpRNd4sLV8vzKSzQtFLLWE8I/Sq0OsFcq21OFyy/ZDvKNVlpoDUHyaJrH4O 8LKB54wj6m1nVvZQIV/vGLrNVwfBx5EV8xWGqKkBWaaiaMpC6k781UxvGaYGyPDmtr+y ltD7M9QgmKHYjj5QPFxk3DHgj+H7iwIRdTliEyn9xvZJVFNeeU2KtGfm3GSpp9gBzc3R FsojZhhiwort1DHv+8FkCVgFfuTY9gHZRrY7Dw4oKEFHzCso0wMGOACNzEkH5i09dlyg s8fA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=cMoVr4OS8CjyWfHtQ8yP5yFWNLbgdfgMWtKfF3lm2Kk=; fh=7iiypJ+oGt9UGx3nKIdasSzU1wwh8hqszmbHUQ8adLM=; b=hz3bGLgMcn1T49wc6KN8MndprqdJc4/t/3fRbs0xLI56N13URsCYmSX2eARC+qSx5c AXzAcr5dNLaz0hGVgM+5b0AH1xIrQ1E+1qi9WFCIRKjNZdOqOdcBQaEKwUjYMIQpQybp lvW58gkZm18NGB2hFIqYwTDY7pggq3kQZUKPqhiHAbFVvXSrJvAFIwkswDfAo0eQUEMG HtLe2J+ZtV3GlvBLGztwxX1KdExd6z9ReDHqwl3l0JUnYUNCyDL/u6N4DyXrzYXCJdq1 JluUd9Ur334kbhaIyttWKwvqbFR8Ft9jF2MUlo5+Ulm4yI6bkLQYFC1AyPgZlUFOZjhC /1eg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eFb3agbu; 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-6161-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6161-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 j1-20020a635941000000b005dc892988e1si1020501pgm.509.2024.04.11.03.22.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 03:22:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6161-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=eFb3agbu; 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-6161-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6161-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 0FA7828702C for ; Thu, 11 Apr 2024 10:22:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D4EE146A64; Thu, 11 Apr 2024 10:22:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="eFb3agbu" 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 76DCA140E3D for ; Thu, 11 Apr 2024 10:22: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=1712830973; cv=none; b=U4twaBeL4WRT5pCaCQU/vNUyZV9QSrFdShABHt8936CWncQGA/DG45TysH/kFJVJiJZ7kzNyRoKLviecDl7SwVr3trIyWaJxroOs/xu0AfFRAqeG7H/mp6e/6eIKX7u/eckHPtx0XP0ec09Cr+fOOxOp3CnECBDY6HIQGOk+83E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712830973; c=relaxed/simple; bh=EdDcJQciTr3DLmKA8gtqzFL6k+XHCxZZxYOVpjxezNI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=uqk62nPF4Wev7TmdSIWeHQEpFgbex6jcLuuHfyYF0HyJDFiPoG2zaxGdAX4Nh6UfEz7HfDoajvsNIGD+GAVbOi05mQSXVJEpeNP4cnV3qhcCWaTGaQK8Yb+wrz1qTMo9IpuJ44Gr0ul0H65QrMwhDP3iIgpGS0YnfNmt23FnWgI= 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=eFb3agbu; 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 (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43B8Eu1T032424; Thu, 11 Apr 2024 10:22:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=cMoVr4OS8CjyWfHtQ8yP5yFWNLbgdfgMWtKfF3lm2Kk=; b=eF b3agbuhEYEZu3N4MN8LDJbQlp59RD7zPbCzXG6pSDI6FMbnz6+nWFxhZDC5U3PKZ HbI9dr9+jz98WxzoJCqgaHL8YgR9dyxzO4D+mcaQYbM/X3JOBD5jqlgDmCU2EY9Y aRx4Kl5SRB4IDpRt/ktOZW9VvJ5gFUNyG7vpeonamG994uKKFKmIP6KivPo81TFs VBun6Y6EiW3oXhdtCQFUVgtP2liJGz+bEiaj3i92sVO7SL6OUyNckxoVniRZsq+i GxJLrWOYqMVoG6GcPOPp/Zm+Tsj+QvsyHtjxmP5WnOMXpvK3YV/4jR4xeWbQGWz+ LAcDz/jWw/s2FUnZIA+Q== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xec6dgjgn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Apr 2024 10:22:48 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43BAMmqH029372 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Apr 2024 10:22:48 GMT Received: from hu-periyasa-blr.qualcomm.com (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.4; Thu, 11 Apr 2024 03:22:46 -0700 From: Karthikeyan Periyasamy To: CC: , Karthikeyan Periyasamy , Jeff Johnson Subject: [PATCH v3 3/4] wifi: ath12k: displace the Tx and Rx descriptor in cookie conversion table Date: Thu, 11 Apr 2024 15:52:25 +0530 Message-ID: <20240411102226.4045323-4-quic_periyasa@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240411102226.4045323-1-quic_periyasa@quicinc.com> References: <20240411102226.4045323-1-quic_periyasa@quicinc.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: ayPaBopddfeqJL4BBGKlMCXoZ9hNkvck X-Proofpoint-ORIG-GUID: ayPaBopddfeqJL4BBGKlMCXoZ9hNkvck 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-04-11_04,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1015 phishscore=0 bulkscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 mlxlogscore=602 lowpriorityscore=0 mlxscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404110074 In the hardware cookie conversion table configuration, place the Rx descriptor at the end. This will allow for easier addition of partner device Rx descriptors in the future to support multi-device MLO. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00188-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: Karthikeyan Periyasamy Acked-by: Jeff Johnson --- drivers/net/wireless/ath/ath12k/dp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath12k/dp.h b/drivers/net/wireless/ath/ath12k/dp.h index 57aba97cbdce..5cf0d21ef184 100644 --- a/drivers/net/wireless/ath/ath12k/dp.h +++ b/drivers/net/wireless/ath/ath12k/dp.h @@ -223,8 +223,8 @@ struct ath12k_pdev_dp { #define ATH12K_NUM_TX_SPT_PAGES (ATH12K_TX_SPT_PAGES_PER_POOL * ATH12K_HW_MAX_QUEUES) #define ATH12K_NUM_SPT_PAGES (ATH12K_NUM_RX_SPT_PAGES + ATH12K_NUM_TX_SPT_PAGES) -#define ATH12K_TX_SPT_PAGE_OFFSET ATH12K_NUM_RX_SPT_PAGES -#define ATH12K_RX_SPT_PAGE_OFFSET 0 +#define ATH12K_TX_SPT_PAGE_OFFSET 0 +#define ATH12K_RX_SPT_PAGE_OFFSET ATH12K_NUM_TX_SPT_PAGES /* The SPT pages are divided for RX and TX, first block for RX * and remaining for TX -- 2.34.1