qcacmn: Add non-tlv implementation in common wmi layer

WIN platform uses non-tlv implementation for host to
target wmi commands. Add support for non-tlv
implementation in common wmi layer.

Change-Id: I1f832695b0d41b521be6b18df0cad31aae11b6c9
Acked-by: Kiran Venkatappa <kiranv@qti.qualcomm.com>
CRs-Fixed: 1005778
This commit is contained in:
Govind Singh
2016-04-15 13:58:27 +05:30
committed by Gerrit - the friendly Code Review server
parent 8650851387
commit e7d9f3e887
4 changed files with 10649 additions and 318 deletions

View File

@@ -10510,12 +10510,11 @@ struct wmi_ops tlv_ops = {
};
/**
* wmi_get_tlv_ops() - gives pointer to wmi tlv ops
* wmi_tlv_attach() - Attach TLV APIs
*
* Return: pointer to wmi tlv ops
* Return: None
*/
struct wmi_ops *wmi_get_tlv_ops(void)
void wmi_tlv_attach(wmi_unified_t wmi_handle)
{
return &tlv_ops;
wmi_handle->ops = &tlv_ops;
}