Wireshark
4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
packet-ieee80211-radio.h
1
/* packet-ieee80211-radio.h
2
* Routines for pseudo 802.11 header dissection and radio packet timing calculation
3
*
4
* Wireshark - Network traffic analyzer
5
* By Gerald Combs <
[email protected]
>
6
* Copyright 1998 Gerald Combs
7
*
8
* Copyright 2012 Parc Inc and Samsung Electronics
9
* Copyright 2015, 2016 & 2017 Cisco Inc
10
*
11
* SPDX-License-Identifier: GPL-2.0-or-later
12
*/
13
14
#ifndef __WLAN_RADIO_H__
15
#define __WLAN_RADIO_H__
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
/* __cplusplus */
20
21
struct
aggregate
{
22
unsigned
phy;
23
union
ieee_802_11_phy_info
phy_info;
24
int8_t rssi;
/* sometimes only available on the last frame */
25
unsigned
duration;
/* total duration of data in microseconds (without preamble) */
26
};
27
28
struct
wlan_radio
{
29
struct
aggregate
*
aggregate
;
/* if this frame is part of an aggregate, point to it, otherwise NULL */
30
unsigned
prior_aggregate_data;
/* length of all prior data in this aggregate
31
used for calculating duration of this subframe */
32
uint64_t start_tsf;
33
uint64_t end_tsf;
34
35
int64_t ifs;
/* inter frame space in microseconds */
36
37
uint16_t nav;
/* Duration from the frame header */
38
int8_t rssi;
39
};
40
41
#ifdef __cplusplus
42
}
43
#endif
/* __cplusplus */
44
45
#endif
/* __WLAN_RADIO_H__ */
aggregate
Definition
packet-ieee80211-radio.h:21
wlan_radio
Definition
packet-ieee80211-radio.h:28
ieee_802_11_phy_info
Definition
wtap.h:803
Generated by
1.9.8