Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-ieee80211-radio.h
blobd4ceacd618e0912afdb476bf62375b6a464f7f4e
1 /* packet-ieee80211-radio.h
2 * Routines for pseudo 802.11 header dissection and radio packet timing calculation
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * Copyright 2012 Parc Inc and Samsung Electronics
9 * Copyright 2015, 2016 & 2017 Cisco Inc
11 * SPDX-License-Identifier: GPL-2.0-or-later
14 #ifndef __WLAN_RADIO_H__
15 #define __WLAN_RADIO_H__
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
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) */
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;
35 int64_t ifs; /* inter frame space in microseconds */
37 uint16_t nav; /* Duration from the frame header */
38 int8_t rssi;
41 #ifdef __cplusplus
43 #endif /* __cplusplus */
45 #endif /* __WLAN_RADIO_H__ */