diff --git a/clients/common/nm-meta-setting-desc.c b/clients/common/nm-meta-setting-desc.c index 6f0183492e..3e4bd1bb0b 100644 --- a/clients/common/nm-meta-setting-desc.c +++ b/clients/common/nm-meta-setting-desc.c @@ -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 }; diff --git a/clients/tests/test-client.check-on-disk/test_004-008.expected b/clients/tests/test-client.check-on-disk/test_004-008.expected index e9b5147b72..ad9b5a40ed 100644 --- a/clients/tests/test-client.check-on-disk/test_004-008.expected +++ b/clients/tests/test-client.check-on-disk/test_004-008.expected @@ -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: -- diff --git a/clients/tests/test-client.check-on-disk/test_004-009.expected b/clients/tests/test-client.check-on-disk/test_004-009.expected index 5e196fd1a2..86270c26f8 100644 --- a/clients/tests/test-client.check-on-disk/test_004-009.expected +++ b/clients/tests/test-client.check-on-disk/test_004-009.expected @@ -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: --