diff mbox series

[v2,2/2] ipq-wifi: add BDFs for Luma Home WRTQ-329ACN

Message ID 20200830112811.6175-2-tomek_n@o2.pl
State Under Review
Delegated to: Christian Lamparter
Headers show
Series [v2,1/2] ipq40xx: add support for Luma Home WRTQ-329ACN | expand

Commit Message

Tomasz Maciej Nowak Aug. 30, 2020, 11:28 a.m. UTC
These are copied from OEM firmware.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
---
v1 -> v2
- adjust commit title to changes in patch adding the main support
- add plural

 package/firmware/ipq-wifi/Makefile              |   2 ++
 .../ipq-wifi/board-luma_wrtq-329acn.qca4019     | Bin 0 -> 24324 bytes
 .../arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts   |   4 ++++
 target/linux/ipq40xx/image/Makefile             |   2 +-
 4 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 package/firmware/ipq-wifi/board-luma_wrtq-329acn.qca4019
diff mbox series

Patch

diff --git a/package/firmware/ipq-wifi/Makefile b/package/firmware/ipq-wifi/Makefile
index ee7b1946011f..7cbfc71a7b0b 100644
--- a/package/firmware/ipq-wifi/Makefile
+++ b/package/firmware/ipq-wifi/Makefile
@@ -37,6 +37,7 @@  ALLWIFIBOARDS:= \
 	ezviz_cs-w3-wd1200g-eup \
 	glinet_gl-s1300 \
 	linksys_ea8300 \
+	luma_wrtq-329acn \
 	mobipromo_cm520-79f \
 	qxwlan_e2600ac
 
@@ -111,6 +112,7 @@  $(eval $(call generate-ipq-wifi-package,engenius_emr3500,EnGenius EMR3500))
 $(eval $(call generate-ipq-wifi-package,ezviz_cs-w3-wd1200g-eup,EZVIZ CS-W3-WD1200G EUP))
 $(eval $(call generate-ipq-wifi-package,glinet_gl-s1300,GL.iNet GL-S1300))
 $(eval $(call generate-ipq-wifi-package,linksys_ea8300,Linksys EA8300))
+$(eval $(call generate-ipq-wifi-package,luma_wrtq-329acn,Luma WRTQ-329ACN))
 $(eval $(call generate-ipq-wifi-package,mobipromo_cm520-79f,MobiPromo CM520-79F))
 $(eval $(call generate-ipq-wifi-package,qxwlan_e2600ac,Qxwlan E2600AC))
 
diff --git a/package/firmware/ipq-wifi/board-luma_wrtq-329acn.qca4019 b/package/firmware/ipq-wifi/board-luma_wrtq-329acn.qca4019
new file mode 100644
index 0000000000000000000000000000000000000000..4e52602713380f7e2f0468d1dc6ddc48dea3f874
GIT binary patch
literal 24324
zcmeHPZBP?Q8g7s;6_rT>LK23MfDn%a2pmL+5(2UTMnDevh@J<CN&;CTC?AF`DHjzn
zA}h)gFoF~+@-gQr#p$lf-syVom8QJ=v;X{a|Mse+%DTF;uIk+D$uK}9tO>#yVBXN(
zZ};@u@7vFGl9}m;>`qA*CFd!lqcTN`?Bv{3pw(&t6kQ~d1F!?8(qlE-OUg?lO0{ay
zfpWD@q%PYYWvP``l~k7z)#$j0+LCH@$>&G6W5={5qJrGK-J%%Dw&av7t=0vO!Gq)R
zB02wbaRF;iFk<tGvA6cYtQdfGo<2|k0OtG{SbD*iEfET1h@k+8iHZ5wn>Rql@&IrD
zaUqFHYgo3dKHSCwE>GX@)lPZ>KSO!{*!=ZP(}#TEY={>nM2wU^QzqGrc-#Sx<XG#b
zhvWhBHQg|!uo$yjZ2NuafL~%}vlA26iNu{suy9D$uiv=QAp;wo`8L`<MU$>=gjhCH
zVjaP&!O_-MjXGVG^lG%HrJ+ofnZE7OP|umxYW42)xJScKt5N5s|N1SIJLAGI@Oo(U
zRBMHLmrDL>xaV|3xe7~{J-S77Q>CX%p~1P<I@p#-8iZ{HuLnjO8wynk=@HPhx#55+
z6?VJP(+W*9rQwf8doDKURJqcqDT6TU_&!i;fbxMZ)`w{WYdmb%Rsu@4XSTdrpY&CH
zk)eqy@JkxGTGJ9=7P^O>`EclnG3`uvwSTd3c&~BW8D0&u<o*?PV`hb5m!JH8f7R*4
za$yk%dwQ$k>+Cb)n!p3!4A&WVofFk@4?Vf6YfL-HPiH1P9;j;0sM@l}FZJdPb(gaB
zS9P57`=hnJktc$5%;M#R5*;mtf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5zWc|zjvh$g5g}lD44G<c(lLqDmowH|-ImfAq4mps_WO);5e)%{d<t%N
z9@k{23i%9=0b|wYIeDU34*#Z6-Lm7@*2B!q8-rEdiOqs)*8ZCpbfu|@0xp-;{Z-k)
zof#1lU-tR7f-hn<{JjkMouQg5S?9y+{12|$g+ouAMqmXX@Ug$b;W=Au;L+EjQ%dVq
zGD&!7XbAj+zrev01PAkj^WB~1S2*T!;wjp_*P`v&&-Fpk?$<7w4;%2)O*8@vL%?3r
z$71(eShOp~iss!fEoa|3+4eJ0Ir~B$gnW9E|BhHV^aQ_tU9+$$74qb_ZsRADDd@=7
zZI*P+$1U2zqbIoZo=xjuB1(6jg?CSI?cIfcxA5;t4*pALpZ{u(kKo0-L0)`e*WmX{
z!HZvNZ0F<KQ|+IUb5HoDdG|A0a|_UD-u(hVqfML}0ekk0=i}PXZg=ikE<8G#cfZu%
Jn!h~${{Tz)hT8xD

literal 0
HcmV?d00001

diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts
index 7bd155eeec72..4517055a0079 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts
@@ -270,8 +270,12 @@ 
 
 &wifi0 {
 	status = "okay";
+
+	qcom,ath10k-calibration-variant = "Luma-WRTQ-329ACN";
 };
 
 &wifi1 {
 	status = "okay";
+
+	qcom,ath10k-calibration-variant = "Luma-WRTQ-329ACN";
 };
diff --git a/target/linux/ipq40xx/image/Makefile b/target/linux/ipq40xx/image/Makefile
index 602f1636ef50..da5a9b07c821 100644
--- a/target/linux/ipq40xx/image/Makefile
+++ b/target/linux/ipq40xx/image/Makefile
@@ -520,7 +520,7 @@  define Device/luma_wrtq-329acn
 	DEVICE_VENDOR := Luma Home
 	DEVICE_MODEL := WRTQ-329ACN
 	SOC := qcom-ipq4018
-	DEVICE_PACKAGES := kmod-ath3k kmod-eeprom-at24 kmod-i2c-gpio uboot-envtools
+	DEVICE_PACKAGES := ipq-wifi-luma_wrtq-329acn kmod-ath3k kmod-eeprom-at24 kmod-i2c-gpio uboot-envtools
 	IMAGE_SIZE := 76632k
 	BLOCKSIZE := 128k
 	PAGESIZE := 2048