Branch: refs/heads/testing
Home: https://github.com/openSUSE/wicked
Commit: 77707e2e1bee6216c341eee4fe7e891d5304b18d
https://github.com/openSUSE/wicked/commit/77707e2e1bee6216c341eee4fe7e891d53...
Author: Marius Tomaschewski
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M include/wicked/logging.h
Log Message:
-----------
wpa: add wpa logging tag and ni_debug_wpa macro
Signed-off-by: Clemens Famulla-Conrad
Commit: 46bcfa84e1d13931c016ccadbbac1a5beb257a2f
https://github.com/openSUSE/wicked/commit/46bcfa84e1d13931c016ccadbbac1a5beb...
Author: Rubén Torrero Marijnissen
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M src/wpa-supplicant.c
Log Message:
-----------
wpa: use wpa debug tag instead of wireless
Replace ni_debug_wireless() with ni_debug_wpa() in wpa-supplicant.c.
Signed-off-by: Clemens Famulla-Conrad
Commit: e73a354cdc95bd71d8e2b55e7ec1f67cb35eb34a
https://github.com/openSUSE/wicked/commit/e73a354cdc95bd71d8e2b55e7ec1f67cb3...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M client/compat.c
M client/suse/compat-suse.c
M include/wicked/wireless.h
M src/dbus-objects/wireless.c
M src/fsm-policy.c
M src/wireless.c
M src/wpa-supplicant.c
M testing/essid-test.c
Log Message:
-----------
wireless: Rename ni_wireless_print_ssid and other *_ssid_*()
Rename:
* ni_wireless_print_ssid() => ni_wireless_ssid_print()
* ni_wireless_parse_ssid() => ni_wireless_ssid_parse()
* ni_wireless_match_ssid() => ni_wireless_ssid_eq()
Add function:
ni_wireless_ssid_print_data(const unsigned char *data, size_t len, ni_stringbuf_t *out);
Avoid static buffer in `ni_wireless_ssid_print()` and use `ni_stringbuf_t`.
Commit: 7d459983f411e8675155e60f31b977a9b7f671f3
https://github.com/openSUSE/wicked/commit/7d459983f411e8675155e60f31b977a9b7...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M schema/wireless.xml
Log Message:
-----------
wireless-xml: Format and indent according to .editorconfig
Commit: ce3ea7c31156ead6fbde1627a28df9eeb661b089
https://github.com/openSUSE/wicked/commit/ce3ea7c31156ead6fbde1627a28df9eeb6...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M schema/wireless.xml
M src/dbus-objects/wireless.c
Log Message:
-----------
wireless-xml: Drop method setScanning()
Only valid methods are:
* changeDevice -- configure the device incl. scanning according to ap-scan setting
* shutdownDevice -- delete device in wpa-supplicant
* linkUp -- connect a network == ni_wireless_connect(dev) in src/ifconfig.c
* linkDown -- disconnect a network == ni_wireless_disconnect(dev) in src/ifconfig.c
Commit: 7fb3eda6da87748636b3cc6de86fd101868d9c23
https://github.com/openSUSE/wicked/commit/7fb3eda6da87748636b3cc6de86fd10186...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M client/suse/compat-suse.c
Log Message:
-----------
wireless-compat: Only set priority based on WIRELESS_PRIORITY
Use value given with `WIRELESS_PRIORITY`. The order in the ifcfg file
does not specify any order. Default priority is 0.
Commit: eed7dddbc1e1b2bcf5ae75a64377806dba8948e0
https://github.com/openSUSE/wicked/commit/eed7dddbc1e1b2bcf5ae75a64377806dba...
Author: Rubén Torrero Marijnissen
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M client/compat.c
M client/suse/compat-suse.c
M include/wicked/wireless.h
M schema/constants.xml.in
M schema/wireless.xml
M src/dbus-objects/wireless.c
M src/wireless.c
M src/wpa-supplicant.c
M util/mkconst.c
Log Message:
-----------
wpa/wireless: Use bitmaps for capabilities like key-mgmt, ciphers a.s.o
We need bitmaps instead of enum for a lot of capabilities like
key-mgmt, ciphers and wireless proto.
For example with pairwise-ciphers, we need to define TKIP, CCMP or both.
Co-authored-by: Marius Tomaschewski
Co-authored-by: Clemens Famulla-Conrad
Commit: 6685ae912e5f770af4d5a940dd78005a0003a5c3
https://github.com/openSUSE/wicked/commit/6685ae912e5f770af4d5a940dd78005a00...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M src/ifconfig.c
Log Message:
-----------
ifconfig: Call wireless_connect() before ni_netdev_device_is_up()
With 36a08a878 the call of `wireless_connect()` was omitted. But we need
the call of `wireless_connect()` cause it is used to enable the
configured networks.
Commit: f50e4690f6f7351b1292c0e7831e9f0dde5c5953
https://github.com/openSUSE/wicked/commit/f50e4690f6f7351b1292c0e7831e9f0dde...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M include/wicked/wireless.h
M schema/wireless.xml
M src/Makefile.am
M src/dbus-objects/wireless.c
M src/wireless.c
R src/wireless_priv.h
M src/wpa-supplicant.c
M src/wpa-supplicant.h
Log Message:
-----------
wpa: Use new DBus API from fi.w1.wpa_supplicant1
Change the DBus interface of wpa_supplicant to v1 version
(see: https://w1.fi/wpa_supplicant/devel/dbus.html).
Following interfaces are implemented/used:
* fi.w1.wpa_supplicant1
* fi.w1.wpa_supplicant1.Interface
* fi.w1.wpa_supplicant1.BSS
* fi.w1.wpa_supplicant1.Network
The idea is, that wpa-supplicant.[ch] is considered as helper to
communicate with the wpa_supplicant service, but do _not_ have a 1:1 relation
to wireless.c, because we would like to use it later with 802.1X on
ethernet as well.
A user can register various callbacks to get status and property updates
like:
* on_network_added
* on_network_selected
* on_state_change
* on_properties_changed
As we do not write every property of a fi.w1.wpa_supplicant1.Network we
can not "update" such a DBus object, we need to delete and recreate
them.
A network is created on `DeviceChanged` event, but it is `disabled`. On
wireless_connect() all networks get enabled.
Commit: 24c7aa629dcbb19c5182ecd66fcadde01a03058f
https://github.com/openSUSE/wicked/commit/24c7aa629dcbb19c5182ecd66fcadde01a...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M client/compat.c
M schema/wireless.xml
M src/client/policy.c
M src/dbus-objects/wireless.c
Log Message:
-----------
wireless-xml: Store the list of networks in a <networks> array node
Changed the wireless config from:
```
<wireless>
<network></network>
<network></network>
</wireless>
```
to
```
<wireless>
<networks>
<network></network>
<network></network>
</networks>
</wireless>
```
A migration implemented in `src/client/policy.c`, so old version get
automatically updated!.
Commit: 22315a53eee5ff42a8f7f2d2127838d8a47e716c
https://github.com/openSUSE/wicked/commit/22315a53eee5ff42a8f7f2d2127838d8a4...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M include/wicked/wireless.h
M src/dbus-objects/wireless.c
M src/wireless.c
Log Message:
-----------
wireless: add handler for DBus method shutdownDevice()
On shutdown, the interface configuration from wpa-supplicant gets
deleted.
Commit: ad008f8e705bd0d1871f2b7b045048407f138d0a
https://github.com/openSUSE/wicked/commit/ad008f8e705bd0d1871f2b7b045048407f...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M include/wicked/types.h
M include/wicked/wireless.h
M schema/wireless.xml
M src/dbus-objects/wireless.c
M src/fsm-policy.c
M src/wireless.c
M src/wpa-supplicant.c
M src/wpa-supplicant.h
Log Message:
-----------
wireless: Use a dedicated structure to store scan results
Use a dedicated structure (ni_wireless_bss_t) to store and hold wireless scan
results.
A user of wpa-supplicant.c can set a callback `on_scan_done()` which
get's a list of all current BSSs.
A new scan can be triggered with `ni_wpa_nif_trigger_scan()`.
Commit: cd005af6770d855b9f12fce147aca4fc254f22bd
https://github.com/openSUSE/wicked/commit/cd005af6770d855b9f12fce147aca4fc25...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M client/compat.c
M client/suse/compat-suse.c
M include/wicked/wireless.h
M schema/wireless.xml
M src/dbus-objects/wireless.c
M src/wireless.c
Log Message:
-----------
wireless: Fix WEP configuration
This commit fix WEP configuration.
Use _one_ single function to parse WEP keys from different formats.
Supported formates are string, hex-string or `-` separated hex-string,
like iwconfig did it.
Commit: 2073dfe512579a3c579de439e81187abcf919ee5
https://github.com/openSUSE/wicked/commit/2073dfe512579a3c579de439e81187abcf...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M client/ifstatus.c
M include/wicked/wireless.h
M schema/constants.xml.in
M schema/wireless.xml
M src/dbus-objects/wireless.c
M src/wireless.c
M src/wpa-supplicant.c
M src/wpa-supplicant.h
M util/mkconst.c
Log Message:
-----------
wireless: Show wireless connection info in ifstatus
Example output `wicked show-xml <wlan>`
```xml
<current-connection>
<state>established</state>
<bssid>02:00:00:00:00:00</bssid>
<signal>-30</signal>
<duration>136</duration>
<authmode>WPA2-PSK+WPA-PSK</authmode>
</current-connection>
```
Example output `wicked --verbose ifstatus <wlan>`
```bash
wlan1 up
link: #6, state up, mtu 1500
type: wireless, state established, ssid MySSID Muha, WPA2-PSK+WPA-PSK
wireless: bssid 02:00:00:00:00:00, signal -30, duration 7s
```
Commit: 91c75771b59415e1321980842bb4d56dedaa6dd0
https://github.com/openSUSE/wicked/commit/91c75771b59415e1321980842bb4d56ded...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M client/compat.c
M client/suse/compat-suse.c
M include/wicked/constants.h
M include/wicked/wireless.h
M schema/wireless.xml
M src/dbus-objects/wireless.c
M src/wireless.c
M src/wpa-supplicant.c
M src/wpa-supplicant.h
Log Message:
-----------
wireless: Fix WPA-EAP and certificat handling (TLS/TTLS/MSCHAPv2)
This commit allow the configuration of TLS, TTLS and MSCHAPv2.
In ifcfg files, the specified certificate path will be passed to
wpa_supplicant.
In wicked-xml configuration files, there is support for different
formats:
* `path`: a normal path, wpa_supplicant need to have read access
(like ifcfg)
* `external-file`: The certificates get read by `nanny` and
transferred to wickedd as `blob`
* `hex-string` the certificate data as hex-string.
Commit: f180db90782ac852d04bd47d58d0884c94c70fc3
https://github.com/openSUSE/wicked/commit/f180db90782ac852d04bd47d58d0884c94...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M client/suse/compat-suse.c
Log Message:
-----------
wireless-ifcfg: Allow scan only configuration
We allow configurations which have only one of the following
wireless settings set: WIRELESS=yes, WIRELESS_AP_SCANMODE,
WIRELESS_WPA_DRIVER or WIRELESS_ESSID.
Commit: beabc2cb6ab37301339dbe82d6876fa41322a1c8
https://github.com/openSUSE/wicked/commit/beabc2cb6ab37301339dbe82d6876fa413...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M man/ifcfg-wireless.5.in
A man/src/ifcfg-wireless.5.md
Log Message:
-----------
wireless: Adopt manpages to latest code changes
The man-page is written in markdown within the file `man/src/ifcfg-wireless.5.md`
and converted to man with pandoc:
```
pandoc -s --to man --from markdown ./man/src/ifcfg-wireless.5.md > man/ifcfg-wireless.5.in
```
Commit: 5904f7a4309474cc69c7a70538afb5c05bdfe4fd
https://github.com/openSUSE/wicked/commit/5904f7a4309474cc69c7a70538afb5c05b...
Author: Clemens Famulla-Conrad
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M client/suse/compat-suse.c
Log Message:
-----------
wireless: Read WIRELESS_REGULATORY_DOMAIN from global config
Read the WIRELESS_REGULATORY_DOMAIN from /etc/sysconfig/network/config
instead of ifcfg-* files.
Commit: 1d0ae793638950bc145c9c553e2710dc614702e2
https://github.com/openSUSE/wicked/commit/1d0ae793638950bc145c9c553e2710dc61...
Author: Marius Tomaschewski
Date: 2021-06-03 (Thu, 03 Jun 2021)
Changed paths:
M client/compat.c
M client/ifstatus.c
M client/suse/compat-suse.c
M include/wicked/constants.h
M include/wicked/logging.h
M include/wicked/types.h
M include/wicked/wireless.h
M man/ifcfg-wireless.5.in
A man/src/ifcfg-wireless.5.md
M schema/constants.xml.in
M schema/wireless.xml
M src/Makefile.am
M src/client/policy.c
M src/dbus-objects/wireless.c
M src/fsm-policy.c
M src/ifconfig.c
M src/wireless.c
R src/wireless_priv.h
M src/wpa-supplicant.c
M src/wpa-supplicant.h
M testing/essid-test.c
M util/mkconst.c
Log Message:
-----------
wireless: migrate to wpa-supplicant v1 DBus interface and improve
Merge pull request https://github.com/openSUSE/wicked/pull/872
Compare: https://github.com/openSUSE/wicked/compare/1778e790139e...1d0ae7936389