mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
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.
This commit is contained in:
parent
945fbd5b91
commit
af9111355c
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user