From patchwork Tue Mar 15 10:47:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Brodkin X-Patchwork-Id: 597451 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 3qPWYB103Yz9sDH for ; Tue, 15 Mar 2016 21:47:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 43D25957DB; Tue, 15 Mar 2016 10:47:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cDGTLd53hm06; Tue, 15 Mar 2016 10:47:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id F164293419; Tue, 15 Mar 2016 10:47:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id DCD7F1C156A for ; Tue, 15 Mar 2016 10:47:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D4F869195D for ; Tue, 15 Mar 2016 10:47:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H3YNKZSFzi1W for ; Tue, 15 Mar 2016 10:47:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtprelay.synopsys.com (smtprelay2.synopsys.com [198.182.60.111]) by whitealder.osuosl.org (Postfix) with ESMTPS id A5C029187E for ; Tue, 15 Mar 2016 10:47:53 +0000 (UTC) Received: from us02secmta1.synopsys.com (us02secmta1.synopsys.com [10.12.235.96]) by smtprelay.synopsys.com (Postfix) with ESMTP id DAF2910C1164; Tue, 15 Mar 2016 03:47:51 -0700 (PDT) Received: from us02secmta1.internal.synopsys.com (us02secmta1.internal.synopsys.com [127.0.0.1]) by us02secmta1.internal.synopsys.com (Service) with ESMTP id CDBFB4E213; Tue, 15 Mar 2016 03:47:51 -0700 (PDT) Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by us02secmta1.internal.synopsys.com (Service) with ESMTP id 956244E202; Tue, 15 Mar 2016 03:47:51 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 84160937; Tue, 15 Mar 2016 03:47:51 -0700 (PDT) Received: from abrodkin-7440l.internal.synopsys.com (abrodkin-7440l.internal.synopsys.com [10.121.8.125]) by mailhost.synopsys.com (Postfix) with ESMTP id 58C86920; Tue, 15 Mar 2016 03:47:48 -0700 (PDT) From: Alexey Brodkin To: buildroot@busybox.net Date: Tue, 15 Mar 2016 13:47:44 +0300 Message-Id: <1458038864-1872-1-git-send-email-abrodkin@synopsys.com> X-Mailer: git-send-email 2.5.0 Cc: Thomas Petazzoni , Alexey Brodkin , John Keeping , "Yann E. MORIN" Subject: [Buildroot] [PATCH] linux-firmware: ath9k_htc - use newer firmware X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Existing blobs are of version ath9k-htc 1.3.1, see http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/commit/?id=21a6c3e55df956dd223279627685778268ede70f These are as said in the commit are left for compatibility with older kernels which [older kernels] will look for blobs in the root of "/lib/firmware". But there're newer v1.4 blobs in ath9k_htc folder. And newer kernels (>=4.4) look first in that new location "/lib/firmware/ath9k_htc". Note that even new kernels will fall back to previous location if new one doesn't exist. Tested with TP-LINK TL-WN722N (has Atheros AR9271 inside). Signed-off-by: Alexey Brodkin Cc: Thomas Petazzoni Cc: "Yann E. MORIN" Cc: John Keeping Cc: Matt Weber Cc: Alex Suykov Cc: Peter Korsgaard Cc: Gustavo Zacarias Acked-by: Gustavo Zacarias --- package/linux-firmware/linux-firmware.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk index 4667c4c..28fe66c 100644 --- a/package/linux-firmware/linux-firmware.mk +++ b/package/linux-firmware/linux-firmware.mk @@ -87,7 +87,7 @@ endif # ar7010 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010),y) -LINUX_FIRMWARE_FILES += ar7010.fw ar7010_1_1.fw htc_7010.fw +LINUX_FIRMWARE_FILES += ar7010.fw ar7010_1_1.fw htc_7010.fw ath9k_htc/htc_7010-1.4.0.fw LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware endif @@ -99,7 +99,7 @@ endif # ar9271 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271),y) -LINUX_FIRMWARE_FILES += ar9271.fw htc_9271.fw +LINUX_FIRMWARE_FILES += ar9271.fw htc_9271.fw ath9k_htc/htc_9271-1.4.0.fw LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware endif