Qualcommax NSS Build

This patch:

target/linux/generic/hack-6.6/600-net-enable-fraglist-GRO-by-default.patch

But I added a hotplug script with qca-nss-ecm to disable rx-gro-list and tx-checksumming (only for mesh) anytime an interface is brought up.

[ "$ACTION" != "add" ] && exit

. /lib/netifd/offload/disable_offloads.sh

if [ -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
3 Likes