eiwd

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

commit 737ebf437f7f8c65e00daaafa8846101fb4754e8
parent c1d40e226305b7aa3d0c79e5d8f89a277ac9b67c
Author: James Prestwood <prestwoj@gmail.com>
Date:   Tue,  5 Dec 2023 07:46:42 -0800

sae: include password identifier IE in commit

Include the IE if a password identifier is being used. This is only
supported by H2E as required by 802.11.

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

diff --git a/src/sae.c b/src/sae.c @@ -637,6 +637,14 @@ old_commit: ie_tlv_builder_set_data(&builder, sm->token, sm->token_len); } + if (sm->sae_type == CRYPTO_SAE_HASH_TO_ELEMENT && + sm->handshake->password_identifier) { + ie_tlv_builder_next(&builder, IE_TYPE_PASSWORD_IDENTIFIER); + ie_tlv_builder_set_data(&builder, + sm->handshake->password_identifier, + strlen(sm->handshake->password_identifier)); + } + ie_tlv_builder_finalize(&builder, &len); return ptr - commit + len;