xref: /freebsd/contrib/wpa/src/common/qca-vendor-attr.h (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1 /*
2  * Qualcomm Atheros vendor specific attribute definitions
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_ATTR_H
10 #define QCA_VENDOR_ATTR_H
11 
12 /*
13  * This file defines some of the attributes used with Qualcomm Atheros OUI
14  * 00:13:74 in a way that is not suitable for qca-vendor.h, e.g., due to
15  * compiler dependencies.
16  */
17 
18 struct qca_avoid_freq_range {
19 	u32 start_freq;
20 	u32 end_freq;
21 } __attribute__ ((packed));
22 
23 struct qca_avoid_freq_list {
24 	u32 count;
25 	struct qca_avoid_freq_range range[0];
26 } __attribute__ ((packed));
27 
28 #endif /* QCA_VENDOR_ATTR_H */
29