From: Joerg Werner Date: Tue, 16 Aug 2022 14:25:45 +0000 (+0200) Subject: rpc-mod-luci: Add support for ccmp-256/gcmp/gcmp-256 ciphers X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7e4c087f868935d1ee42ca515f3be40f91474848;p=project%2Fluci.git rpc-mod-luci: Add support for ccmp-256/gcmp/gcmp-256 ciphers Signed-off-by: Joerg Werner --- diff --git a/libs/rpcd-mod-luci/src/luci.c b/libs/rpcd-mod-luci/src/luci.c index 131180a750..4bef961c35 100644 --- a/libs/rpcd-mod-luci/src/luci.c +++ b/libs/rpcd-mod-luci/src/luci.c @@ -1083,6 +1083,15 @@ static bool rpc_luci_get_iwinfo(struct blob_buf *buf, const char *devname, if (nret & IWINFO_CIPHER_CCMP) blobmsg_add_string(buf, NULL, "ccmp"); + if (nret & IWINFO_CIPHER_CCMP256) + blobmsg_add_string(buf, NULL, "ccmp-256"); + + if (nret & IWINFO_CIPHER_GCMP) + blobmsg_add_string(buf, NULL, "gcmp"); + + if (nret & IWINFO_CIPHER_GCMP256) + blobmsg_add_string(buf, NULL, "gcmp-256"); + if (nret & IWINFO_CIPHER_WRAP) blobmsg_add_string(buf, NULL, "wrap");