From: Álvaro Fernández Rojas Date: Fri, 24 Mar 2023 09:20:56 +0000 (+0100) Subject: bmips: sercomm,h500-s: add Quantenna network config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4dedcbdc806859f9b0719a5ae196f24b889ae77a;p=openwrt%2Fstaging%2Fblocktrron.git bmips: sercomm,h500-s: add Quantenna network config Sercomm H500-s has an external Quantenna QT3740BC SoC connected by RGMII. Signed-off-by: Álvaro Fernández Rojas --- diff --git a/target/linux/bmips/nand/base-files/etc/board.d/02_network b/target/linux/bmips/nand/base-files/etc/board.d/02_network index ea95f57251..b2a340ecf8 100644 --- a/target/linux/bmips/nand/base-files/etc/board.d/02_network +++ b/target/linux/bmips/nand/base-files/etc/board.d/02_network @@ -17,7 +17,10 @@ netgear,dgnd3700-v2) sercomm,h500-s-lowi |\ sercomm,h500-s-vfes) ucidef_set_bridge_device switch - ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 wifi" "wan" + ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan" + ucidef_set_interface "qtn" device "wifi" protocol "static" ipaddr "1.1.1.1" netmask "255.255.255.252" + uci add_list firewall.@zone[0].network='qtn' + ;; esac board_config_flush