linux/include/net/ieee80211_radiotap.h

/*
 * Copyright (c) 2017		Intel Deutschland GmbH
 * Copyright (c) 2018-2019, 2021-2022 Intel Corporation
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */
#ifndef __RADIOTAP_H
#define __RADIOTAP_H

#include <linux/kernel.h>
#include <asm/unaligned.h>

/**
 * struct ieee80211_radiotap_header - base radiotap header
 */
struct ieee80211_radiotap_header {} __packed;

/* version is always 0 */
#define PKTHDR_RADIOTAP_VERSION

/* see the radiotap website for the descriptions */
enum ieee80211_radiotap_presence {};

/* for IEEE80211_RADIOTAP_FLAGS */
enum ieee80211_radiotap_flags {};

/* for IEEE80211_RADIOTAP_CHANNEL */
enum ieee80211_radiotap_channel_flags {};

/* for IEEE80211_RADIOTAP_RX_FLAGS */
enum ieee80211_radiotap_rx_flags {};

/* for IEEE80211_RADIOTAP_TX_FLAGS */
enum ieee80211_radiotap_tx_flags {};

/* for IEEE80211_RADIOTAP_MCS "have" flags */
enum ieee80211_radiotap_mcs_have {};

enum ieee80211_radiotap_mcs_flags {};

/* for IEEE80211_RADIOTAP_AMPDU_STATUS */
enum ieee80211_radiotap_ampdu_flags {};

/* for IEEE80211_RADIOTAP_VHT */
enum ieee80211_radiotap_vht_known {};

enum ieee80211_radiotap_vht_flags {};

enum ieee80211_radiotap_vht_coding {};

/* for IEEE80211_RADIOTAP_TIMESTAMP */
enum ieee80211_radiotap_timestamp_unit_spos {};

enum ieee80211_radiotap_timestamp_flags {};

struct ieee80211_radiotap_he {};

enum ieee80211_radiotap_he_bits {};

struct ieee80211_radiotap_he_mu {};

enum ieee80211_radiotap_he_mu_bits {};

enum ieee80211_radiotap_lsig_data1 {};

enum ieee80211_radiotap_lsig_data2 {};

struct ieee80211_radiotap_lsig {};

enum ieee80211_radiotap_zero_len_psdu_type {};

struct ieee80211_radiotap_tlv {} __packed;

/**
 * struct ieee80211_radiotap_vendor_content - radiotap vendor data content
 * @oui: radiotap vendor namespace OUI
 * @oui_subtype: radiotap vendor sub namespace
 * @vendor_type: radiotap vendor type
 * @reserved: should always be set to zero (to avoid leaking memory)
 * @data: the actual vendor namespace data
 */
struct ieee80211_radiotap_vendor_content {} __packed;

/**
 * struct ieee80211_radiotap_vendor_tlv - vendor radiotap data information
 * @type: should always be set to IEEE80211_RADIOTAP_VENDOR_NAMESPACE
 * @len: length of data
 * @content: vendor content see @ieee80211_radiotap_vendor_content
 */
struct ieee80211_radiotap_vendor_tlv {};

/* ieee80211_radiotap_eht_usig - content of U-SIG tlv (type 33)
 * see www.radiotap.org/fields/U-SIG.html for details
 */
struct ieee80211_radiotap_eht_usig {} __packed;

/* ieee80211_radiotap_eht - content of EHT tlv (type 34)
 * see www.radiotap.org/fields/EHT.html for details
 */
struct ieee80211_radiotap_eht {} __packed;

/* Known field for EHT TLV
 * The ending defines for what the field applies as following
 * O - OFDMA (including TB), M - MU-MIMO, S - EHT sounding.
 */
enum ieee80211_radiotap_eht_known {};

enum ieee80211_radiotap_eht_data {};

enum ieee80211_radiotap_eht_user_info {};

enum ieee80211_radiotap_eht_usig_common {};

enum ieee80211_radiotap_eht_usig_mu {};

enum ieee80211_radiotap_eht_usig_tb {};

/**
 * ieee80211_get_radiotap_len - get radiotap header length
 * @data: pointer to the header
 * Return: the radiotap header length
 */
static inline u16 ieee80211_get_radiotap_len(const char *data)
{}

#endif /* __RADIOTAP_H */