[openwrt/openwrt] bmips: sercomm,h500-s: add Quantenna network config
LEDE Commits
lede-commits at lists.infradead.org
Fri Mar 24 03:24:45 PDT 2023
noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/4dedcbdc806859f9b0719a5ae196f24b889ae77a
commit 4dedcbdc806859f9b0719a5ae196f24b889ae77a
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Fri Mar 24 10:20:56 2023 +0100
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 <noltari at gmail.com>
---
target/linux/bmips/nand/base-files/etc/board.d/02_network | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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. at zone[0].network='qtn'
+ ;;
esac
board_config_flush
More information about the lede-commits
mailing list