eiwd

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

commit af9111355cacdfbf207928723190dc201bfbfa38
parent 945fbd5b915ca0fdb5c2367d781bb66db791e4b5
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 15 Sep 2022 14:18:52 -0700

mpdu: fix timestamp size in mpdu frames

Beacons, probe responses and timing advertisements were only using
1 byte for the timestamps which should be 8 bytes.

Diffstat:
Msrc/mpdu.h | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mpdu.h b/src/mpdu.h @@ -374,7 +374,7 @@ struct mmpdu_probe_request { /* 802.11, Section 8.3.3.10 */ struct mmpdu_probe_response { - uint8_t timestamp; + __le64 timestamp; __le16 beacon_interval; struct mmpdu_field_capability capability; uint8_t ies[0]; @@ -382,14 +382,14 @@ struct mmpdu_probe_response { /* 802.11, Section 8.3.3.15 */ struct mmpdu_timing_advertisement { - uint8_t timestamp; + __le64 timestamp; struct mmpdu_field_capability capability; uint8_t ies[0]; } __attribute__ ((packed)); /* 802.11, Section 8.3.3.2 */ struct mmpdu_beacon { - uint8_t timestamp; + __le64 timestamp; __le16 beacon_interval; struct mmpdu_field_capability capability; uint8_t ies[0];