From 7e4c087f868935d1ee42ca515f3be40f91474848 Mon Sep 17 00:00:00 2001 From: Joerg Werner Date: Tue, 16 Aug 2022 16:25:45 +0200 Subject: rpc-mod-luci: Add support for ccmp-256/gcmp/gcmp-256 ciphers Signed-off-by: Joerg Werner --- libs/rpcd-mod-luci/src/luci.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libs') 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"); -- cgit v1.2.3