From 35fe7b0e078274f785d228b0d666b4ddd3e31608 Mon Sep 17 00:00:00 2001 From: Rakshith Suresh Patkar Date: Wed, 12 Sep 2018 16:51:30 +0530 Subject: [PATCH] qcacmn: Enable wbuff support for WMI Register WMI with wbuff for pre-allocation of skbs. Register at wmi_unified_attach() and de-register at wmi wmi_unified_detach(). Change-Id: I9d6df1a8480324dd2a258de12672669a8fbe8940 CRs-Fixed: 2313935 --- wmi_unified_priv.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index eb286f2aad..73c8421b26 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -30,6 +30,7 @@ #include #endif #include "qdf_atomic.h" +#include #ifdef CONVERGED_P2P_ENABLE #include @@ -1795,6 +1796,7 @@ struct wmi_host_abi_version { struct wmi_unified { void *scn_handle; /* handle to device */ osdev_t osdev; /* handle to use OS-independent services */ + struct wbuff_mod_handle *wbuff_handle; /* handle to wbuff */ qdf_atomic_t pending_cmds; HTC_ENDPOINT_ID wmi_endpoint_id; uint16_t max_msg_len;