eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 7584b385625f2ac445cd71a2e94e6d17dd962e1e
parent d1acc803316db070be493f36f30a96edf70d14a3
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Fri, 21 Oct 2022 13:42:21 -0500

wiphy: Support more group management cipher suites

Diffstat:
Msrc/wiphy.c | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/src/wiphy.c b/src/wiphy.c @@ -165,6 +165,15 @@ enum ie_rsn_cipher_suite wiphy_select_cipher(struct wiphy *wiphy, uint16_t mask) if (mask & IE_RSN_CIPHER_SUITE_TKIP) return IE_RSN_CIPHER_SUITE_TKIP; + if (mask & IE_RSN_CIPHER_SUITE_BIP_GMAC_256) + return IE_RSN_CIPHER_SUITE_BIP_GMAC_256; + + if (mask & IE_RSN_CIPHER_SUITE_BIP_CMAC_256) + return IE_RSN_CIPHER_SUITE_BIP_CMAC_256; + + if (mask & IE_RSN_CIPHER_SUITE_BIP_GMAC) + return IE_RSN_CIPHER_SUITE_BIP_GMAC; + if (mask & IE_RSN_CIPHER_SUITE_BIP_CMAC) return IE_RSN_CIPHER_SUITE_BIP_CMAC; @@ -1253,6 +1262,18 @@ static void parse_supported_ciphers(struct wiphy *wiphy, const void *data, wiphy->supported_ciphers |= IE_RSN_CIPHER_SUITE_CCMP_256; break; + case CRYPTO_CIPHER_BIP_GMAC: + wiphy->supported_ciphers |= + IE_RSN_CIPHER_SUITE_BIP_GMAC; + break; + case CRYPTO_CIPHER_BIP_GMAC_256: + wiphy->supported_ciphers |= + IE_RSN_CIPHER_SUITE_BIP_GMAC_256; + break; + case CRYPTO_CIPHER_BIP_CMAC_256: + wiphy->supported_ciphers |= + IE_RSN_CIPHER_SUITE_BIP_CMAC_256; + break; default: /* TODO: Support other ciphers */ break; }