From patchwork Tue Mar 1 12:16:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Kazior X-Patchwork-Id: 8464821 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 621BA9F38C for ; Tue, 1 Mar 2016 12:15:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8ABBB20251 for ; Tue, 1 Mar 2016 12:15:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9C0CF2024F for ; Tue, 1 Mar 2016 12:15:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753431AbcCAMPX (ORCPT ); Tue, 1 Mar 2016 07:15:23 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:34219 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752680AbcCAMPV (ORCPT ); Tue, 1 Mar 2016 07:15:21 -0500 Received: by mail-lb0-f169.google.com with SMTP id of3so97719231lbc.1 for ; Tue, 01 Mar 2016 04:15:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:to:cc:subject:date:message-id; bh=vrSW5CQ4ZZKbbOfi20Sl2tZia5CKFwGK+tZUIQvcGuA=; b=nEgfQlLQmjp9OsDeWHtODwTqG1VsU40dX8flM6F3rGYN1ce/aC6KtU3Q6WQlaipmcA yl23l0IAVhHqdmvd+P1iIj+ibAl4WI2FyeKlvlfoKK95I6+WNjtAlguFesaXGg2I+BxS xQZyE5XaCeOOaKzFEZmCEHy5ONR1HqKRXc9+g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vrSW5CQ4ZZKbbOfi20Sl2tZia5CKFwGK+tZUIQvcGuA=; b=Q4PyJHhyQRbIL2zQ29VIO10bnJi6cLX7Zj3tIrJO+cKuGei7md89+djuXMq3SigPTe EdttXQR41YQ7G/NpeQtr5NAK2EUWSChnNSZoBU7UNvdxU9M/9rCmH7gxAHzLYpMXBbCC Lr/YjmJwKzwsCtPf7mxufmEDE0qpLnCrz0O9winO6tLwHPFNy8gs8Rs0hfpfOAU+G0Iq Xc0LOZkhkGsXu5nsXJr6IboU4Zk1FaSUS4KfwyIP9oyTGhFO7B3bG6n6Drdq/evHJaLu Ki7HIAKwR4gbn5tnoHoGC0KYw1j8QRsPZTqLbran+iRUSrBgaOUaLb1cl7nor0a0N6Hp /jTA== X-Gm-Message-State: AD7BkJI5s0QhUpAopPYATZ1YGsw4ASjl/g4MsmfWZvSUQrke8+G2sVghix7/kivhAZUfzw0Gx2Z9chnUqcvBiHK19YrtlFRJp5+VyLf18B0Qq1bP4soxjIaF0g7weYK1Enqf8ADLdBxCZQ== X-Received: by 10.112.61.233 with SMTP id t9mr7593160lbr.47.1456834519370; Tue, 01 Mar 2016 04:15:19 -0800 (PST) Received: from localhost.localdomain ([91.198.246.10]) by smtp.gmail.com with ESMTPSA id y3sm4753809lbk.40.2016.03.01.04.15.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Mar 2016 04:15:18 -0800 (PST) From: Michal Kazior To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Michal Kazior Subject: [PATCH 1/2] ath10k: fix HTT Tx CE ring size Date: Tue, 1 Mar 2016 13:16:10 +0100 Message-Id: <1456834571-9847-1-git-send-email-michal.kazior@tieto.com> X-Mailer: git-send-email 2.1.4 X-DomainID: tieto.com Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP QCA4019 can queue up to 2500 frames at a time. This means it requires roughly 5000 entires on the ring to work properly. Otherwise random tx failure may occur. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/ce.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/ce.h b/drivers/net/wireless/ath/ath10k/ce.h index 47b734ce7ecf..dac676817532 100644 --- a/drivers/net/wireless/ath/ath10k/ce.h +++ b/drivers/net/wireless/ath/ath10k/ce.h @@ -22,7 +22,7 @@ /* Maximum number of Copy Engine's supported */ #define CE_COUNT_MAX 12 -#define CE_HTT_H2T_MSG_SRC_NENTRIES 4096 +#define CE_HTT_H2T_MSG_SRC_NENTRIES 8192 /* Descriptor rings must be aligned to this boundary */ #define CE_DESC_RING_ALIGN 8