mirror of
https://github.com/qosmio/nss-packages.git
synced 2025-12-16 16:21:53 +00:00
nss-ecm: disable tx-checksumming on mesh interfaces
`tx-checksumming` breaks multicast traffic over mesh interfaces. Add a check in hotplug script to see if interface is mesh interface and automatically disable `tx-checksumming`.
This commit is contained in:
parent
78defd3749
commit
f70c9d6b28
@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=qca-nss-ecm
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/qca-nss-ecm.git
|
||||
PKG_SOURCE_PROTO:=git
|
||||
|
||||
@ -6,6 +6,12 @@
|
||||
|
||||
if [ "$ACTION" = add ] && [ -n "$INTERFACE" ]; then
|
||||
disable_offload "$INTERFACE"
|
||||
# Disable tx-checksumming for mesh interfaces, as it breaks multicast traffic
|
||||
if [ "$DEVTYPE" = "wlan" ]; then
|
||||
if ubus call network.wireless status | jsonfilter -e '@[*].interfaces[@.config.mode="mesh"].ifname' | grep -q "$INTERFACE"; then
|
||||
disable_feature tx-checksumming "$INTERFACE"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user