From patchwork Wed Dec 7 17:07:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Markowski X-Patchwork-Id: 9464909 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1ED476022E for ; Wed, 7 Dec 2016 17:08:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09966284F9 for ; Wed, 7 Dec 2016 17:08:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F29642853F; Wed, 7 Dec 2016 17:08:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9E1A284F9 for ; Wed, 7 Dec 2016 17:08:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932466AbcLGRIO (ORCPT ); Wed, 7 Dec 2016 12:08:14 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:33908 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932453AbcLGRIN (ORCPT ); Wed, 7 Dec 2016 12:08:13 -0500 Received: by mail-wm0-f49.google.com with SMTP id u144so36517560wmu.1 for ; Wed, 07 Dec 2016 09:08:13 -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:in-reply-to:references; bh=jVQ/08r3eHaA8tvzop+ZMD+MEr+iCq6tsghJRr5Vu9U=; b=0DAUBcuPIFVsnCFsGS2v0Mbp5HYJWSwhKNuxwKF3cn4gOrPsjFkpHVMAiDKD2tA2qO hupmySM8N+FVqmh3mfztBnj0JDS5ePx1J0zToW0URpSX4CSAwbXF+BRNITaG1vV660X8 e4I+dT/hLM+B2yRPrOl4Q9NmpWn6bkKFk3DBM= 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:in-reply-to :references; bh=jVQ/08r3eHaA8tvzop+ZMD+MEr+iCq6tsghJRr5Vu9U=; b=Ua2rIbpwS8EPsk/FfeKe01aIt4ZFT42GrrnrK5n28W0cTx98j+97fFzzM9CudKDVzQ qPHy8Fo4nHwfnN3E4X1kmwf3ASB9utZjBngtCUOQrlsEVB1vTHutKs+IGjnvOx8BhQWb 5tnj8t3HUKiY09U0AbOUB8NZRO4bG3lozsic0DeArO4LccBZORJeSns5W4vcJWxgCqu7 NtoUtgXEEmWwW6luNzA91dOaqHcAMwW1Efu+mKWItWIsIm9IWc1/evhSjnkCYaLItZ+G UvN/L8JY5iKv6D2mi3QCGd+/CVZ7v42GAxnh7QhgU1yXGs845bR8BKKXuX0jOQcsNVec mJjw== X-Gm-Message-State: AKaTC01oKdjrSr58inpwsBmzOFxZzR8MZFKCHriH4WmEAvc2YLGHvTVyioaMPqi4TDHUCiU52igD0PR6StHKa8TE1MGFJH6NLrBYsnBXioWv8Ns1xVxSbEfi1RVhLnNELJAjzqRo29AbPA== X-Received: by 10.25.145.91 with SMTP id y27mr12170120lfj.29.1481130492388; Wed, 07 Dec 2016 09:08:12 -0800 (PST) Received: from uw000975.eu.tieto.com ([91.198.246.10]) by smtp.gmail.com with ESMTPSA id x17sm1374247lja.6.2016.12.07.09.08.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Dec 2016 09:08:11 -0800 (PST) From: Bartosz Markowski To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Bartosz Markowski Subject: [PATCH 3/5] ath10k: decrease num of peers support Date: Wed, 7 Dec 2016 18:07:32 +0100 Message-Id: <1481130454-27244-3-git-send-email-bartosz.markowski@tieto.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1481130454-27244-1-git-send-email-bartosz.markowski@tieto.com> References: <1481130454-27244-1-git-send-email-bartosz.markowski@tieto.com> X-DomainID: tieto.com Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The correct number for QCA9377 chip is 33 VDEVs. This impacts also QCA6174 chip and it's max VDEV number. Signed-off-by: Bartosz Markowski --- drivers/net/wireless/ath/ath10k/hw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/hw.h b/drivers/net/wireless/ath/ath10k/hw.h index 883547f3347c..7feffec531cc 100644 --- a/drivers/net/wireless/ath/ath10k/hw.h +++ b/drivers/net/wireless/ath/ath10k/hw.h @@ -512,7 +512,7 @@ ath10k_rx_desc_get_l3_pad_bytes(struct ath10k_hw_params *hw, /* Target specific defines for WMI-TLV firmware */ #define TARGET_TLV_NUM_VDEVS 4 #define TARGET_TLV_NUM_STATIONS 32 -#define TARGET_TLV_NUM_PEERS 35 +#define TARGET_TLV_NUM_PEERS 33 #define TARGET_TLV_NUM_TDLS_VDEVS 1 #define TARGET_TLV_NUM_TIDS ((TARGET_TLV_NUM_PEERS) * 2) #define TARGET_TLV_NUM_MSDU_DESC (1024 + 32)