2 * Linux cfg80211 Vendor Extension Code
4 * $Copyright Open Broadcom Corporation$
6 * $Id: wl_cfgvendor.h 455257 2014-02-20 08:10:24Z $
10 #ifndef _wl_cfgvendor_h_
11 #define _wl_cfgvendor_h_
13 #if (LINUX_VERSION_CODE > KERNEL_VERSION(3, 14, 0)) && !defined(VENDOR_EXT_SUPPORT)
14 #define VENDOR_EXT_SUPPORT
15 #endif /* LINUX_VERSION_CODE > KERNEL_VERSION(3, 14, 0) && !VENDOR_EXT_SUPPORT */
17 enum wl_vendor_event {
18 BRCM_VENDOR_EVENT_UNSPEC,
19 BRCM_VENDOR_EVENT_PRIV_STR
22 /* Capture the BRCM_VENDOR_SUBCMD_PRIV_STRINGS* here */
23 #define BRCM_VENDOR_SCMD_CAPA "cap"
25 #ifdef VENDOR_EXT_SUPPORT
26 extern int cfgvendor_attach(struct wiphy *wiphy);
27 extern int cfgvendor_detach(struct wiphy *wiphy);
29 static INLINE int cfgvendor_attach(struct wiphy *wiphy) { return 0; }
30 static INLINE int cfgvendor_detach(struct wiphy *wiphy) { return 0; }
31 #endif /* VENDOR_EXT_SUPPORT */
33 #endif /* _wl_cfgvendor_h_ */