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
此提交包含在:
Rakshith Suresh Patkar
2018-09-12 16:51:30 +05:30
提交者 nshrivas
父節點 b2483ec0f1
當前提交 35fe7b0e07

查看文件

@@ -30,6 +30,7 @@
#include <wmi_unified.h>
#endif
#include "qdf_atomic.h"
#include <wbuff.h>
#ifdef CONVERGED_P2P_ENABLE
#include <wlan_p2p_public_struct.h>
@@ -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;