qcacmn: Clear legacy channel ID usage

1) Remove the definition of plm_ch_list from
   struct plm_req_params and add plm_ch_freq_list
   into the same struct given frequencies will be
   used directly before passing WMI command to
   firmware.

2) Remove redundant channel frequency list from the
   following API functions' parameters:

   send_plm_start_cmd
   wmi_unified_plm_start_cmd
   send_plm_start_cmd_tlv

Change-Id: I982412076b422356037d9bbfa2077affd1056189
CRs-Fixed: 2560085
This commit is contained in:
wadesong
2019-11-04 15:18:35 +08:00
committed by nshrivas
parent 6f59c89126
commit c3ac05e67f
5 changed files with 9 additions and 19 deletions

View File

@@ -93,13 +93,10 @@ QDF_STATUS wmi_unified_plm_stop_cmd(wmi_unified_t wmi_handle,
}
QDF_STATUS wmi_unified_plm_start_cmd(wmi_unified_t wmi_handle,
const struct plm_req_params *plm,
uint32_t *gchannel_list)
const struct plm_req_params *plm)
{
if (wmi_handle->ops->send_plm_start_cmd)
return wmi_handle->ops->send_plm_start_cmd(wmi_handle,
plm,
gchannel_list);
return wmi_handle->ops->send_plm_start_cmd(wmi_handle, plm);
return QDF_STATUS_E_FAILURE;
}