[PATCH 2/2] ipq-wifi: add Pakedge WR-1 support

Tomasz Maciej Nowak tmn505 at terefe.re
Wed Aug 24 10:31:41 PDT 2022


From: Tomasz Maciej Nowak <tmn505 at gmail.com>

Calibration variants:
Pakedge-WR-1		ETSI, FCC and IC-2.4GHz
Pakedge-WR-1-ACMA	ACMA
Pakedge-WR-1-IC		IC-5GHz
Pakedge-WR-1-SRRC	SRRC

Signed-off-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
---
 package/firmware/ipq-wifi/Makefile              |   2 ++
 .../ipq-wifi/board-pakedge_wr-1.qca4019         | Bin 0 -> 85076 bytes
 .../arch/arm/boot/dts/qcom-ipq4018-wr-1.dts     |   4 ++++
 target/linux/ipq40xx/image/generic.mk           |   1 +
 4 files changed, 7 insertions(+)
 create mode 100644 package/firmware/ipq-wifi/board-pakedge_wr-1.qca4019

diff --git a/package/firmware/ipq-wifi/Makefile b/package/firmware/ipq-wifi/Makefile
index ebd10cd2ecc2..fbd35635e0a6 100644
--- a/package/firmware/ipq-wifi/Makefile
+++ b/package/firmware/ipq-wifi/Makefile
@@ -33,6 +33,7 @@ ALLWIFIBOARDS:= \
 	glinet_gl-s1300 \
 	linksys_ea8300 \
 	p2w_r619ac \
+	pakedge_wr-1 \
 	qxwlan_e2600ac-c1 \
 	qxwlan_e2600ac-c2 \
 	teltonika_rutx
@@ -104,6 +105,7 @@ $(eval $(call generate-ipq-wifi-package,glinet_gl-ap1300,GL.iNet GL-AP1300))
 $(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,p2w_r619ac,P&W R619AC))
+$(eval $(call generate-ipq-wifi-package,pakedge_wr-1,Pakedge WR-1))
 $(eval $(call generate-ipq-wifi-package,qxwlan_e2600ac-c1,Qxwlan E2600AC C1))
 $(eval $(call generate-ipq-wifi-package,qxwlan_e2600ac-c2,Qxwlan E2600AC C2))
 $(eval $(call generate-ipq-wifi-package,teltonika_rutx,Teltonika RUTX))
