1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /******************************************************************************
4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
6 * Portions of this file are derived from the ieee80211 subsystem header files.
9 * Intel Linux Wireless <ilw@linux.intel.com>
10 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
12 *****************************************************************************/
14 #ifndef __il_spectrum_h__
15 #define __il_spectrum_h__
16 enum { /* ieee80211_basic_report.map */
17 IEEE80211_BASIC_MAP_BSS
= (1 << 0),
18 IEEE80211_BASIC_MAP_OFDM
= (1 << 1),
19 IEEE80211_BASIC_MAP_UNIDENTIFIED
= (1 << 2),
20 IEEE80211_BASIC_MAP_RADAR
= (1 << 3),
21 IEEE80211_BASIC_MAP_UNMEASURED
= (1 << 4),
22 /* Bits 5-7 are reserved */
25 struct ieee80211_basic_report
{
32 enum { /* ieee80211_measurement_request.mode */
33 /* Bit 0 is reserved */
34 IEEE80211_MEASUREMENT_ENABLE
= (1 << 1),
35 IEEE80211_MEASUREMENT_REQUEST
= (1 << 2),
36 IEEE80211_MEASUREMENT_REPORT
= (1 << 3),
37 /* Bits 4-7 are reserved */
41 IEEE80211_REPORT_BASIC
= 0, /* required */
42 IEEE80211_REPORT_CCA
= 1, /* optional */
43 IEEE80211_REPORT_RPI
= 2, /* optional */
47 struct ieee80211_measurement_params
{
53 struct ieee80211_info_element
{
59 struct ieee80211_measurement_request
{
60 struct ieee80211_info_element ie
;
64 struct ieee80211_measurement_params params
[0];
67 struct ieee80211_measurement_report
{
68 struct ieee80211_info_element ie
;
73 struct ieee80211_basic_report basic
[0];