1 /* 2 * This file is part of wlcore 3 * 4 * Copyright (C) 2014 Texas Instruments. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * version 2 as published by the Free Software Foundation. 9 */ 10 11 #ifndef __WLCORE_VENDOR_H__ 12 #define __WLCORE_VENDOR_H__ 13 14 #ifdef __KERNEL__ 15 void wlcore_set_vendor_commands(struct wiphy *wiphy); 16 #endif 17 18 #define TI_OUI 0x080028 19 20 enum wlcore_vendor_commands { 21 WLCORE_VENDOR_CMD_SMART_CONFIG_START, 22 WLCORE_VENDOR_CMD_SMART_CONFIG_STOP, 23 WLCORE_VENDOR_CMD_SMART_CONFIG_SET_GROUP_KEY, 24 25 NUM_WLCORE_VENDOR_CMD, 26 MAX_WLCORE_VENDOR_CMD = NUM_WLCORE_VENDOR_CMD - 1 27 }; 28 29 enum wlcore_vendor_attributes { 30 WLCORE_VENDOR_ATTR_FREQ, 31 WLCORE_VENDOR_ATTR_PSK, 32 WLCORE_VENDOR_ATTR_SSID, 33 WLCORE_VENDOR_ATTR_GROUP_ID, 34 WLCORE_VENDOR_ATTR_GROUP_KEY, 35 36 NUM_WLCORE_VENDOR_ATTR, 37 MAX_WLCORE_VENDOR_ATTR = NUM_WLCORE_VENDOR_ATTR - 1 38 }; 39 40 enum wlcore_vendor_events { 41 WLCORE_VENDOR_EVENT_SC_SYNC, 42 WLCORE_VENDOR_EVENT_SC_DECODE, 43 }; 44 45 #endif /* __WLCORE_VENDOR_H__ */ 46