diff --git a/wmi_unified_api.h b/wmi_unified_api.h index a511146b82..7f73e897c4 100644 --- a/wmi_unified_api.h +++ b/wmi_unified_api.h @@ -35,7 +35,6 @@ #include #include "a_types.h" -#include "ol_defines.h" #ifdef CONFIG_MCL #include "wmi.h" #endif diff --git a/wmi_unified_param.h b/wmi_unified_param.h index 9eb467b820..a8c4aac06f 100644 --- a/wmi_unified_param.h +++ b/wmi_unified_param.h @@ -302,6 +302,19 @@ #define MAX_ASSOC_IE_LENGTH 1024 typedef uint32_t TARGET_INIT_STATUS; +/** + * @brief Opaque handle of wmi structure + */ +struct wmi_unified; +typedef struct wmi_unified *wmi_unified_t; + +typedef void *ol_scn_t; +/** + * @wmi_event_handler function prototype + */ +typedef int (*wmi_unified_event_handler)(ol_scn_t scn_handle, + uint8_t *event_buf, uint32_t len); + typedef enum { WMI_HOST_MODE_11A = 0, /* 11a Mode */ WMI_HOST_MODE_11G = 1, /* 11b/g Mode */