Originally, the .compatible string for EAP623-Outdoor HD tried to
shorten the "-outdoor" to "od". However, this naming was inconsistent
with the existing "eap610-outdoor". As "od" is not a common shorthand,
spell out the complete word: "eap623-outdoor-hd-v1".
Fixes: 5dbf93c8c5 ("ipq60xx: add support for TP-Link EAP623-Outdoor HD v1")
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18804
Signed-off-by: Robert Marko <robimarko@gmail.com>
board=$(board_name)
+ubootenv_add_mtd() {
+ local idx="$(find_mtd_index "${1}")"
+ [ -n "$idx" ] && \
+ ubootenv_add_uci_config "/dev/mtd$idx" "${2}" "${3}" "${4}"
+}
+
case "$board" in
8devices,mango-dvk|\
8devices,mango-dvk-sfp|\
netgear,wax610|\
netgear,wax610y|\
tplink,eap610-outdoor|\
-tplink,eap623od-hd-v1|\
+tplink,eap623-outdoor-hd-v1|\
tplink,eap620-hd-v3|\
tplink,eap625-outdoor-hd-v1)
ubootenv_add_mtd "0:appsblenv" "0x0" "0x40000" "0x20000"
/ {
model = "TP-Link EAP623-Outdoor HD V1.0";
- compatible = "tplink,eap623od-hd-v1", "qcom,ipq6018";
+ compatible = "tplink,eap623-outdoor-hd-v1", "qcom,ipq6018";
aliases {
serial0 = &blsp1_uart3;
endef
TARGET_DEVICES += tplink_eap610-outdoor
-define Device/tplink_eap623od-hd-v1
+define Device/tplink_eap623-outdoor-hd-v1
$(call Device/FitImage)
$(call Device/UbiFit)
DEVICE_VENDOR := TP-Link
IMAGE/web-ui-factory.bin := append-ubi | tplink-image-2022
TPLINK_SUPPORT_STRING := SupportList:\r\nEAP623-Outdoor HD(TP-Link|UN|AX1800-D):1.0\r\n
endef
-TARGET_DEVICES += tplink_eap623od-hd-v1
+TARGET_DEVICES += tplink_eap623-outdoor-hd-v1
define Device/tplink_eap625-outdoor-hd-v1
$(call Device/FitImage)
netgear,wax610|\
netgear,wax610y|\
tplink,eap610-outdoor|\
- tplink,eap623od-hd-v1|\
tplink,eap620-hd-v3|\
+ tplink,eap623-outdoor-hd-v1|\
tplink,eap625-outdoor-hd-v1)
ucidef_set_interface_lan "lan" "dhcp"
;;
;;
tplink,eap610-outdoor|\
tplink,eap620-hd-v3|\
- tplink,eap623od-hd-v1|\
+ tplink,eap623-outdoor-hd-v1|\
tplink,eap625-outdoor-hd-v1)
label_mac=$(get_mac_binary /tmp/factory_data/default-mac 0)
lan_mac=$label_mac
ath11k_set_macflag
;;
tplink,eap610-outdoor|\
- tplink,eap623od-hd-v1|\
+ tplink,eap623-outdoor-hd-v1|\
tplink,eap625-outdoor-hd-v1)
caldata_from_file "/tmp/factory_data/radio" 0 0x10000
label_mac=$(get_mac_binary /tmp/factory_data/default-mac 0)
case $(board_name) in
tplink,eap610-outdoor|\
tplink,eap620-hd-v3|\
- tplink,eap623od-hd-v1|\
+ tplink,eap623-outdoor-hd-v1|\
tplink,eap625-outdoor-hd-v1)
mtd_path=$(find_mtd_chardev "factory_data")
ubiattach --dev-path="$mtd_path" --devn=1
;;
tplink,eap610-outdoor|\
tplink,eap620-hd-v3|\
- tplink,eap623od-hd-v1|\
+ tplink,eap623-outdoor-hd-v1|\
tplink,eap625-outdoor-hd-v1)
tplink_do_upgrade "$1"
;;