aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt76x8/base-files
diff options
context:
space:
mode:
authorSergei Iudin <tsipa740@gmail.com>2020-06-17 15:44:30 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2022-07-03 22:14:05 +0200
commit4b0c433c39fc1aa28ba0af01987017330d555379 (patch)
tree55d49793776857ea1bdc2d7cf169fe232747bac7 /target/linux/ramips/mt76x8/base-files
parent576b62712fa7552f4fa30b67b47004745fee5287 (diff)
downloadupstream-4b0c433c39fc1aa28ba0af01987017330d555379.tar.gz
upstream-4b0c433c39fc1aa28ba0af01987017330d555379.tar.bz2
upstream-4b0c433c39fc1aa28ba0af01987017330d555379.zip
ramips: Add suport for COMFAST CF-WR617AC
Specifications: Chipset:MT7628DA+MT7612E Antenna : 2.4Ghz:2x5dbi Antenna + 5.8Ghz:2x5dbi Antenna Wireless Rate:2.4Ghz 300Mbps , 5.8Ghz 867Mbps Output Power :100mW(20dbm) Physical port:110/100Mbps RJ45 WAN Port , 310/100Mbps RJ45 LAN Port Flash: 8Mb DRam: 64Mb Flashing: default bootloader attempts to boot from tftp://192.168.1.10/firmware_auto.bin using 192.168.1.1 Known issues: mac-address-increment for 5GHZ doesnt work, i failed to figure out why. Original firmware using +1 from original value in factory partition. Signed-off-by: Sergei Iudin <tsipa740@gmail.com>
Diffstat (limited to 'target/linux/ramips/mt76x8/base-files')
-rw-r--r--target/linux/ramips/mt76x8/base-files/etc/board.d/02_network8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
index 408f5f5e01..0d2c40446a 100644
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
@@ -77,6 +77,10 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"3:lan" "4:wan" "6@eth0"
;;
+ comfast,cf-wr617ac)
+ ucidef_add_switch "switch0" \
+ "1:lan:3" "2:lan:2" "3:lan:1" "4:wan" "6@eth0"
+ ;;
comfast,cf-wr758ac-v1|\
comfast,cf-wr758ac-v2|\
tplink,tl-wr902ac-v3|\
@@ -191,6 +195,10 @@ ramips_setup_macs()
lan_mac=$wan_mac
label_mac=$wan_mac
;;
+ comfast,cf-wr617ac)
+ lan_mac=$(mtd_get_mac_binary factory 0xe000)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ;;
cudy,wr1000|\
hilink,hlk-7628n|\
hilink,hlk-7688a|\