Skip to contentSkip to conversation

linux-firmware: ath9k_htc - use newer firmware

PATCH New Alexey Brodkin 3 participants 3 messages Mar 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-firmware: ath9k_htc - use newer firmware

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).

Cc Thomas Petazzoni <[email protected]>
Cc "Yann E. MORIN" <[email protected]>
Cc John Keeping <[email protected]>
Cc Matt Weber <[email protected]>
Cc Alex Suykov <[email protected]>
Cc Peter Korsgaard <[email protected]>
Cc Gustavo Zacarias <[email protected]>
---
 package/linux-firmware/linux-firmware.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/linux-firmware/linux-firmware.mk +2 -2
index 4667c4c..28fe66c 100644
@@ -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
 
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/1 linux-firmware: ath9k_htc - use newer firmware

Quoted 16 lines · Alexey Brodkin

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).

Quoted 8 lines
Cc Thomas Petazzoni <[email protected]>
Cc "Yann E. MORIN" <[email protected]>
Cc John Keeping <[email protected]>
Cc Matt Weber <[email protected]>
Cc Alex Suykov <[email protected]>
Cc Peter Korsgaard <[email protected]>
Cc Gustavo Zacarias <[email protected]>
#2 lore raw

PATCH 1/1 linux-firmware: ath9k_htc - use newer firmware

In reply to Alexey Brodkin
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Alexey" == Alexey Brodkin <[email protected]> writes:

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".

Quoted 8 lines

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).

Committed, thanks.

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard