mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 10:28:06 +00:00 
			
		
		
		
	ipq807x: fixes wifi on wf194c
* the maple update broke the caldata extraction for 8x8 units Fixes: WIFI-4418 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
		| @@ -1,4 +1,4 @@ | |||||||
| From 2ddf71fa87f4179c2e3f815f4442d971f1d0477e Mon Sep 17 00:00:00 2001 | From 558ca4df452ed2bdf8bbc9b82e4d23542a3cf66d Mon Sep 17 00:00:00 2001 | ||||||
| From: John Crispin <john@phrozen.org> | From: John Crispin <john@phrozen.org> | ||||||
| Date: Sun, 5 Sep 2021 11:46:09 +0200 | Date: Sun, 5 Sep 2021 11:46:09 +0200 | ||||||
| Subject: [PATCH] ipq5018 | Subject: [PATCH] ipq5018 | ||||||
| @@ -32,7 +32,7 @@ index 97c770df4a..abdb82ec5d 100644 | |||||||
|  KERNELNAME:=Image dtbs |  KERNELNAME:=Image dtbs | ||||||
|  CPU_TYPE:=cortex-a7 |  CPU_TYPE:=cortex-a7 | ||||||
| diff --git a/target/linux/ipq807x/base-files/etc/board.d/02_network b/target/linux/ipq807x/base-files/etc/board.d/02_network | diff --git a/target/linux/ipq807x/base-files/etc/board.d/02_network b/target/linux/ipq807x/base-files/etc/board.d/02_network | ||||||
| index eaa440943b..e31258d875 100755 | index ee9973f7a8..edf0e91143 100755 | ||||||
| --- a/target/linux/ipq807x/base-files/etc/board.d/02_network | --- a/target/linux/ipq807x/base-files/etc/board.d/02_network | ||||||
| +++ b/target/linux/ipq807x/base-files/etc/board.d/02_network | +++ b/target/linux/ipq807x/base-files/etc/board.d/02_network | ||||||
| @@ -24,6 +24,7 @@ qcom_setup_interfaces() | @@ -24,6 +24,7 @@ qcom_setup_interfaces() | ||||||
| @@ -44,19 +44,19 @@ index eaa440943b..e31258d875 100755 | |||||||
|  		ucidef_set_interface_lan "eth0" |  		ucidef_set_interface_lan "eth0" | ||||||
|  		ucidef_set_interface_wan "eth1" |  		ucidef_set_interface_wan "eth1" | ||||||
| diff --git a/target/linux/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata b/target/linux/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata | diff --git a/target/linux/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata b/target/linux/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata | ||||||
| index 536115a118..414343b13d 100755 | index e64ea1a105..2b768e2f9b 100755 | ||||||
| --- a/target/linux/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata | --- a/target/linux/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata | ||||||
| +++ b/target/linux/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata | +++ b/target/linux/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata | ||||||
| @@ -46,7 +46,7 @@ case "$FIRMWARE" in | @@ -47,7 +47,7 @@ case "$FIRMWARE" in | ||||||
|  	tplink,ex227|\ |  	tplink,ex227|\ | ||||||
|  	tplink,ex447|\ |  	tplink,ex447|\ | ||||||
|  	sercomm,wallaby) |  	sercomm,wallaby) | ||||||
| -                caldata_extract "0:ART" 0x1000 0x20000   | -                caldata_extract "0:ART" 0x1000 0x20000   | ||||||
| +                caldata_extract "0:ART" 0x1000 0x10000   | +                caldata_extract "0:ART" 0x1000 0x20000 | ||||||
|  		;; |  		;; | ||||||
|  	esac |  	esac | ||||||
|  	;; |  	;; | ||||||
| @@ -57,21 +57,22 @@ case "$FIRMWARE" in | @@ -58,21 +58,22 @@ case "$FIRMWARE" in | ||||||
|  	edgecore,eap101|\ |  	edgecore,eap101|\ | ||||||
|  	qcom,ipq6018-cp01|\ |  	qcom,ipq6018-cp01|\ | ||||||
|  	xiaomi,ax1800) |  	xiaomi,ax1800) | ||||||
| @@ -84,10 +84,10 @@ index 536115a118..414343b13d 100755 | |||||||
|  	esac |  	esac | ||||||
|  	;; |  	;; | ||||||
| diff --git a/target/linux/ipq807x/base-files/lib/upgrade/platform.sh b/target/linux/ipq807x/base-files/lib/upgrade/platform.sh | diff --git a/target/linux/ipq807x/base-files/lib/upgrade/platform.sh b/target/linux/ipq807x/base-files/lib/upgrade/platform.sh | ||||||
| index de64559bce..76de06d90e 100755 | index 4943b6c406..8152ecb0ed 100755 | ||||||
| --- a/target/linux/ipq807x/base-files/lib/upgrade/platform.sh | --- a/target/linux/ipq807x/base-files/lib/upgrade/platform.sh | ||||||
| +++ b/target/linux/ipq807x/base-files/lib/upgrade/platform.sh | +++ b/target/linux/ipq807x/base-files/lib/upgrade/platform.sh | ||||||
| @@ -29,7 +29,8 @@ platform_check_image() { | @@ -30,7 +30,8 @@ platform_check_image() { | ||||||
|  	tplink,ex447|\ |  	tplink,ex447|\ | ||||||
|  	qcom,ipq6018-cp01|\ |  	qcom,ipq6018-cp01|\ | ||||||
|  	qcom,ipq807x-hk01|\ |  	qcom,ipq807x-hk01|\ | ||||||
| @@ -97,7 +97,7 @@ index de64559bce..76de06d90e 100755 | |||||||
|  		[ "$magic_long" = "73797375" ] && return 0 |  		[ "$magic_long" = "73797375" ] && return 0 | ||||||
|  		;; |  		;; | ||||||
|  	esac |  	esac | ||||||
| @@ -51,6 +52,7 @@ platform_do_upgrade() { | @@ -52,6 +53,7 @@ platform_do_upgrade() { | ||||||
|  	qcom,ipq6018-cp01|\ |  	qcom,ipq6018-cp01|\ | ||||||
|  	qcom,ipq807x-hk01|\ |  	qcom,ipq807x-hk01|\ | ||||||
|  	qcom,ipq807x-hk14|\ |  	qcom,ipq807x-hk14|\ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin