COMFAST CF-E5/E7 is a outdoor 4G LTE AP with PoE support, based on Qualcomm/Atheros QCA9531. Short specification: 2x 10/100 Mbps Ethernet, with 24v PoE support 64 MB of RAM (DDR2) 16 MB of FLASH (SPI) 2T2R 2.4 GHz, 802.11b/g/n built-in 1x 3 dBi antennas output power (max): 80 mW (19 dBm) Qucetel EC20 LTE MODULE(1x external detachable antenna) Flash instruction: Original firmware is based on OpenWrt. Use sysupgrade image directly in vendor GUI. Signed-off-by: Ding Tengfei <dtf@comfast.cn> [commit subject fix] Signed-off-by: Petr Štetiar <ynezz@true.cz>
33 lines
721 B
Bash
Executable file
33 lines
721 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2018 OpenWrt.org
|
|
#
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board_config_update
|
|
|
|
board=$(board_name)
|
|
|
|
case "$board" in
|
|
comfast,cf-e5)
|
|
ucidef_add_gpio_switch "lte_power" "LTE Power" "14" "1"
|
|
ucidef_add_gpio_switch "lte_wakeup" "LTE Wakeup" "11" "1"
|
|
ucidef_add_gpio_switch "lte_poweroff" "LTE Poweroff" "1" "1"
|
|
ucidef_add_gpio_switch "lte_reset" "LTE Reset" "12" "1"
|
|
;;
|
|
dlink,dir-825-c1|\
|
|
dlink,dir-835-a1)
|
|
ucidef_add_gpio_switch "wan_led_auto" "WAN LED Auto" "20" "0"
|
|
;;
|
|
librerouter,librerouter-v1)
|
|
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "1" "0"
|
|
;;
|
|
ubnt,nanostation-ac)
|
|
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "3"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|