From 47306d47ef1873f11cbfb2cd24f4e12a83a31301 Mon Sep 17 00:00:00 2001 From: Tomasz Maciej Nowak Date: Tue, 6 Sep 2022 15:32:34 +0200 Subject: [PATCH] ipq-wifi: add Pakedge WR-1 support 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 --- 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 44d6e2a086..7b683ef0a2 100644 --- a/package/firmware/ipq-wifi/Makefile +++ b/package/firmware/ipq-wifi/Makefile @@ -34,6 +34,7 @@ ALLWIFIBOARDS:= \ glinet_gl-s1300 \ linksys_ea8300 \ p2w_r619ac \ + pakedge_wr-1 \ qxwlan_e2600ac-c1 \ qxwlan_e2600ac-c2 \ teltonika_rutx @@ -106,6 +107,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*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|Zl?`sGh2((vXJ%wJAK^tx@HlT1tKKA7z};p0W<&4>(?k>v|xVgBK~R3EX=rfE~} zF96k(NbSg_+n1x*g(gT#;Wq?b5@NFf>&Lh zpYzl&V4r@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@v;N!N>v52)gME? zES-9L(7N-z5K%jCZ*MPZ@8bi1mgiZ_zwhw2q{Uynu_Z;WR7S!7XhmdXlp<20DDa(+ zsDi{EDgxWKZ@t^p(v2OH#pyPoUK6%qi=D>Sg{`^8Vr}gf3zP?{1HTHCEs-x# zFUbp#2gnx7Gv%4;%&#(K8|53-8}riT>9TBjiabS~@>PoL8Tm8nXY!KdNivNbccRTW z*&nV8ed->>c8=feyNK;Pe+J%YHygEbyB$~`YYuW+on}k*apE7eP8z>!?3^_I44mj> zRjsX)g*rPq(I9!y?I2m0JWL&yw_d*f_Ig>aJXf8Yw?e++_6pe=`5N__JbG@l(O1QE zu;JaNw(c`MU}uD^>JrX4=1jqqFfFM8+AP5iy2m&6A z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A?+QAVDc$qtcUs$w;9H52t=nfNQ59ZXZ=B zcC;u_s>Tcbv=5RU8VhP*?(7wmvEAb?(Ud}!k&4Ly7WC|>AZE>2h-=S{&*&gr*!a|V_b%*^UDbqlpA=tGQJzq;uefSgLiw(>$pU)!HoW_S zT%vc6?|i6~=-p#9h~7O$f=xYgIhPEYodCj~8=@rKS*gzuy?dz3B459$ilH?7n~etz zyY-vkv!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@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 26a8b013aa..be2f619b39 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 5652bf9414..98a40349b2 100644 --- a/target/linux/ipq40xx/image/generic.mk +++ b/target/linux/ipq40xx/image/generic.mk @@ -899,6 +899,7 @@ define Device/pakedge_wr-1 DEVICE_VENDOR := Pakedge DEVICE_MODEL := WR-1 DEVICE_DTS_CONFIG := config@ap.dk01.1-c1 + DEVICE_PACKAGES := ipq-wifi-pakedge_wr-1 SOC := qcom-ipq4018 BLOCKSIZE := 64k IMAGE_SIZE := 31232k -- 2.30.2