mirror of
https://github.com/openwrt/luci
synced 2025-01-09 04:28:37 +08:00
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:
parent
083daefcc3
commit
7e4c087f86
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user