From patchwork Mon Oct 17 21:23:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Greear X-Patchwork-Id: 683419 X-Patchwork-Delegate: nbd@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3syWVG56v5z9sD6 for ; Tue, 18 Oct 2016 08:26:30 +1100 (AEDT) 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 1bwFO0-0007N5-WD; Mon, 17 Oct 2016 21:23:57 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bwFNx-0007JX-Pa for lede-dev@bombadil.infradead.org; Mon, 17 Oct 2016 21:23:53 +0000 Received: from mail2.candelatech.com ([208.74.158.173]) by merlin.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bwFNw-0007X1-DQ for lede-dev@lists.infradead.org; Mon, 17 Oct 2016 21:23:52 +0000 Received: from ben-dt3.candelatech.com (firewall.candelatech.com [50.251.239.81]) by mail2.candelatech.com (Postfix) with ESMTP id CA49440A7E2; Mon, 17 Oct 2016 14:23:09 -0700 (PDT) From: greearb@candelatech.com To: lede-dev@lists.infradead.org Date: Mon, 17 Oct 2016 14:23:01 -0700 Message-Id: <1476739381-19213-1-git-send-email-greearb@candelatech.com> X-Mailer: git-send-email 2.4.11 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161017_172352_510680_FC3A736F X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.2 (--) X-Spam-Report: SpamAssassin version 3.4.1 on merlin.infradead.org summary: Content analysis details: (-2.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.3 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Subject: [LEDE-DEV] [PATCH] Latest ath10k CT 988X firmware (beta-18). X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ben Greear MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Ben Greear * Backport much of the 10.2 firmware features from upstream QCA driver. This includes ANI support, adaptive CCA, tx-hang workarounds, and lots of other things. Not all of this may be enabled at this point, and more code waits to be backported as time and motivation allows. * Fix some rate-control issues where ath10k in station mode (at least), would sometimes get stuck at low rates. This appeared to be a probe related state machine issue in the firmware, so I added some timeout logic to kick the state machine if it gets stuck. This signicantly improves throughput tests with many stations. * Support configuring WMI WD timeout using SET_SPECIAL API. * Properly configure the rx-mask on bootup to work around problem found by Mr. Kazior. This should remove the need to add the driver hack he posted. * Allow configuring pdev failed-retry threshold. This is how many consecutive tx failures the firmware will allow before resetting the wifi chip (not a full firmware crash). Signed-off-by: Ben Greear --- package/firmware/ath10k-firmware/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile index 73309ad..9ddfe92 100644 --- a/package/firmware/ath10k-firmware/Makefile +++ b/package/firmware/ath10k-firmware/Makefile @@ -66,14 +66,14 @@ $(Package/ath10k-firmware-default) CATEGORY:=Firmware endef -QCA988X_FIRMWARE_FILE_CT:=firmware-2-ct-full-community-16.1.bin-lede +QCA988X_FIRMWARE_FILE_CT:=firmware-2-ct-full-community.bin-18.rc1-lede QCA99X0_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-7.bin-lede.004 QCA9984_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-7.bin-lede.004 define Download/ath10k-firmware-qca988x-ct URL:=https://www.candelatech.com/downloads/ FILE:=$(QCA988X_FIRMWARE_FILE_CT) - MD5SUM:=d7e081e9782936ed544b78994c9133fb + MD5SUM:=89b436bad5d80c57bbf74e498095c9d2 endef $(eval $(call Download,ath10k-firmware-qca988x-ct))