ipq-wifi: add Pakedge WR-1 support
authorTomasz Maciej Nowak <tmn505@gmail.com>
Tue, 6 Sep 2022 13:32:34 +0000 (15:32 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 7 Sep 2022 19:21:38 +0000 (21:21 +0200)
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@gmail.com>
package/firmware/ipq-wifi/Makefile
package/firmware/ipq-wifi/board-pakedge_wr-1.qca4019 [new file with mode: 0644]
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wr-1.dts
target/linux/ipq40xx/image/generic.mk

index 44d6e2a086d86facb5222f80caced5663e753bd5..7b683ef0a2a29a26896ce06823cec49fcfdcdd50 100644 (file)
@@ -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 (file)
index 0000000..967a452
Binary files /dev/null and b/package/firmware/ipq-wifi/board-pakedge_wr-1.qca4019 differ
index 26a8b013aaad6575009aa3ae10a0d4d7b695243b..be2f619b39dcc61d9a418039274c0f85d818b23c 100644 (file)
 
 &wifi0 {
        status = "okay";
+
+       qcom,ath10k-calibration-variant = "Pakedge-WR-1";
 };
 
 &wifi1 {
        status = "okay";
+
+       qcom,ath10k-calibration-variant = "Pakedge-WR-1";
 };
index 5652bf9414b990fdf6d187bff220153224358442..98a40349b22be791b61f866cf07494480a3f1837 100644 (file)
@@ -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