Skip to content
Snippets Groups Projects
Select Git revision
  • d4fc87ae25ce74bba48dbf0a220db3c0328df129
  • experimental default protected
  • v2023.2.5-ffs
  • nrb/ex400-remove-wps
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • experimental-2025-08-13
  • experimental-2025-08-13-base
  • experimental-2025-08-04
  • experimental-2025-08-04-base
  • experimental-2025-07-31
  • experimental-2025-07-31-base
  • experimental-2025-07-29
  • experimental-2025-07-29-base
  • experimental-2025-07-28
  • experimental-2025-07-28-base
  • experimental-2025-07-26
  • experimental-2025-07-26-base
  • experimental-2025-07-24
  • experimental-2025-07-24-base
  • experimental-2025-07-22
  • experimental-2025-07-22-base
  • experimental-2025-07-21
  • experimental-2025-07-21-base
  • experimental-2025-07-20
  • experimental-2025-07-20-base
41 results

0004-kernel-bridge-Implement-MLD-Querier-wake-up-calls-Android-bug-workaround.patch

Blame
  • 0004-kernel-bridge-Implement-MLD-Querier-wake-up-calls-Android-bug-workaround.patch 31.18 KiB
    From: Linus Lüssing <linus.luessing@c0d3.blue>
    Date: Sat, 1 Jan 2022 10:09:13 +0100
    Subject: kernel: bridge: Implement MLD Querier wake-up calls / Android bug workaround
    
    Implement a configurable MLD Querier wake-up calls "feature" which
    works around a widely spread Android bug in connection with IGMP/MLD
    snooping.
    
    Currently there are mobile devices (e.g. Android) which are not able
    to receive and respond to MLD Queries reliably because the Wifi driver
    filters a lot of ICMPv6 when the device is asleep - including
    MLD. This in turn breaks IPv6 communication when MLD Snooping is
    enabled. However there is one ICMPv6 type which is allowed to pass and
    which can be used to wake up the mobile device: ICMPv6 Echo Requests.
    
    If this bridge is the selected MLD Querier then setting
    "multicast_wakeupcall" to a number n greater than 0 will send n
    ICMPv6 Echo Requests to each host behind this port to wake
    them up with each MLD Query. Upon receiving a matching ICMPv6 Echo
    Reply an MLD Query with a unicast ethernet destination will be sent
    to the specific host(s).
    
    Link: https://issuetracker.google.com/issues/149630944
    Link: https://github.com/freifunk-gluon/gluon/issues/1832
    
    Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
    
    diff --git a/package/network/config/netifd/patches/0001-bridge-Add-multicast_wakeupcall-option.patch b/package/network/config/netifd/patches/0001-bridge-Add-multicast_wakeupcall-option.patch
    new file mode 100644
    index 0000000000000000000000000000000000000000..077a563b6066cd1d3aee4b1e82328e8cc5e042ea
    --- /dev/null
    +++ b/package/network/config/netifd/patches/0001-bridge-Add-multicast_wakeupcall-option.patch
    @@ -0,0 +1,142 @@
    +From d23a49e6542dc068b12fbc7b6a4520f9fb3626f9 Mon Sep 17 00:00:00 2001
    +From: =?UTF-8?q?Linus=20L=C3=BCssing?= <linus.luessing@c0d3.blue>
    +Date: Sun, 5 Jul 2020 23:33:51 +0200
    +Subject: [PATCH] bridge: Add multicast_wakeupcall option
    +MIME-Version: 1.0
    +Content-Type: text/plain; charset=UTF-8
    +Content-Transfer-Encoding: 8bit
    +
    +This makes the new per bridge port multicast_wakeupcall feature
    +for the Linux bridge configurable for wireless interfaces and enables it
    +by default for an AP interface.
    +
    +The MLD Querier wake-up calls "feature" works around a widely spread Android
    +bug in connection with IGMP/MLD snooping.
    +
    +Currently there are mobile devices (e.g. Android) which are not able
    +to receive and respond to MLD Queries reliably because the Wifi driver
    +filters a lot of ICMPv6 when the device is asleep - including
    +MLD. This in turn breaks IPv6 communication when MLD Snooping is
    +enabled. However there is one ICMPv6 type which is allowed to pass and
    +which can be used to wake up the mobile device: ICMPv6 Echo Requests.
    +
    +If this bridge is the selected MLD Querier then setting
    +"multicast_wakeupcall" to a number n greater than 0 will send n
    +ICMPv6 Echo Requests to each host behind this port to wake
    +them up with each MLD Query. Upon receiving a matching ICMPv6 Echo
    +Reply an MLD Query with a unicast ethernet destination will be sent
    +to the specific host(s).
    +
    +Link: https://issuetracker.google.com/issues/149630944
    +Link: https://github.com/freifunk-gluon/gluon/issues/1832
    +
    +Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
    +---
    + device.c       |  9 +++++++++
    + device.h       |  3 +++
    + system-linux.c | 13 +++++++++++++