Support Litebeam 5AC LR (#1071)

This commit is contained in:
Tim Wilkinson 2024-01-18 15:07:02 -08:00 committed by GitHub
parent 6be27bf138
commit d75a463a50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 68 additions and 8 deletions

View File

@ -935,14 +935,6 @@
} }
} }
}, },
"0xe4f2": {
"name": "Ubiquiti NanoBeam 2AC 13 (2WA)",
"wlan0": {
"bandwidths": [ 10, 20 ],
"maxpower": 21,
"pwroffset": 6
}
},
"0xe4f5": { "0xe4f5": {
"name": "Ubiquiti NanoBeam AC (XC)", "name": "Ubiquiti NanoBeam AC (XC)",
"maxpower": "23", "maxpower": "23",
@ -1018,6 +1010,16 @@
"beamwidth": 15 "beamwidth": 15
} }
}, },
"0xe7fe": {
"name": "Ubiquiti LiteBeam 5AC LR",
"maxpower": "24",
"pwroffset": "1",
"antenna": {
"description": "26 dBi 7° Dish",
"gain": 26,
"beamwidth": 7
}
},
"0xe8f5": { "0xe8f5": {
"name": "Ubiquiti LiteBeam 5AC Gen2", "name": "Ubiquiti LiteBeam 5AC Gen2",
"maxpower": "24", "maxpower": "24",

View File

@ -362,3 +362,61 @@
ubnt,powerbeam-5ac-gen2|\ ubnt,powerbeam-5ac-gen2|\
ubnt,rocket-5ac-lite|\ ubnt,rocket-5ac-lite|\
ubnt,unifiac-pro|\ ubnt,unifiac-pro|\
--- a/target/linux/ath79/image/generic-ubnt.mk
+++ b/target/linux/ath79/image.generic-ubnt.mk
@@ -63,6 +63,15 @@
endef
TARGET_DEVICES += ubnt_litebeam-ac-gen2
+define Device/ubnt_litebeam-ac-lr
+ $(Device/ubnt-wa)
+ DEVICE_MODEL := LiteBeam LR
+ DEVICE_VARIANT := Gen2
+ DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
+ UBNT_VERSION := 8.7.4
+endef
+TARGET_DEVICES += ubnt_litebeam-ac-lr
+
define Device/ubnt_nanobeam-ac
$(Device/ubnt-wa)
DEVICE_MODEL := NanoBeam AC
--- /dev/null
+++ b/target/linux/ath79/dts/ar9342_ubnt_litebeam-ac-lr.dts
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
+#include "ar9342_ubnt_wa_1port.dtsi"
+
+/ {
+ compatible = "ubnt,litebeam-ac-lr", "ubnt,wa", "qca,ar9342";
+ model = "Ubiquiti LiteBeam AC LR";
+};
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -102,6 +102,7 @@
ubnt,bullet-m-xw|\
ubnt,lap-120|\
ubnt,litebeam-ac-gen2|\
+ ubnt,litebeam-ac-lr|\
ubnt,nanobeam-ac|\
ubnt,nanobeam-2ac-13|\
ubnt,nanobeam-ac-xc|\
@@ -825,6 +826,7 @@
label_mac=$(cat /sys/class/ieee80211/phy0/macaddress)
;;
ubnt,litebeam-ac-gen2|\
+ ubnt,litebeam-ac-lr|\
ubnt,nanobeam-ac-gen2|\
ubnt,nanobeam-ac-xc|\
ubnt,nanobeam-ac-gen2-xc|\
--- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -42,6 +42,7 @@
ubnt,unifiac-mesh-pro|\
ubnt,lap-120|\
ubnt,litebeam-ac-gen2|\
+ ubnt,litebeam-ac-lr|\
ubnt,nanobeam-ac|\
ubnt,nanobeam-2ac-13|\
ubnt,nanobeam-ac-gen2|\