rpc-mod-luci: Add support for ccmp-256/gcmp/gcmp-256 ciphers

Signed-off-by: Joerg Werner <schreibubi@gmail.com>
This commit is contained in:
Joerg Werner 2022-08-16 16:25:45 +02:00 committed by Hannu Nyman
parent 083daefcc3
commit 7e4c087f86

View File

@ -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");