1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * This file is part of wlcore
4  *
5  * Copyright (C) 2014 Texas Instruments. All rights reserved.
6  */
7 
8 #ifndef __WLCORE_VENDOR_H__
9 #define __WLCORE_VENDOR_H__
10 
11 #ifdef __KERNEL__
12 void wlcore_set_vendor_commands(struct wiphy *wiphy);
13 #endif
14 
15 #define TI_OUI	0x080028
16 
17 enum wlcore_vendor_commands {
18 	WLCORE_VENDOR_CMD_SMART_CONFIG_START,
19 	WLCORE_VENDOR_CMD_SMART_CONFIG_STOP,
20 	WLCORE_VENDOR_CMD_SMART_CONFIG_SET_GROUP_KEY,
21 
22 	NUM_WLCORE_VENDOR_CMD,
23 	MAX_WLCORE_VENDOR_CMD = NUM_WLCORE_VENDOR_CMD - 1
24 };
25 
26 enum wlcore_vendor_attributes {
27 	WLCORE_VENDOR_ATTR_FREQ,
28 	WLCORE_VENDOR_ATTR_PSK,
29 	WLCORE_VENDOR_ATTR_SSID,
30 	WLCORE_VENDOR_ATTR_GROUP_ID,
31 	WLCORE_VENDOR_ATTR_GROUP_KEY,
32 
33 	NUM_WLCORE_VENDOR_ATTR,
34 	MAX_WLCORE_VENDOR_ATTR = NUM_WLCORE_VENDOR_ATTR - 1
35 };
36 
37 enum wlcore_vendor_events {
38 	WLCORE_VENDOR_EVENT_SC_SYNC,
39 	WLCORE_VENDOR_EVENT_SC_DECODE,
40 };
41 
42 #endif /* __WLCORE_VENDOR_H__ */
43