Hej, my RE3000 runs as a simple bridged AP; I’ve enabled WED, HW acceleration and enabled bridger but I’m not observing any bound flows in /sys/kernel/debug/ppe*/bind during a speedtest or normal operation. Is my setup correct so far or am I missing something?
/etc/board.json
root@RE3000A:~# cat /etc/board.json
{
"model": {
"id": "cudy,re3000-v1",
"name": "Cudy RE3000 v1"
},
"led": {
"lan": {
"name": "lan",
"sysfs": "green:lan",
"type": "netdev",
"device": "eth0",
"mode": "link tx rx"
}
},
"network": {
"lan": {
"device": "eth0",
"protocol": "static"
}
},
"wlan": {
"phy0": {
"path": "platform/soc/18000000.wifi",
"info": {
"antenna_rx": 3,
"antenna_tx": 3,
"bands": {
"2G": {
"ht": true,
"he": true,
"max_width": 40,
"modes": [
"NOHT",
"HT20",
"HE20",
"HT40",
"HE40"
],
"default_channel": 1
}
},
"radios": [
]
}
},
"phy1": {
"path": "platform/soc/18000000.wifi+1",
"info": {
"antenna_rx": 3,
"antenna_tx": 3,
"bands": {
"5G": {
"ht": true,
"vht": true,
"he": true,
"max_width": 160,
"modes": [
"NOHT",
"HT20",
"VHT20",
"HE20",
"HT40",
"VHT40",
"HE40",
"VHT80",
"HE80",
"VHT160",
"HE160"
],
"default_channel": 36
}
},
"radios": [
]
}
}
}
}
/etc/config/bridger
root@RE3000A:~# cat /etc/config/bridger
config defaults
# handle bridge local rx/tx
option bridge_local_tx 1
option bridge_local_rx 1
# example for blacklisting individual devices or bridges
# list blacklist eth0
/etc/config/firewall
root@RE3000A:~# cat /etc/config/firewall
config defaults
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option synflood_protect '1'
option flow_offloading '1'
option flow_offloading_hw '1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
list network 'lan6'
/etc/config/network
root@RE3000A:~# cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
list ipaddr '127.0.0.1/8'
config globals 'globals'
option packet_steering '1'
option steering_flows '128'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
config interface 'lan'
option device 'br-lan'
option proto 'dhcp'
option delegate '0'
config interface 'lan6'
option proto 'dhcpv6'
option device '@lan'
option reqaddress 'none'
option reqprefix 'no'
option norelease '1'
option delegate '0'
/etc/config/wireless
root@RE3000A:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/soc/18000000.wifi'
option band '2g'
option channel '13'
option htmode 'HE40'
option country 'DE'
option cell_density '0'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/soc/18000000.wifi+1'
option band '5g'
option channel '100'
option htmode 'HE160'
option country 'DE'
option cell_density '0'
config wifi-iface 'wifinet0'
option device 'radio0'
option mode 'ap'
option ssid '*snip*'
option encryption 'sae-mixed'
option key '*snip*'
option ocv '2'
option wpa_disable_eapol_key_retries '1'
option network 'lan'
config wifi-iface 'wifinet1'
option device 'radio1'
option mode 'ap'
option ssid '*snip*'
option encryption 'sae-mixed'
option key '*snip*'
option ocv '2'
option wpa_disable_eapol_key_retries '1'
option network 'lan'
/sys/module/mt7915e/parameters/wed_enable
root@RE3000A:~# cat /sys/module/mt7915e/parameters/wed_enable
Y
service bridger status
root@RE3000A:~# service bridger status
running
tail -f /sys/kernel/debug/ppe\*/bind
root@RE3000A:~# tail -f /sys/kernel/debug/ppe*/bind
==> /sys/kernel/debug/ppe0/bind <==
==> /sys/kernel/debug/ppe1/bind <==