Disconnect hostapd from building in base
[dragonfly.git] / contrib / hostapd / src / common / qca-vendor.h
CommitLineData
4781064b
JM
1/*
2 * Qualcomm Atheros OUI and vendor specific assignments
3 * Copyright (c) 2014, Qualcomm Atheros, Inc.
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8
9#ifndef QCA_VENDOR_H
10#define QCA_VENDOR_H
11
12/*
13 * This file is a registry of identifier assignments from the Qualcomm Atheros
14 * OUI 00:13:74 for purposes other than MAC address assignment. New identifiers
15 * can be assigned through normal review process for changes to the upstream
16 * hostap.git repository.
17 */
18
19#define OUI_QCA 0x001374
20
21/**
22 * enum qca_nl80211_vendor_subcmds - QCA nl80211 vendor command identifiers
23 *
24 * @QCA_NL80211_VENDOR_SUBCMD_UNSPEC: Reserved value 0
25 *
26 * @QCA_NL80211_VENDOR_SUBCMD_TEST: Test command/event
27 *
28 * @QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY: Recommendation of frequency
29 * ranges to avoid to reduce issues due to interference or internal
30 * co-existence information in the driver. The event data structure is
31 * defined in struct qca_avoid_freq_list.
32 */
33enum qca_nl80211_vendor_subcmds {
34 QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
35 QCA_NL80211_VENDOR_SUBCMD_TEST = 1,
36 /* subcmds 2..9 not yet allocated */
37 QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY = 10,
38};
39
40
41struct qca_avoid_freq_range {
42 u32 start_freq;
43 u32 end_freq;
44} STRUCT_PACKED;
45
46struct qca_avoid_freq_list {
47 u32 count;
48 struct qca_avoid_freq_range range[0];
49} STRUCT_PACKED;
50
51#endif /* QCA_VENDOR_H */