summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorJoerg Werner <schreibubi@gmail.com>2022-08-16 16:25:45 +0200
committerHannu Nyman <hannu.nyman@iki.fi>2022-08-25 15:28:11 +0300
commit7e4c087f868935d1ee42ca515f3be40f91474848 (patch)
tree8f9bcf8abf85fdc846b50bd8b1dd4af789ab530c /libs
parent083daefcc32c62d6c48c0e7168fafc4678f08720 (diff)
rpc-mod-luci: Add support for ccmp-256/gcmp/gcmp-256 ciphers
Signed-off-by: Joerg Werner <schreibubi@gmail.com>
Diffstat (limited to 'libs')
-rw-r--r--libs/rpcd-mod-luci/src/luci.c9
1 files changed, 9 insertions, 0 deletions
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");