wwan: new retry logic when ipv4=auto and ipv6=auto

System Internals / NetworkManager - Aleksander Morgado [aleksander.es] - 24 February 2015 16:04 UTC

When ipv4=auto and ipv6=auto, we'll first try with the IPv4v6 PDP type, and if that fails (e.g. if either the modem or the operator doesn't support it), we'll fallback to trying with IPv4 or IPv6 PDP types (only if may-fail configuration allows it).

Patch based on a previous implementation by Dan Williams

https://bugzilla.gnome.org/show_bug.cgi?id=733696

85d9132 wwan: new retry logic when ipv4=auto and ipv6=auto
src/devices/wwan/nm-modem-broadband.c | 272 ++++++++++++++++++++-------------
src/devices/wwan/nm-modem.c | 86 ++++++++---
src/devices/wwan/nm-modem.h | 4 +-
3 files changed, 232 insertions(+), 130 deletions(-)

Upstream: cgit.freedesktop.org


  • Share