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: 9464931 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 B09756022E for ; Wed, 7 Dec 2016 17:14:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B5262853F for ; Wed, 7 Dec 2016 17:14:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 902ED28544; Wed, 7 Dec 2016 17:14:28 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5BDEE2853F for ; Wed, 7 Dec 2016 17:14:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEfnU-0006jR-Dt; Wed, 07 Dec 2016 17:14:24 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEfnB-0006IT-7b for ath10k@bombadil.infradead.org; Wed, 07 Dec 2016 17:14:05 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by casper.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEfhr-0001KD-GR for ath10k@lists.infradead.org; Wed, 07 Dec 2016 17:08:36 +0000 Received: by mail-wm0-x235.google.com with SMTP id g23so177906321wme.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=R+fi44ZABN6FiCE9lvV3BdmBZMUEXUaLiHqDtJaRg+EreAg806UOuiA4dZb8frOJFb VbpSEzBFIQtnOSRiPGSWDyUIZ/tmGDDm+UTHZW93X1apDd0lj3K2GHGNZU1qRTlzER55 KS6MXJBpnWkSRj7ebibVrDN2+qSiOGNz6e4ZYGwhKy7AJOcK2RKlOFgEV5PK2dsZWmsS y9oFGGYkkUK5HQ+rQZ6HtM/+4EAzj3omeDu4TTIQ1By7ctTBxAVY4v14SfJXNB3zBuT9 KbxwqYKV8zlL6YKR4qzViqBLxMRIzvFnPRkNhphk2FpenmP+arWKPx9O2b+g1awS4WVy yrhA== X-Gm-Message-State: AKaTC01FtKZonY9b9xZg9WQvwduI2aeYzjNS13la+I2ni8TAlKfT8jqWydfIhMITJT/WmQzTf+37sKSxqR1kwBN//KVDZ8m1BPcPfUwOLa2ei+XyM0ssgJQuOxrwFCmv/L4lHBiZBZsBukc2/ZgDNywqXg77/Mf+fzTWqyYcLkt9boLDioMGKFphgdTh7gXTsA8Fbjk= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161207_170835_576703_3C90AEA7 X-CRM114-Status: UNSURE ( 8.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, Bartosz Markowski MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.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)