|
@@ -800,6 +800,43 @@ QDF_STATUS sme_oem_data_cmd(mac_handle_t mac_handle,
|
|
|
uint8_t vdev_id),
|
|
|
struct oem_data *oem_data,
|
|
|
uint8_t vdev_id);
|
|
|
+
|
|
|
+/**
|
|
|
+ * sme_oem_event_deinit() - function to deregister cb for oem event
|
|
|
+ * @mac_handle: Opaque handle to the global MAC context
|
|
|
+ *
|
|
|
+ * Return: None
|
|
|
+ */
|
|
|
+void sme_oem_event_deinit(mac_handle_t mac_handle);
|
|
|
+
|
|
|
+/**
|
|
|
+ * sme_async_oem_event_init() - function to register cb for async oem event
|
|
|
+ * @mac_handle: Opaque handle to the global MAC context
|
|
|
+ * @@oem_data_async_event_handler_cb: callback to be registered
|
|
|
+ *
|
|
|
+ * Return: None
|
|
|
+ */
|
|
|
+void sme_async_oem_event_init(mac_handle_t mac_handle,
|
|
|
+ void (*oem_data_async_event_handler_cb)
|
|
|
+ (const struct oem_data *oem_event_data));
|
|
|
+/**
|
|
|
+ * sme_async_oem_event_deinit() - function to deregister cb for async oem event
|
|
|
+ * @mac_handle: Opaque handle to the global MAC context
|
|
|
+ *
|
|
|
+ * Return: None
|
|
|
+ */
|
|
|
+void sme_async_oem_event_deinit(mac_handle_t mac_handle);
|
|
|
+#else
|
|
|
+static inline void sme_async_oem_event_init(
|
|
|
+ mac_handle_t mac_handle,
|
|
|
+ void (*oem_data_async_event_handler_cb)
|
|
|
+ (void *oem_event_data))
|
|
|
+{
|
|
|
+}
|
|
|
+
|
|
|
+static inline void sme_async_oem_event_deinit(mac_handle_t mac_handle)
|
|
|
+{
|
|
|
+}
|
|
|
#endif
|
|
|
|
|
|
#ifdef FEATURE_OEM_DATA_SUPPORT
|
|
@@ -4572,4 +4609,5 @@ QDF_STATUS sme_send_channel_change_req(mac_handle_t mac_handle,
|
|
|
QDF_STATUS sme_update_beacon_country_ie(mac_handle_t mac_handle,
|
|
|
uint8_t vdev_id,
|
|
|
bool country_ie_for_all_band);
|
|
|
+
|
|
|
#endif /* #if !defined( __SME_API_H ) */
|