eiwd

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

commit 9ec87acccff9b00dcaad854801d23482eae1eb6a
parent b35e3525be36ddfbb768c81121086bf8e0ae131d
Author: James Prestwood <prestwoj@gmail.com>
Date:   Mon, 21 Oct 2019 14:01:57 -0700

mpdu: expose mmpdu_header_len

Diffstat:
Msrc/mpdu.c | 2+-
Msrc/mpdu.h | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mpdu.c b/src/mpdu.c @@ -623,7 +623,7 @@ const struct mmpdu_header *mpdu_validate(const uint8_t *frame, int len) } } -static size_t mmpdu_header_len(const struct mmpdu_header *mmpdu) +size_t mmpdu_header_len(const struct mmpdu_header *mmpdu) { return mmpdu->fc.order == 0 ? 24 : 28; } diff --git a/src/mpdu.h b/src/mpdu.h @@ -408,3 +408,4 @@ struct mmpdu_deauthentication { const struct mmpdu_header *mpdu_validate(const uint8_t *frame, int len); const void *mmpdu_body(const struct mmpdu_header *mpdu); +size_t mmpdu_header_len(const struct mmpdu_header *mmpdu);