setting-gsm: add auto-config property

System Internals / NetworkManager - Lubomir Rintel [v3.sk] - 11 September 2019 12:32 EDT

This will make NetworkManager look up APN, username, and password in the Mobile Broadband Provider database.

It is mutually exclusive with the apn, username and password properties. If that is the case, the connection will be normalized to auto-config=false. This makes it convenient for the user to turn off the automatism by just setting the apn.

0eb4a5dfa setting-gsm: add auto-config property
clients/common/nm-meta-setting-desc.c | 3 ++
clients/common/settings-docs.h.in | 1 +
.../test-client.check-on-disk/test_003.expected | 10 +++--
libnm-core/nm-connection.c | 24 +++++++++++
libnm-core/nm-setting-gsm.c | 50 ++++++++++++++++++++++
libnm-core/nm-setting-gsm.h | 5 +++
libnm/libnm.ver | 5 +++
7 files changed, 94 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share