mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
station: diagnostic: implement PairwiseCipher
This commit is contained in:
parent
bf4ad7a6e7
commit
8799d5a393
@ -4509,6 +4509,21 @@ static void station_get_diagnostic_cb(
|
|||||||
diagnostic_akm_suite_to_security(hs->akm_suite,
|
diagnostic_akm_suite_to_security(hs->akm_suite,
|
||||||
hs->wpa_ie));
|
hs->wpa_ie));
|
||||||
|
|
||||||
|
if (hs->pairwise_cipher) {
|
||||||
|
const char *str;
|
||||||
|
|
||||||
|
if (hs->pairwise_cipher ==
|
||||||
|
IE_RSN_CIPHER_SUITE_USE_GROUP_CIPHER)
|
||||||
|
str = ie_rsn_cipher_suite_to_string(hs->group_cipher);
|
||||||
|
else
|
||||||
|
str = ie_rsn_cipher_suite_to_string(
|
||||||
|
hs->pairwise_cipher);
|
||||||
|
|
||||||
|
if (str)
|
||||||
|
dbus_append_dict_basic(builder, "PairwiseCipher",
|
||||||
|
's', str);
|
||||||
|
}
|
||||||
|
|
||||||
diagnostic_info_to_dict(info, builder);
|
diagnostic_info_to_dict(info, builder);
|
||||||
|
|
||||||
l_dbus_message_builder_leave_array(builder);
|
l_dbus_message_builder_leave_array(builder);
|
||||||
|
Loading…
Reference in New Issue
Block a user