qcacmn: Add new WMI API for OCL command

Currently there is no provision to configure OCL mode in FW during
driver bootup.

To enable this configuration add a new WMI API wmi_unified_send_ocl_cmd.

Change-Id: Idb936172612ff2ed8ea029d8a363b758625eb97d
CRs-Fixed: 2647631
This commit is contained in:
Bapiraju Alla
2020-03-23 18:22:39 +05:30
committed by nshrivas
parent 1f76b82659
commit d5d364a58d
5 changed files with 81 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -452,4 +452,17 @@ QDF_STATUS wmi_unified_peer_unmap_conf_send(wmi_unified_t wmi_handle,
uint32_t peer_id_cnt,
uint16_t *peer_id_list);
/**
* wmi_unified_send_ocl_cmd() - send OCL command
* @wmi_handle: wmi handle
* @param: OCL commang parameters
*
* Send WMI_SET_OCL_CMDID parameters to fw.
*
* Return: QDF_STATUS_SUCCESS on success, QDF_STATUS_E_** on error
*/
QDF_STATUS
wmi_unified_send_ocl_cmd(wmi_unified_t wmi_handle,
struct ocl_cmd_params *param);
#endif /* _WMI_UNIFIED_STA_API_H_ */