mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-06 09:04:55 +00:00
cli: add support for wake-on-wlan properties
This commit is contained in:
parent
ca3bbede74
commit
cb8003c40d
|
@ -7258,6 +7258,20 @@ static const NMMetaPropertyInfo *const property_infos_WIRELESS[] = {
|
|||
.typ_flags = NM_META_PROPERTY_TYP_FLAG_ENUM_GET_PARSABLE_TEXT,
|
||||
),
|
||||
),
|
||||
PROPERTY_INFO_WITH_DESC (NM_SETTING_WIRELESS_WAKE_ON_WLAN,
|
||||
.property_type = &_pt_gobject_enum,
|
||||
.property_typ_data = DEFINE_PROPERTY_TYP_DATA (
|
||||
PROPERTY_TYP_DATA_SUBTYPE (gobject_enum,
|
||||
.get_gtype = nm_setting_wireless_wake_on_wlan_get_type,
|
||||
.value_infos = ENUM_VALUE_INFOS (
|
||||
{
|
||||
.value = NM_SETTING_WIRELESS_WAKE_ON_WLAN_NONE,
|
||||
.nick = "disabled",
|
||||
}
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ location: clients/tests/test-client.py:923:test_004()/8
|
|||
cmd: $NMCLI con s con-xx1
|
||||
lang: C
|
||||
returncode: 0
|
||||
stdout: 3756 bytes
|
||||
stdout: 3810 bytes
|
||||
>>>
|
||||
connection.id: con-xx1
|
||||
connection.uuid: UUID-con-xx1-REPLACED-REPLACED-REPLA
|
||||
|
@ -41,6 +41,7 @@ connection.mdns: -1 (default)
|
|||
802-11-wireless.seen-bssids: --
|
||||
802-11-wireless.hidden: no
|
||||
802-11-wireless.powersave: 0 (default)
|
||||
802-11-wireless.wake-on-wlan: 0x1 (default)
|
||||
ipv4.method: auto
|
||||
ipv4.dns: --
|
||||
ipv4.dns-search: --
|
||||
|
|
|
@ -2,7 +2,7 @@ location: clients/tests/test-client.py:923:test_004()/9
|
|||
cmd: $NMCLI con s con-xx1
|
||||
lang: pl_PL.UTF-8
|
||||
returncode: 0
|
||||
stdout: 3774 bytes
|
||||
stdout: 3828 bytes
|
||||
>>>
|
||||
connection.id: con-xx1
|
||||
connection.uuid: UUID-con-xx1-REPLACED-REPLACED-REPLA
|
||||
|
@ -41,6 +41,7 @@ connection.mdns: -1 (default)
|
|||
802-11-wireless.seen-bssids: --
|
||||
802-11-wireless.hidden: nie
|
||||
802-11-wireless.powersave: 0 (default)
|
||||
802-11-wireless.wake-on-wlan: 0x1 (default)
|
||||
ipv4.method: auto
|
||||
ipv4.dns: --
|
||||
ipv4.dns-search: --
|
||||
|
|
Loading…
Reference in a new issue