summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tui: wifi: support WPA3-Personal (SAE)bg/sae-fixesBeniamino Galvani2019-09-172-0/+11
|
* libnm-core: support SAE when determining AP compatibilityBeniamino Galvani2019-09-161-1/+6
| | | | https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/172
* supplicant: add FT-SAE key-mgmt to verification listBeniamino Galvani2019-09-161-1/+1
| | | | | | | | FT-SAE is missing in the supplicant configuration verification list, causing an activation failure when using SAE and the supplicant supports FT. Fixes: d17a0a090555 ('supplicant: allow fast transition for WPA-PSK and WPA-EAP')
* merge: branch 'fg/nettools_dhcp_options_II'Francesco Giudici2019-09-134-162/+135
|\ | | | | | | https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/213
| * dhcp: nettools: drop useless "options" GHashTable checksFrancesco Giudici2019-09-131-8/+5
| |
| * dhcp: nettools: add utf8 checking on the wpad optionFrancesco Giudici2019-09-132-3/+7
| | | | | | | | and assert values exported as dhcp options are utf8 compliant
| * dhcp: nettools: drop the 'iface' parameter when no more usedFrancesco Giudici2019-09-131-25/+13
| | | | | | | | | | | | Drop it from the functions for extracting the dhcp options from the lease: it was just used for the logging, but now we log all the options once, at the end of the process.
| * dhcp: nettools: drop plugin logging of the lease optionsFrancesco Giudici2019-09-131-38/+17
| | | | | | | | | | as these are already logged in common dhcp-client code. Moreover, now the log level of the lease options will move from INFO to DEBUG.
| * dhcp: internal: drop plugin logging of the lease optionsFrancesco Giudici2019-09-131-88/+20
| | | | | | | | as these are already logged in common dhcp-client code.
| * dhcp: log the dhcp options got in the lease once for all pluginFrancesco Giudici2019-09-131-9/+11
| | | | | | | | | | | | | | | | | | Each plugin logged the options: just do that on dhcp state change and do in common code. Log the options at INFO level for all the plugins. This partially reverts the effects on the internal plugin of the commit: 97ce488f5f50 ('dhcp/internal: decrease logging level when retrieving dhcp options')
| * dhcp: nettools: retrieve and expose the private dhcp optionsFrancesco Giudici2019-09-131-0/+38
| |
| * dhcp: nettools: retrieve and expose the expiry timeFrancesco Giudici2019-09-131-8/+41
|/ | | | | also fix the lease time: it should be the time in seconds that the lease lasts
* wifi: allow reapply when the seen-bssids property changedBeniamino Galvani2019-09-132-0/+2
| | | | | | | | wifi.seen-bssid is a synthetic read-only property that lists all the bssids seen for that connection; it should be ignored during a reapply. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/243
* meson: fix build_clean.sh -w meson -w testFrancesco Giudici2019-09-131-0/+1
| | | | Fixes: 6e5385a4ebba ('wwan/tests: test service-providers.xml parser')
* libnm: Add missing autoptr macros for classesRobert Ancell2019-09-131-0/+40
| | | | https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/270
* build: make test-service-providers depend on nm-core-enum-types.hLubomir Rintel2019-09-111-0/+2
| | | | | | | | | | | | Fixes build: In file included from ../src/devices/wwan/nm-service-providers.c:10: In file included from ../shared/nm-default.h:279: ../libnm-core/nm-core-types.h:14:10: fatal error: 'nm-core-enum-types.h' file not found #include "nm-core-enum-types.h" ^ 1 error generated. make[2]: *** [src/devices/wwan/src_devices_wwan_tests_test_service_providers-nm-service-providers.o] Error 1
* build/debian: install mobile-broadband-provider-infolr/debian-service-providerLubomir Rintel2019-09-112-0/+2
|
* merge: branch 'lr/gsm-default-apn'Lubomir Rintel2019-09-1122-78/+1000
|\ | | | | | | https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/98
| * wwan/modem-broadband: add capability to look up default APN/username/passwordlr/gsm-default-apnLubomir Rintel2019-09-116-28/+127
| | | | | | | | | | This allows the GSM connection to Just Work most of the time, as in: "nmcli d connect ttyUSB0".
| * wwan/modem-broadband: get rid of g_assert*()Lubomir Rintel2019-09-111-10/+13
| | | | | | | | | | Though there is no known way to reach these, it may well happen that this is going to prevent some hard crashes.
| * wwan/tests: test service-providers.xml parserLubomir Rintel2019-09-116-2/+243
| | | | | | | | Just a handful of unit tests.
| * wwan: add service-providers.xml parserLubomir Rintel2019-09-114-1/+489
| | | | | | | | This allows up to look up a default APN if the user doesn't pick one.
| * setting-gsm: allow empty apn property in verify()Thomas Haller2019-09-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NetworkManager treats "gsm.apn" %NULL as setting an empty APN (""). At least with ModemManager. With oFono, a %NULL APN means not to set the "AccessPointName", so oFono implementation treats %NULL different from "". Soon the meaning will change to allow %NULL to automatically obtain the APN from the mobile-broadband-provider-info. That will be a change in behavior how to treat %NULL. Anyway, since %NULL is accepted and in fact means to actually use "", the empty word should be also accepted to explicitly choose this behavior. This is especially important in combination with changing the meaning of %NULL.
| * setting-gsm: use size_t variable for strlen() resultThomas Haller2019-09-111-5/+6
| |
| * setting-gsm: add auto-config propertyLubomir Rintel2019-09-117-4/+94
| | | | | | | | | | | | | | | | | | | | 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.
| * core/connection: drop some unused parametersLubomir Rintel2019-09-111-30/+30
|/
* wwan: remove an accidentally committed fileLubomir Rintel2019-09-111-0/+0
| | | | Fixes: 7a72c705acc2 ('initrd: add devicetree support')
* contrib/modemu: also clean up on SIGTERMLubomir Rintel2019-09-101-0/+1
|
* initrd: fix dt testLubomir Rintel2019-09-101-0/+19
|
* merge: branch 'lr/licensing'Lubomir Rintel2019-09-10917-12863/+1892
|\ | | | | | | https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/264
| * contrib/checkpatch: fix the systemd code pathlr/licensingLubomir Rintel2019-09-101-1/+1
| |
| * contrib/checkpatch: check for SPDX tagsLubomir Rintel2019-09-101-1/+8
| |
| * all: SPDX header conversionLubomir Rintel2019-09-10908-12933/+935
| | | | | | | | | | $ find * -type f |xargs perl contrib/scripts/spdx.pl $ git rm contrib/scripts/spdx.pl
| * contrib/spdx: add a tool that determines SPDX licensing headersLubomir Rintel2019-09-101-0/+105
| | | | | | | | | | | | | | This is a one-off hacky tool that we'll use to convert the long license boilerplates to SPDX headers that are more friendly to automated tools. Then we can drop it and forget it existed.
| * docs: include the license boilerplate instead of full GPL textLubomir Rintel2019-09-104-5/+71
| | | | | | | | | | | | | | | | What's actually needed here is an explaination of how the license applies along with the explanation where to find the full text. Also, the libnm documentation was lacking the licensing information altogether. Fix fixes it too.
| * COPYING: make sure we ship the relevant license textsLubomir Rintel2019-09-106-28/+877
|/ | | | | | | | | | | | | This adds LGPL and GFDL texts from the GNU web site and updates the GPL one: COPYING: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt COPYING.LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt COPYING.GFDL: https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt The update to the GPL text is purely cosmetic. However, shipping the exact same file as GNU publishes may help distros that deduplicate the license texts or hardlink duplicates.
* initrd: add devicetree supportLubomir Rintel2019-09-1028-1/+603
| | | | | | | | | | | | This adds capability to hand over the network configuration from OpenFirmware (and potentially other boot loaders with openfirmware support such as U-Boot) to NetworkManager. It's done analogously to ACPI/iBFT. In fact, the same ip=ibft command line option is used, adding a more general ip=fw alias. This probably deserves some documentation, but I'm not adding any at this time. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/257
* merge: branch 'lr/olpc-mesh'Lubomir Rintel2019-09-073-26/+104
|\ | | | | | | https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/262
| * platforn/linux: don't fall back to WEXT for OLPC Meshlr/olpc-meshLubomir Rintel2019-09-071-9/+1
| | | | | | | | nl80211 offers the same functionality sans the bugs.
| * wifi/olpc-mesh: fix the stage2Lubomir Rintel2019-09-071-14/+33
| | | | | | | | | | | | | | | | | | | | | | There's multiple things wrong there, but unnoticed because the error handling was entirely missing or nobody is using thie anymore. The Mesh ID needs to be set while the device is down. Also, the channel needs to be set last, because that's what triggers the connection attempt. For that the device needs to be up. Also, fix the error handling.
| * wifi/olpc-mesh: drop assert(companion) from get_autoconnect_allowed()Lubomir Rintel2019-09-071-3/+3
| | | | | | | | | | | | The comment is wrong. Since 6eaded9071fb ('device: add get_autoconnect_allowed() virtual function'), get_autoconnect_allowed() is called before the device state is consulted.
| * wifi: add OLPC Mesh support via nl80211Lubomir Rintel2019-09-071-0/+67
|/
* build: use regexp in gtkdoc --ignore-decorators optionBeniamino Galvani2019-09-064-15/+2
| | | | | | | gtkdoc-scan supports regular expressions in the --ignore-decorators command-line option. Since it is easier to use a regexp than grepping macros from a source file, revert the ugly solution from commit 2d941dc95a1d ('build: fix errors when building with gtk-doc 1.32').
* meson: fix build_clean.sh -w meson -w testFrancesco Giudici2019-09-051-0/+1
| | | | Fixes: 2d941dc95a1d ('build: fix errors when building with gtk-doc 1.32')
* dhcp: merge branch 'fg/nettools_persist_lease'Francesco Giudici2019-09-057-65/+127
|\ | | | | | | https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/246
| * dhcp: nettools: read/write lease filesFrancesco Giudici2019-09-051-2/+57
| | | | | | | | | | | | | | | | Use the same format of systemd-netword, so that we will be compatible with the leases created/read by the current "internal" plugin. Note that actually only the leased address is processed when reading a lease file, so no need to save more than the ip address when saving the lease.
| * dhcp: dhclient: use the shared function to retrieve the lease file pathFrancesco Giudici2019-09-051-24/+2
| | | | | | | | ... but leave in place the custom checks dependant on the dhclient plugin
| * dhcp: prefer nm_assert() to g_assert*()Francesco Giudici2019-09-053-3/+3
| |
| * dhcp: internal: use the shared function to retrieve the lease file pathFrancesco Giudici2019-09-051-35/+5
| |
| * dhcp: add a shared function to retrieve the dhcp lease fileFrancesco Giudici2019-09-052-1/+60
|/ | | | | | | | | | For each plugin we try to come up with a lease file constructed in the same way, i.e., plugin name + iface + connection duid. If the file isn't already there, for some plugins (dhclient) we do extra checks in order to allow to use lease files generated outside of NetworkManager. Let's allow to generate the common NetworkManager dhcp lease file name in a shared function, reporting to the caller if the file isn't already there, so that further plugin specific checks can be performed if needed.