eiwd

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

commit 84666b97030400728c7ba16b8c1423ead9de0e8d
parent 54c0dbb3c8d1d7935a7fd6bd5fcdbb974117974c
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 27 Aug 2025 05:54:54 -0700

handshake: add vendor quirks into handshake object

Diffstat:
Msrc/handshake.c | 6++++++
Msrc/handshake.h | 6++++++
2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/handshake.c b/src/handshake.c @@ -368,6 +368,12 @@ void handshake_state_set_vendor_ies(struct handshake_state *s, } } +void handshake_state_set_vendor_quirks(struct handshake_state *s, + struct vendor_quirk quirks) +{ + s->vendor_quirks = quirks; +} + void handshake_state_set_kh_ids(struct handshake_state *s, const uint8_t *r0khid, size_t r0khid_len, const uint8_t *r1khid) diff --git a/src/handshake.h b/src/handshake.h @@ -26,6 +26,8 @@ #include <linux/types.h> #include <ell/cleanup.h> +#include "src/vendor_quirks.h" + struct handshake_state; enum crypto_cipher; struct eapol_frame; @@ -107,6 +109,7 @@ struct handshake_state { uint8_t *authenticator_fte; uint8_t *supplicant_fte; uint8_t *vendor_ies; + struct vendor_quirk vendor_quirks; size_t vendor_ies_len; enum ie_rsn_cipher_suite pairwise_cipher; enum ie_rsn_cipher_suite group_cipher; @@ -237,6 +240,9 @@ void handshake_state_set_vendor_ies(struct handshake_state *s, const struct iovec *iov, size_t n_iovs); +void handshake_state_set_vendor_quirks(struct handshake_state *s, + struct vendor_quirk quirks); + void handshake_state_set_kh_ids(struct handshake_state *s, const uint8_t *r0khid, size_t r0khid_len, const uint8_t *r1khid);