libwifi
0.0.3
An 802.11 Frame Parsing and Generation library in C
beacon.h
Go to the documentation of this file.
1
/* Copyright 2021 The libwifi Authors
2
*
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
6
*
7
* http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
16
#ifndef LIBWIFI_CORE_BEACON_H
17
#define LIBWIFI_CORE_BEACON_H
18
19
#include "../frame.h"
20
#include "../tag.h"
21
#include <stdint.h>
22
42
struct
libwifi_beacon_fixed_parameters
{
43
uint64_t
timestamp
;
44
uint16_t
beacon_interval
;
45
uint16_t
capabilities_information
;
46
}
__attribute__
((packed));
47
48
struct
libwifi_beacon
{
49
struct
libwifi_mgmt_unordered_frame_header
frame_header
;
50
struct
libwifi_beacon_fixed_parameters
fixed_parameters
;
51
struct
libwifi_tagged_parameters
tags
;
52
}
__attribute__
((packed));
53
54
#endif
/* LIBWIFI_CORE_BEACON_H */
__attribute__
struct libwifi_beacon_fixed_parameters __attribute__((packed))
libwifi_beacon_fixed_parameters
Definition:
beacon.h:42
libwifi_beacon_fixed_parameters::beacon_interval
uint16_t beacon_interval
Definition:
beacon.h:44
libwifi_beacon_fixed_parameters::timestamp
uint64_t timestamp
Definition:
beacon.h:43
libwifi_beacon_fixed_parameters::capabilities_information
uint16_t capabilities_information
Definition:
beacon.h:45
libwifi_beacon
Definition:
beacon.h:48
libwifi_beacon::tags
struct libwifi_tagged_parameters tags
Definition:
beacon.h:51
libwifi_beacon::frame_header
struct libwifi_mgmt_unordered_frame_header frame_header
Definition:
beacon.h:49
libwifi_beacon::fixed_parameters
struct libwifi_beacon_fixed_parameters fixed_parameters
Definition:
beacon.h:50
libwifi_mgmt_unordered_frame_header
Definition:
frame.h:207
libwifi_tagged_parameters
Definition:
tag.h:233
libwifi
core
frame
management
beacon.h
Generated by
1.9.3