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

@@ -245,7 +245,7 @@ struct roam_scan_filter_params {
* @desired_tx_pwr: desired tx power
* @mac_addr: MC dest addr
* @plm_num_ch: channel numbers
* @plm_ch_list: channel list
* @plm_ch_freq_list: channel frequency list
* @vdev_id: vdev id
* @enable: enable/disable
*/
@@ -261,8 +261,8 @@ struct plm_req_params {
struct qdf_mac_addr mac_addr;
/* no of channels */
uint8_t plm_num_ch;
/* channel numbers */
uint8_t plm_ch_list[WMI_CFG_VALID_CHANNEL_LIST_LEN];
/* channel frequency list */
uint32_t plm_ch_freq_list[WMI_CFG_VALID_CHANNEL_LIST_LEN];
uint8_t vdev_id;
bool enable;
};