nss-packages-breeze303/qca-nss-ecm/patches/0016-ecm-conditionally-check-mlo-device.patch
Qosmio 78aedd1916 qca-nss-ecm: move MLO check internally
`is_mlo_device` is a check for whether a device is multi-link operation
capable, it is also geared towards WiFi 7 which is only supported on
IPQ95xx/53xx platforms with SFE. Since these patches are only focused on NSS,
rather than unecessarily patching the kernel, don't check if device is MLO capable.
2024-03-24 21:59:48 -04:00

15 lines
565 B
Diff

--- a/ecm_interface.c
+++ b/ecm_interface.c
@@ -4033,7 +4033,11 @@ static uint32_t ecm_interface_multicast_
* For MLO bond netdevice, destination for multicast is bond netdevice itself
* Therefore, slave lookup is not needed.
*/
+#ifdef ECM_FRONT_END_SFE_ENABLE
if (ecm_front_end_is_lag_master(dest_dev) && !bond_is_mlo_device(dest_dev)) {
+#else
+ if (ecm_front_end_is_lag_master(dest_dev)) {
+#endif
/*
* Link aggregation
* Figure out which slave device of the link aggregation will be used to reach the destination.