dbus: Add inactive time to D-Bus signal info
This enables connection managers to receive and use this information in the same manner that other station information is exposed. Signed-off-by: David Ruth <druth@chromium.org>
This commit is contained in:
parent
a678a510fb
commit
edcad193ae
1 changed files with 3 additions and 0 deletions
|
@ -1086,6 +1086,9 @@ int wpas_dbus_new_from_signal_information(DBusMessageIter *iter,
|
|||
(si->data.current_rx_rate &&
|
||||
!wpa_dbus_dict_append_uint32(&iter_dict, "linktxspeed",
|
||||
si->data.current_tx_rate)) ||
|
||||
(si->data.inactive_msec &&
|
||||
!wpa_dbus_dict_append_uint32(&iter_dict, "inactive-time",
|
||||
si->data.inactive_msec)) ||
|
||||
(si->data.tx_retry_failed &&
|
||||
!wpa_dbus_dict_append_uint32(&iter_dict, "retries-failed",
|
||||
si->data.tx_retry_failed)) ||
|
||||
|
|
Loading…
Reference in a new issue