eiwd

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

commit 8f3627646a801ca69876431417b95d1de3986347
parent e15cb7133a20d45e4856382776b394f9b579d9d7
Author: James Prestwood <james.prestwood@linux.intel.com>
Date:   Thu,  4 Apr 2019 15:29:39 -0700

mpdu: add auth algorithms for FILS

Diffstat:
Msrc/mpdu.c | 10++++++++++
Msrc/mpdu.h | 3+++
2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/mpdu.c b/src/mpdu.c @@ -598,6 +598,10 @@ static bool validate_authentication_mmpdu(const struct mmpdu_header *mpdu, IE_TYPE_NEIGHBOR_REPORT, IE_TYPE_VENDOR_SPECIFIC, }; + static const enum ie_type ie_order_fils[] = { + IE_TYPE_FILS_SESSION, + IE_TYPE_FILS_WRAPPED_DATA, + }; if (len < *offset + 6) return false; @@ -630,6 +634,12 @@ static bool validate_authentication_mmpdu(const struct mmpdu_header *mpdu, false); case MMPDU_AUTH_ALGO_SAE: return *offset <= len; + case MMPDU_AUTH_ALGO_FILS_SK: + case MMPDU_AUTH_ALGO_FILS_SK_PFS: + return validate_mgmt_ies(body->ies, len - *offset, + ie_order_fils, + L_ARRAY_SIZE(ie_order_fils), + false); default: return false; } diff --git a/src/mpdu.h b/src/mpdu.h @@ -57,6 +57,9 @@ enum mmpdu_authentication_algorithm_number { MMPDU_AUTH_ALGO_SHARED_KEY, MMPDU_AUTH_ALGO_FT, MMPDU_AUTH_ALGO_SAE, + MMPDU_AUTH_ALGO_FILS_SK, + MMPDU_AUTH_ALGO_FILS_SK_PFS, + MMPDU_AUTH_ALGO_FILS_PK, }; /*