diff --git a/package/firmware/ipq-wifi/board-pakedge_wr-1.qca4019 b/package/firmware/ipq-wifi/board-pakedge_wr-1.qca4019
new file mode 100644
index 0000000000000000000000000000000000000000..967a45258055c8b02c9e1b9369484372710780fa
GIT binary patch
literal 85076
zcmeHQdr%Ztx<9<ccuiz@#R!ft439A|JTzvEC=ZDXLe!819rPL?VqhYQ5I`JrF<VJA
zIHCbVKo~`qi#)~&0_AF=V081UN~rtC{bOtYNK*UAR;_nUO0$(z?XKRhyXVk7Gu=)P
z^vJ-RPrJ|8U!Ui%&kQ|%e)F5>*JmVTyqKMwl$(&bIU_#{Ra8_Uusw;?9-(JoE2*ho
zTU=HWUs6$?@Jd;EWkUI`wMq0*$-d&MUDRRns`%RCs`BE!udm%w{95U*S4$JN<|iaq
zRCq!82&gL}(Ywma3;8qzt}LMHUET$|B7_$B2Y`bR>>pb}d;B|<N<meH(25l+e!6qV
zD>Zl?`sGh2((vXJ%wJAK^tx at HlT1tKKA7z};p0W<&4>(?k>v|xVgBK~R3EX=rfE~}
zF<S|E3+SVpUoAutmVXe4po5lOa3J?6E!f}R-_Os_hhqp`b7G_+P#t#*g=6l<ZB2~7
z2uw`A*^sBQ$wW;Xi&^)0%+ztLzO*nmM>96k(NbSg_+n1x*g(gT#;Wq?b5 at NFf>&Lh
zpYzl&V4r at jibZ1=IvVRs3UlD(P{+yo^1>}S>&E)2Y!K5xfn$wzg?Tw^=mKBFE=OY*
zJB~vO&*iKh`w$A~=mNb^Nm*g8CJw4=uCFZ2*CbgA#9H^y!BIV!gDlpkNdap-_>blS
zO8g_6UD2Ln#dWJoV++D_Z?sf3Y^YGb9Flo$V1N6DBXL!Wi`oabx34}DQ5{s=+gMz)
zx+La>r8!qm?mhHudHnW}b)WUuf3W$8x_ap=9}U*EKX)vlE`0as at v;N!N>v52)gME?
zES-9L(7N-z<!#xGPu7K%UAa(uHnCw at Wl+)VLW%SiBjD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i6~=-p#9h~7O$f=xYgIhPEYodCj~8=@rKS*gzuy?dz<CG`;m2m+1~V0rUD
z|9s~MF2^1y_UNB~`}23-e*1gySl<2pzyI}*w{HCfVnV$8)YO$pG({iXyZ4VDrRU=F
z@$M57)oN<v)2yFPOd6GYwidoC!pFO3$kp#QwXhDtAKI=u<+ze}-#ytUPgkqQmt^WV
zh<S!W^zLn6KSb}|XnfnSU#~S^G at jK}WM^m+Cq6cJ8|rmiHA|>3B459$ilH?7n~etz
zyY-vk<Qc;O-4<;kNc*?zYqYr<)x;(9X+xE6bGDKy at W~Ao{3^i6c)PLMuv4EkaT!il
z>v!ljPFyjcgWnEF*ATsXqIYlmI^;ig!w+?&OZ=D0I_i-qSwldM2m(a!p6K0^R{=r5
zQxTZ13Wq<}ct9LFTBHe}RXC!fmGB=FI3l7VBNdSa$Zb?O2=AWf!jaINM!+HOUM#O&
z>U?t=b;pBq#JjgB%z!AodwNpq(@R|+(Ytp%2Ope+=-odUpSgRM=-tm|z57;>R$|w%
z7?0NZ>I4-g+Y=^A^h>aWlzR6dux{J<1zPVOzHniCg3-GdDlwzHdrG&;w!6KQN|uBt
zD77rxHcUfc61Fi{^zNx~*kVP`D+y0f-wCp9V}$xi1_|2`vu4cY*9-aV%;|+6xWK*c
zHTU#j-!#gN3;9y%-LqH6Wa9cPqQk at 7xR5_J-aQQfGxPz*x8IA=yQimEKRpRPWPJPm
I+~(c?Kfg#3Z~y=R

literal 0
HcmV?d00001

diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wr-1.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wr-1.dts
index 26a8b013aaad..be2f619b39dc 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wr-1.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wr-1.dts
@@ -257,8 +257,12 @@
 
 &wifi0 {
 	status = "okay";
+
+	qcom,ath10k-calibration-variant = "Pakedge-WR-1";
 };
 
 &wifi1 {
 	status = "okay";
+
+	qcom,ath10k-calibration-variant = "Pakedge-WR-1";
 };
diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk
index 90ed32eaeb5a..72f6350bf556 100644
--- a/target/linux/ipq40xx/image/generic.mk
+++ b/target/linux/ipq40xx/image/generic.mk
@@ -887,6 +887,7 @@ define Device/pakedge_wr-1
 	DEVICE_VENDOR := Pakedge
 	DEVICE_MODEL := WR-1
 	DEVICE_DTS_CONFIG := config at ap.dk01.1-c1
+	DEVICE_PACKAGES := ipq-wifi-pakedge_wr-1
 	SOC := qcom-ipq4018
 	BLOCKSIZE := 64k
 	IMAGE_SIZE := 31232k
-- 
2.37.2




More information about the openwrt-devel mailing list