From patchwork Thu Sep 13 14:45:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erik Stromdahl X-Patchwork-Id: 10599691 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BDAB81822 for ; Thu, 13 Sep 2018 14:45:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD2632B093 for ; Thu, 13 Sep 2018 14:45:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A01A82B094; Thu, 13 Sep 2018 14:45:58 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4C80E2B096 for ; Thu, 13 Sep 2018 14:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=pYLE3EGb6GzTgAiK1kTnCLDUEHkK7re/k15HW7OkEMU=; b=Ill IUyA2Jv/Ee49N2B6b2XpSgAq2FbY6c4GX1TYORt4/PM0DJH53Imrs0kc4M5uIAbj1KHYw2wpMabZV BS+iVzT3sy+IOCaw69SvcWHnv5iK6W7WArJZcfQrgKIHsVoqtVswuDS1lSuHCG7xwcVJlQuEKKIk3 0JQfd3JyrVxxaryBdiulz6lKeJQ/yHaMY3Oif3wipke+mo/cFsh7GRLh9BCSIKErpJIgDygXFfgN3 ZHibZq/1hNp/VRv41EimhuiSIhvLJzqGTYIM6WcWStT0TiuUlJTrdkQXJORWLZKmZBz5Kp7LREPrO o+W8yNWbAjMzM43xQ+DwqH4yz9WLHOA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0SsR-0004Zz-A8; Thu, 13 Sep 2018 14:45:51 +0000 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0SsN-0004Yf-Lk for ath10k@lists.infradead.org; Thu, 13 Sep 2018 14:45:49 +0000 Received: by mail-lj1-x243.google.com with SMTP id f8-v6so4842022ljk.1 for ; Thu, 13 Sep 2018 07:45:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=nOxQSly3qFkY5sLdxDVq8Oxj2ZaXRYjBEcYf6a56b4o=; b=Y4XWdgd8uIlzWkedNhXmj1H1c96GPf0BISmS/5ntHZx+2+qgeIBZSQr0rD852912Do BGdPfbNx/bt9AjACP+7sRMVMFfGoUXOhbYvA49eZkdRE6h/mBzZUeD27439X0ZnpiRc4 Wl33Z0Ft4+GHeOQlARa+xZdo/ZlF3/K89KbXAgcOJcijj9enEpNhswCkmUmXZQI3YgHF w8EWWA7GDC8QOI4W8rilJEnJAh4orTnUSqpHXjyjYe2O0tbB9k9LDqdEEBu86WAHJ8Ph aDseC8pVxPe/5Blzg3eVgP1QvNuUmApHWEHcTro1vxP8bG1Go038FIG7HBQ3wnnajtnr u4NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nOxQSly3qFkY5sLdxDVq8Oxj2ZaXRYjBEcYf6a56b4o=; b=BEeCBls62qW6zEf+Z/6RWSJsVVIEaiF1J1S5+rADAZSd24aV2fcuZd/Rm2Bjanoj9b CCxyYjtn+HelFpjc67S4oMAUZM9BwLO67ZZn4ufwnQebuBh12V6gLskzB1bEBdmyLN5j 6RmGJYkLK4flEUF9+euGO0I/WqPE3Mb4Woc+NsnQk9dlB1ku1WRhKVOSePsMw0Wl5vir 6Mj6tSnJKg1vrsPlBYyzWKI2tNgfFHTrbjZd26shVs+wYGbI7UHbpKdImKj/d4m8cgpW ATn3oWwDcpyfGZWo45EnP6EWIDN/JgW6IZ+YZgJlyOy6qm2xuvBUdU/73TS4DvhdNCSx ripg== X-Gm-Message-State: APzg51DxnjtItgMocu+oza4aJrR84VGJF6rdxkcbI2sryWSRbjcGmsJM yViKSYTlF1mK691Q5EYENLg= X-Google-Smtp-Source: ANB0Vdb2lUq27YqtNfhMGCrISAYTs7ZIk4Lo68EhyLH8gY+CPwwJXEx+I+fQhyVx6oh8sTpVHqCdIg== X-Received: by 2002:a2e:7d10:: with SMTP id y16-v6mr4666293ljc.29.1536849933316; Thu, 13 Sep 2018 07:45:33 -0700 (PDT) Received: from localhost.localdomain (81-233-89-221-no75.tbcn.telia.com. [81.233.89.221]) by smtp.gmail.com with ESMTPSA id q19-v6sm743655lji.14.2018.09.13.07.45.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Sep 2018 07:45:32 -0700 (PDT) From: Erik Stromdahl To: kvalo@qca.qualcomm.com, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Subject: [PATCH 1/2] ath10k: add default value for num_peers in WMI TLV init Date: Thu, 13 Sep 2018 16:45:05 +0200 Message-Id: <20180913144506.8272-1-erik.stromdahl@gmail.com> X-Mailer: git-send-email 2.18.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180913_074547_713380_5E7713AB X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Stromdahl 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 hw_params value will only be used if it was explicitly set in the global hw_params array. This makes it possible to have the num_peers member unset. Signed-off-by: Erik Stromdahl --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi-tlv.c b/drivers/net/wireless/ath/ath10k/wmi-tlv.c index 2640bc389f1d..e8e4ec5443e7 100644 --- a/drivers/net/wireless/ath/ath10k/wmi-tlv.c +++ b/drivers/net/wireless/ath/ath10k/wmi-tlv.c @@ -1569,7 +1569,10 @@ static struct sk_buff *ath10k_wmi_tlv_op_gen_init(struct ath10k *ar) cfg->num_vdevs = __cpu_to_le32(TARGET_TLV_NUM_VDEVS); - cfg->num_peers = __cpu_to_le32(ar->hw_params.num_peers); + if (ar->hw_params.num_peers) + cfg->num_peers = __cpu_to_le32(ar->hw_params.num_peers); + else + cfg->num_peers = __cpu_to_le32(TARGET_TLV_NUM_PEERS); cfg->ast_skid_limit = __cpu_to_le32(ar->hw_params.ast_skid_limit); cfg->num_wds_entries = __cpu_to_le32(ar->hw_params.num_wds_entries); From patchwork Thu Sep 13 14:45:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erik Stromdahl X-Patchwork-Id: 10599689 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 53AF96CB for ; Thu, 13 Sep 2018 14:45:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4362A2B093 for ; Thu, 13 Sep 2018 14:45:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 378B02B095; Thu, 13 Sep 2018 14:45:58 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B46332B093 for ; Thu, 13 Sep 2018 14:45:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=romlwsr3JzRxHk6V89Qdd4AT35mtu2AYO9zCBWhd1H8=; b=i2AbPRvPNDQg/nQPj/h02yKqNO EhMkfGS9JFfXBamX9MK6O4nt+UuasEnqIsqFZcK3xvQTNNQu3k/AuQ6JMwyEQYBSAnGONW0F4Znjn OtFd3zR4qFqjh735kG2WfKWCzH1/MtIjEiDJ95fnQmV4NLs4eV1bGvoUBeCuQWD28d9YUdKwfJZPk iZ98VB3hFFkIRG/KkymxptorgNxIMIQlnZP+6CV0En0xmF6Kb9gfGCNCROi5TO1O7nZq449SDjueH zIODp5rNCvnSmHr0Bgvvjte/RWQwzVAuOSJJc5He12sGAr6Lp8BoaGH6578CSgvKowOQoP/PbfM5E ZFn9BloA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0SsU-0004b0-HG; Thu, 13 Sep 2018 14:45:54 +0000 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0SsN-0004Yg-NC for ath10k@lists.infradead.org; Thu, 13 Sep 2018 14:45:49 +0000 Received: by mail-lf1-x142.google.com with SMTP id z11-v6so5021792lff.9 for ; Thu, 13 Sep 2018 07:45:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3RJkxdWzCIVzrigKoInQq2urRQAvJXT/c4BHfKAFJbs=; b=LG5giFyKHIO4TlDQm0heUnHGErGNusDqsl1HE4o77b8zzfpjYAw3seA/Krm7zD46cO obev2NzxLQZLcPi3PB7S8ACCcFuwfO4I97lf1p+HXCNsSglYgbd80jTOf77EkdVsiQYE 9LeLI9gS0nxidIVLCDSD1B97ICu4wO91b2iymn2lQ1TAQ1/gZqfQ1G7F/6kNtdqPpp4C ToqxgrfVR5EV1pwTNGf6EcvQ1/dWAS2deBLBzdqQ/RozhFmLdOXEPfVIa+V94hIFELCY y0j7ryYqwppTcYC/nEqL7jyz78vXy9Z045R/2XKBeVIE4Hrm/rfh1YBVf+V2evaphqD3 CBFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3RJkxdWzCIVzrigKoInQq2urRQAvJXT/c4BHfKAFJbs=; b=hDwB2g710bMycG8X3xfNIA9H6Oz4FUHiJR/BGf7CwFgWF+fJJ8D8wAf+boPytdqRFA q1gZM1YmvtX+uH34F1/EXNUV6L/zUWfqrjQs1DTFb/J2z6W23gb50xsV2wAnEbEP2quF RiqOw0LmlirPmpGYHP4zTLP+Gig5wovgGtY1Thx9io1i4gioZ0jtlMBh4EeBDELoZG8C ocq3ifDmyNAdryUIqSlcIyEUFZ7HyE7ApqtxobqsV3aiXTVBGP/Dhnf1+7eOoAeUXDXv WEXw+79SJPiBEg0MNRaKf9HoyKkb84CZHP1KAZTERy99ZUCKH00DiTAohoXeHh+bsd27 j8ww== X-Gm-Message-State: APzg51Bsgi2kQ0vvI9CvtiyIwaDxCYbawe94he4R1XQL7suFbpr5GmfW PCDCuCls2eAX3z7/ppgS0x8= X-Google-Smtp-Source: ANB0VdZeyayeB92GZN1I7TCNfF/SbzRaVkyIiASEMJ4HspME3hFpNQE35GtU5kh0DjJX1htBL/LDqg== X-Received: by 2002:a19:d5c8:: with SMTP id m191-v6mr5107962lfg.134.1536849934558; Thu, 13 Sep 2018 07:45:34 -0700 (PDT) Received: from localhost.localdomain (81-233-89-221-no75.tbcn.telia.com. [81.233.89.221]) by smtp.gmail.com with ESMTPSA id q19-v6sm743655lji.14.2018.09.13.07.45.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Sep 2018 07:45:33 -0700 (PDT) From: Erik Stromdahl To: kvalo@qca.qualcomm.com, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Subject: [PATCH 2/2] ath10k: remove num_peers in hw_params for most targets Date: Thu, 13 Sep 2018 16:45:06 +0200 Message-Id: <20180913144506.8272-2-erik.stromdahl@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180913144506.8272-1-erik.stromdahl@gmail.com> References: <20180913144506.8272-1-erik.stromdahl@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180913_074547_772395_AD663098 X-CRM114-Status: GOOD ( 10.94 ) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Stromdahl MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From commit "ath10k: add per target config of max_num_peers", the num_peers value in struct ath10k_hw_params is used to override the value obtained from the WMI op version in the firmware file. Currently, only high latency devices (USB and SDIO) need to use this value, since the value obtained from the WMI op version is not applicable for these devices. Many devices in ath10k_hw_params_list have the wrong value set. An example of this is the QCA9880 hw2.0 chipset that had (before this patch) num_peers set to TARGET_TLV_NUM_PEERS although the firmware uses WMI version ATH10K_FW_WMI_OP_VERSION_10_2_4. Using the wrong value for the QCA9880 chip results in a fw crash: ath10k_pci 0000:01:00.0: firmware crashed! (guid ddf39880-3e64-4edf-b4e4-979d31724503) ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000 ath10k_pci 0000:01:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 1 testmode 0 ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00037 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 a4a52adb ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08 ath10k_pci 0000:01:00.0: htt-ver 0.0 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1 ath10k_pci 0000:01:00.0: firmware register dump: ath10k_pci 0000:01:00.0: [00]: 0x4100016C 0x000015B3 0x009B54B7 0x00955B31 ath10k_pci 0000:01:00.0: [04]: 0x009B54B7 0x00060530 0x00000011 0x00400000 ath10k_pci 0000:01:00.0: [08]: 0x000001B8 0x00000007 0x00443138 0x00955A00 ath10k_pci 0000:01:00.0: [12]: 0x00000009 0x00000000 0x009B548E 0x009B54AB ath10k_pci 0000:01:00.0: [16]: 0x00958080 0x0094078E 0x00000000 0x00000000 ath10k_pci 0000:01:00.0: [20]: 0x409B54B7 0x0040AC64 0x00400000 0x00000087 ath10k_pci 0000:01:00.0: [24]: 0x809A3831 0x0040ACC4 0x000001B1 0xC09B54B7 ath10k_pci 0000:01:00.0: [28]: 0x809A2F08 0x0040AD04 0x00410410 0x00000001 ath10k_pci 0000:01:00.0: [32]: 0x80988856 0x0040AD24 0x00410410 0x00000001 ath10k_pci 0000:01:00.0: [36]: 0x8098AF64 0x0040AD44 0x00410410 0x00000001 ath10k_pci 0000:01:00.0: [40]: 0x809B5DEC 0x0040AD84 0x00410410 0x00410FF4 ath10k_pci 0000:01:00.0: [44]: 0x809B1F20 0x0040ADA4 0x00400000 0x00416C54 ath10k_pci 0000:01:00.0: [48]: 0x809C0295 0x0040ADE4 0x0040AE08 0x00411DC8 ath10k_pci 0000:01:00.0: [52]: 0x809486FA 0x0040AE04 0x00000001 0x00000000 ath10k_pci 0000:01:00.0: [56]: 0x80948E2C 0x0040AEA4 0x0041F290 0x004123D4 ath10k_pci 0000:01:00.0: Copy Engine register dump: ath10k_pci 0000:01:00.0: [00]: 0x00057400 10 10 3 3 ath10k_pci 0000:01:00.0: [01]: 0x00057800 3 3 8 9 ath10k_pci 0000:01:00.0: [02]: 0x00057c00 2 2 1 2 ath10k_pci 0000:01:00.0: [03]: 0x00058000 1 1 2 1 ath10k_pci 0000:01:00.0: [04]: 0x00058400 0 0 40 0 ath10k_pci 0000:01:00.0: [05]: 0x00058800 1 1 0 1 ath10k_pci 0000:01:00.0: [06]: 0x00058c00 0 0 0 0 ath10k_pci 0000:01:00.0: [07]: 0x00059000 0 0 0 0 Signed-off-by: Erik Stromdahl --- drivers/net/wireless/ath/ath10k/core.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 039ddafdb3b9..11ce6c886d7c 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -86,7 +86,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 0, .vht160_mcs_tx_highest = 0, .n_cipher_suites = 8, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false, @@ -120,7 +119,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 0, .vht160_mcs_tx_highest = 0, .n_cipher_suites = 8, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false, @@ -156,7 +154,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 0, .vht160_mcs_tx_highest = 0, .n_cipher_suites = 8, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false, @@ -191,7 +188,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 0, .vht160_mcs_tx_highest = 0, .n_cipher_suites = 8, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false, @@ -226,7 +222,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 0, .vht160_mcs_tx_highest = 0, .n_cipher_suites = 8, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false, @@ -261,7 +256,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 0, .vht160_mcs_tx_highest = 0, .n_cipher_suites = 8, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false, @@ -299,7 +293,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 0, .vht160_mcs_tx_highest = 0, .n_cipher_suites = 8, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false, @@ -340,7 +333,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 0, .vht160_mcs_tx_highest = 0, .n_cipher_suites = 11, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false, @@ -388,7 +380,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 1560, .vht160_mcs_tx_highest = 1560, .n_cipher_suites = 11, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false, @@ -433,7 +424,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 780, .vht160_mcs_tx_highest = 780, .n_cipher_suites = 11, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false, @@ -468,7 +458,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 0, .vht160_mcs_tx_highest = 0, .n_cipher_suites = 8, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false, @@ -505,7 +494,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 0, .vht160_mcs_tx_highest = 0, .n_cipher_suites = 8, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false, @@ -599,7 +587,6 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .vht160_mcs_rx_highest = 0, .vht160_mcs_tx_highest = 0, .n_cipher_suites = 11, - .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, .target_64bit = false,