Device Priority - Modem and Wi-Fi



Hello all,

I was wondering if there was some justification for the priority
listing in src/nm-device.c: nm_device_get_priority(). Specifically,
that a MODEM connection is higher in the priority than a WIFI
connection.

Note that this is not for connection priority support within the same
device type (like bug 580018 [1]), but across different devices,
mainly for the default route.

The reason for asking is that our device will automatically activate a
Wi-Fi connection when it is detected in range, and fall back to a 3G
Modem if it goes out of range / is unavailable. This works great,
however since WiFi is given lower priority by NM, the default route
stays on the 3G connection all the time.

Is this just a historical thing? Having WiFi priority over Modem would
also match other platforms such as Android. I can submit the patch we
are using to swap these (super simple) if desired.

Thanks!
Kevin

[1] https://bugzilla.gnome.org/show_bug.cgi?id=580018


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]