From patchwork Wed Jan 18 23:15:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Greear X-Patchwork-Id: 716916 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3v3jXg1VKJz9t23 for ; Thu, 19 Jan 2017 10:16:51 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 4BDB8B9103C; Thu, 19 Jan 2017 00:16:16 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Thu, 19 Jan 2017 00:16:16 +0100 (CET) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id ADFCEB809CD for ; Thu, 19 Jan 2017 00:16:03 +0100 (CET) X-policyd-weight: using cached result; rate: -6.1 Received: from mail2.candelatech.com (mail2.candelatech.com [208.74.158.173]) by arrakis.dune.hu (Postfix) with ESMTP for ; Thu, 19 Jan 2017 00:16:03 +0100 (CET) Received: from ben-dt3.candelatech.com (firewall.candelatech.com [50.251.239.81]) by mail2.candelatech.com (Postfix) with ESMTP id A92E240A626; Wed, 18 Jan 2017 15:16:02 -0800 (PST) From: greearb@candelatech.com To: openwrt-devel@lists.openwrt.org Date: Wed, 18 Jan 2017 15:15:58 -0800 Message-Id: <1484781358-17626-3-git-send-email-greearb@candelatech.com> X-Mailer: git-send-email 2.4.11 In-Reply-To: <1484781358-17626-1-git-send-email-greearb@candelatech.com> References: <1484781358-17626-1-git-send-email-greearb@candelatech.com> Subject: [OpenWrt-Devel] [PATCH 3/3] ath10k-fw: Support CT 10.1 988x firmware. X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" From: Ben Greear Good for QCA9880, 9882 chipsets. Signed-off-by: Ben Greear --- package/firmware/ath10k-firmware/Makefile | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile index b03d644..63e38ec 100644 --- a/package/firmware/ath10k-firmware/Makefile +++ b/package/firmware/ath10k-firmware/Makefile @@ -35,7 +35,22 @@ $(Package/ath10k-firmware-default) TITLE:=ath10k firmware for QCA988x devices endef +define Package/ath10k-firmware-qca988x-ct +$(Package/ath10k-firmware-default) + TITLE:=ath10k CT 10.1 firmware for QCA988x devices +endef + +define Package/ath10k-firmware-qca988x-ct/description +Alternative ath10k firmware for QCA988X from Candela Technologies. +Enables IBSS and other features. See: +http://www.candelatech.com/ath10k-10.1.php +This firmware will NOT be used unless the standard ath10k-firmware-qca988x +is un-selected since the driver will try to load firmware-5.bin before +firmware-2.bin +endef + QCA988X_FIRMWARE_FILE:=firmware-5.bin_10.2.4.97-1 +QCA988X_FIRMWARE_FILE_CT:=firmware-2-ct-full-community.bin-19.rc1-lede define Download/ath10k-firmware-qca988x URL:=https://www.codeaurora.org/cgit/quic/qsdk/oss/firmware/ath10k-firmware/plain/10.2.4/ @@ -44,6 +59,15 @@ define Download/ath10k-firmware-qca988x endef $(eval $(call Download,ath10k-firmware-qca988x)) +define Download/ath10k-firmware-qca988x-ct + URL:=https://www.candelatech.com/downloads/ + FILE:=$(QCA988X_FIRMWARE_FILE_CT) + MD5SUM:=a22906d5ce6958a260951566f74c3837 +endef +$(eval $(call Download,ath10k-firmware-qca988x-ct)) + + + define Package/ath10k-firmware-qca99x0 $(Package/ath10k-firmware-default) TITLE:=ath10k firmware for QCA99x0 devices @@ -79,6 +103,16 @@ define Package/ath10k-firmware-qca988x/install $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin endef +define Package/ath10k-firmware-qca988x-ct/install + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0 + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/QCA988X/board.bin \ + $(1)/lib/firmware/ath10k/QCA988X/hw2.0/ + $(INSTALL_DATA) \ + $(DL_DIR)/$(QCA988X_FIRMWARE_FILE_CT) \ + $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin +endef + define Package/ath10k-firmware-qca6174/install $(INSTALL_DIR) $(1)/lib/firmware/ath10k $(CP) $(PKG_BUILD_DIR)/QCA6174 $(1)/lib/firmware/ath10k/ @@ -100,3 +134,5 @@ endef $(eval $(call BuildPackage,ath10k-firmware-qca988x)) $(eval $(call BuildPackage,ath10k-firmware-qca99x0)) $(eval $(call BuildPackage,ath10k-firmware-qca6174)) + +$(eval $(call BuildPackage,ath10k-firmware-qca988x-ct))