From: Jan-Niklas Burfeind Date: Mon, 11 Jul 2022 20:43:00 +0000 (+0200) Subject: ath79: add variant UniFi AP LR X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=75dffdc8cf78ecbb73b25169ba6ad05fff48acaf;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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