Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4286264rdh; Tue, 28 Nov 2023 18:04:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6jTCxxf66NfcTjJsPbz/4cTATsS1X6SbrvNH2cF7Q72Wd9rVvg/eTROcndtPG4Hy/gRfw X-Received: by 2002:a05:620a:37a4:b0:77d:acf4:111 with SMTP id pi36-20020a05620a37a400b0077dacf40111mr7145222qkn.10.1701223485863; Tue, 28 Nov 2023 18:04:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701223485; cv=none; d=google.com; s=arc-20160816; b=dWukWTRHdJoW/5wu4PauuQ32imd3zqC0DxXrc1U4S318zdcjKJnnnDbgIUouieBZLq +OuHJeanfIAJSBTTfcIRBdwAb5hkclvCjh6yRyGT7hkjUoNiuxl+rglen8KeBxEgTS2+ DEoXxhcOCmtxa3xj9tMRLGr/Q2nAu5YQ9wVfo2DWRNF003ybhRtphLpugylFh+a90yxn xxh5yeDcs9qwWvssxjAXVQW8XKsKrlt2cYWvVL/WXMAzafb6fp3qjkyWYciPUOR6QToK RG384KwZgrR2E2SBP8Z0eOKvZQUiYo2phDLSSHQs8gMH3GDTNBx/PC+G+KSVY2gm5Aw9 nSOg== ARC-Message-Signature: i=1; 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:message-id:date:subject:cc:to :from:dkim-signature; bh=ivB+djYuzYF7/8qp3IF9EYDSH/P18HEi9hM2YlKOxsQ=; fh=iuT7hybwPTwRgORCXDEfziFycsbMl38R7mEpaqq+Y78=; b=X0KjxYedNpgwLBCAabwrgDp0xzkukUSB0noo7t2Cqgn0S3Wvwi3U+FCSBARZfYnFBo MuNJasvcmU9G5kSr9MTyIAr/i74syXOR0rZtoxfPGeCEoXQe+GbBSr6YegmAn6ziHdLH mnXkomBZLz3e3BUJjp2HloRAUBgVkYuLbmKfdAjlYFYz+tz/efuqPVt/0nI5TCf/bbvO 8ixQtjhBf1jqZVDFCyrwqMnpj6lVXE4Kz4fY+vQLveHeDtNwCBuEfGT4dHZY6tJd5h9Z 3LpbCs8lYhTsxzUajso4dah/FLWtmRuaT/TT2wBZgwNQgcwgem/No5dv2JOa/2QWqbJj cjrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gEw6trQx; spf=pass (google.com: domain of linux-wireless+bounces-182-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-182-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o14-20020ae9f50e000000b0077dcb072fa6si669458qkg.782.2023.11.28.18.04.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 18:04:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-182-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gEw6trQx; spf=pass (google.com: domain of linux-wireless+bounces-182-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-182-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 87C4D1C20AC4 for ; Wed, 29 Nov 2023 02:04:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0612A1854; Wed, 29 Nov 2023 02:04:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="gEw6trQx" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90ADD198D for ; Tue, 28 Nov 2023 18:04:40 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3ASNLUF9030201; Wed, 29 Nov 2023 02:04:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=ivB+djYuzYF7/8qp3IF9EYDSH/P18HEi9hM2YlKOxsQ=; b=gEw6trQxYEwun9ndNOgUSZatr1aJ35hWBRASwWDJhlx4BQqFWpEEzau3jvnr869tUDTG mTH812z9rECUgFrZbikhH7aFUk8Bn1aWZfi0M0WIsXjLfUZe79hzItTpRrinXjz9L2XW fA5n7LBgnU5FYyjw2qLG+WMvnkwWtdfHYf13mkVJLPYjB27+2icmJhWrE9VtV7njnl6i ZxgDPmK/gxYSs4Rmcl7aIbsBhNJKFgru89XQIA+pL13h6g26DC2WQpLgv3+jtiwJurXu fgDtrb1Kdx9XrnPJTdy+H29SIl6AIlbFwqdfNhCkOu7ylRfl0QIwiYXPAVb0vO/1pVPm iA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3unje19et8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Nov 2023 02:04:34 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AT24X0w013298 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Nov 2023 02:04:33 GMT Received: from bqiang-SFF.qca.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.1118.40; Tue, 28 Nov 2023 18:04:32 -0800 From: Baochen Qiang To: CC: Subject: [PATCH v2 0/3] wifi: ath12k: some improvement to RX throughput Date: Wed, 29 Nov 2023 10:04:11 +0800 Message-ID: <20231129020414.56425-1-quic_bqiang@quicinc.com> X-Mailer: git-send-email 2.25.1 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: PJccPFfyPdlyBun1m9GnB1o4YFtAtjp6 X-Proofpoint-ORIG-GUID: PJccPFfyPdlyBun1m9GnB1o4YFtAtjp6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-28_27,2023-11-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 phishscore=0 adultscore=0 priorityscore=1501 bulkscore=0 clxscore=1015 mlxscore=0 mlxlogscore=530 suspectscore=0 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311290014 Some fields of hal_reo_update_rx_queue are wrongly defined, fix it in the first patch. Currently the maximum block ACK window size is 256, with the second patch, it is extended to BA1024. The small MAC buffer ring becomes the bottle neck in RX throughput test, so enlarge its size to get a better peak result. This is done is the third patch. With above three changes, more than 6% increase is seen in RX throughput test. v2: 1. wifi: ath12k: fix wrong definitions of hal_reo_update_rx_queue no change. 2. wifi: ath12k: add support for BA1024 a) s/doen/done b) update struct hal_rx_reo_queue_1k 3. wifi: ath12k: change MAC buffer ring size to 2048 no change. Baochen Qiang (3): wifi: ath12k: fix wrong definitions of hal_reo_update_rx_queue wifi: ath12k: add support for BA1024 wifi: ath12k: change MAC buffer ring size to 2048 drivers/net/wireless/ath/ath12k/dp.h | 3 ++- drivers/net/wireless/ath/ath12k/dp_rx.c | 2 +- drivers/net/wireless/ath/ath12k/hal_desc.h | 20 +++++++++++++------- drivers/net/wireless/ath/ath12k/hal_rx.c | 11 ++++++++--- drivers/net/wireless/ath/ath12k/mac.c | 2 +- 5 files changed, 25 insertions(+), 13 deletions(-) base-commit: 16a212b4f33c4edd9ce9a9e0953b5389216e8ed9 -- 2.25.1