After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 740982 - Do something with 'ANDROID_METERED' dhcp field
Do something with 'ANDROID_METERED' dhcp field
Status: RESOLVED DUPLICATE of bug 741725
Product: NetworkManager
Classification: Platform
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-12-01 14:39 UTC by Allison Karlitskaya (desrt)
Modified: 2016-01-21 13:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allison Karlitskaya (desrt) 2014-12-01 14:39:23 UTC
Although bug 739080 helps applications quickly answer the question of "am I on 3G?", I think it misses the mark somewhat.

Specifically, "802-11-wireless" is not exactly the same as "not metered".

While debugging bluetooth stuff the other day I noticed in a log that Android is sending us

  'vendor_encapsulated_options': <'ANDROID_METERED'>

among the option fields of its dhcp reply.

We should make available a better property than PrimaryConnectionType (possibly reverting the other before people start using it) that takes this field into account (and possibly similar fields used by other mobile OSes).

One minimal possibility would be to add a new connection type advertised through PrimaryConnectionType as something like "802-11-wireless-metered" but I'm not sure if this is the cleanest thing to do...
Comment 1 Bastien Nocera 2015-05-12 17:42:58 UTC
See bug 741725.
Comment 2 Beniamino Galvani 2016-01-21 13:11:41 UTC

*** This bug has been marked as a duplicate of bug 741725 ***