xref: /freebsd/contrib/wpa/src/common/qca-vendor-attr.h (revision 416ba5c74546f32a993436a99516d35008e9f384)
1*5b9c547cSRui Paulo /*
2*5b9c547cSRui Paulo  * Qualcomm Atheros vendor specific attribute definitions
3*5b9c547cSRui Paulo  * Copyright (c) 2014, Qualcomm Atheros, Inc.
4*5b9c547cSRui Paulo  *
5*5b9c547cSRui Paulo  * This software may be distributed under the terms of the BSD license.
6*5b9c547cSRui Paulo  * See README for more details.
7*5b9c547cSRui Paulo  */
8*5b9c547cSRui Paulo 
9*5b9c547cSRui Paulo #ifndef QCA_VENDOR_ATTR_H
10*5b9c547cSRui Paulo #define QCA_VENDOR_ATTR_H
11*5b9c547cSRui Paulo 
12*5b9c547cSRui Paulo /*
13*5b9c547cSRui Paulo  * This file defines some of the attributes used with Qualcomm Atheros OUI
14*5b9c547cSRui Paulo  * 00:13:74 in a way that is not suitable for qca-vendor.h, e.g., due to
15*5b9c547cSRui Paulo  * compiler dependencies.
16*5b9c547cSRui Paulo  */
17*5b9c547cSRui Paulo 
18*5b9c547cSRui Paulo struct qca_avoid_freq_range {
19*5b9c547cSRui Paulo 	u32 start_freq;
20*5b9c547cSRui Paulo 	u32 end_freq;
21*5b9c547cSRui Paulo } __attribute__ ((packed));
22*5b9c547cSRui Paulo 
23*5b9c547cSRui Paulo struct qca_avoid_freq_list {
24*5b9c547cSRui Paulo 	u32 count;
25*5b9c547cSRui Paulo 	struct qca_avoid_freq_range range[0];
26*5b9c547cSRui Paulo } __attribute__ ((packed));
27*5b9c547cSRui Paulo 
28*5b9c547cSRui Paulo #endif /* QCA_VENDOR_ATTR_H */
29