From 75dffdc8cf78ecbb73b25169ba6ad05fff48acaf Mon Sep 17 00:00:00 2001 From: Jan-Niklas Burfeind Date: Mon, 11 Jul 2022 22:43:00 +0200 Subject: [PATCH] ath79: add variant UniFi AP LR The hardware difference is the antenna which has a higher gain compared to the original UniFi AP. The variant was supported before in ar71xx. Signed-off-by: Jan-Niklas Burfeind --- target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts | 8 ++++++++ target/linux/ath79/image/generic-ubnt.mk | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts new file mode 100644 index 0000000000..ab2b455228 --- /dev/null +++ b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "ar7241_ubnt_unifi-ap.dtsi" + +/ { + compatible = "ubnt,unifi", "qca,ar7241"; + model = "Ubiquiti UniFi AP LR"; +}; diff --git a/target/linux/ath79/image/generic-ubnt.mk b/target/linux/ath79/image/generic-ubnt.mk index e6a6de48f0..fe158e584b 100644 --- a/target/linux/ath79/image/generic-ubnt.mk +++ b/target/linux/ath79/image/generic-ubnt.mk @@ -217,6 +217,14 @@ define Device/ubnt_unifi-ap endef TARGET_DEVICES += ubnt_unifi-ap +define Device/ubnt_unifi-ap-lr + $(Device/ubnt-bz) + DEVICE_MODEL := UniFi AP + DEVICE_VARIANT := LR + SUPPORTED_DEVICES += unifi ubnt,unifi ubnt,unifi-ap +endef +TARGET_DEVICES += ubnt_unifi-ap-lr + define Device/ubnt_unifiac DEVICE_VENDOR := Ubiquiti SOC := qca9563 -- 2.30.2