qcacmn: Address Unified WMI "get link status" deficiencies
The original implementation of the "get link status" feature contains some design and implementation details that are not ideal, so fix the following deficiencies: - The link_status_params struct contains three fields that are unused. - The only link_status_params field that is used, session_id, uses legacy terminology instead of converged terminology - The wmi_unified_link_status_req_cmd() implementation uses a void pointer instead of the correct underlying type for the WMI handle. Note that change I508ec083298caa45d4cbb1ba28b21e47e379a804 ("qcacld-3.0: Align with revised "get link status" Unified WMI") is interdependent with this change. Change-Id: I057ca0aff4a627c7fcdb9f90a5da46473813f60a CRs-Fixed: 2381364
This commit is contained in:
@@ -713,8 +713,15 @@ QDF_STATUS wmi_unified_snr_request_cmd(void *wmi_hdl);
|
||||
|
||||
QDF_STATUS wmi_unified_snr_cmd(void *wmi_hdl, uint8_t vdev_id);
|
||||
|
||||
QDF_STATUS wmi_unified_link_status_req_cmd(void *wmi_hdl,
|
||||
struct link_status_params *link_status);
|
||||
/**
|
||||
* wmi_unified_link_status_req_cmd() - process link status request from UMAC
|
||||
* @wmi_handle: wmi handle
|
||||
* @params: get link status params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_link_status_req_cmd(wmi_unified_t wmi_handle,
|
||||
struct link_status_params *params);
|
||||
|
||||
#ifdef WLAN_SUPPORT_GREEN_AP
|
||||
QDF_STATUS wmi_unified_egap_conf_params_cmd(void *wmi_hdl,
|
||||
|
Reference in New Issue
Block a user