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
Tento commit je obsažen v:
@@ -617,8 +617,7 @@ QDF_STATUS (*send_plm_stop_cmd)(wmi_unified_t wmi_handle,
|
||||
const struct plm_req_params *plm);
|
||||
|
||||
QDF_STATUS (*send_plm_start_cmd)(wmi_unified_t wmi_handle,
|
||||
const struct plm_req_params *plm,
|
||||
uint32_t *gchannel_list);
|
||||
const struct plm_req_params *plm);
|
||||
#endif /* FEATURE_WLAN_ESE */
|
||||
|
||||
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
||||
|
@@ -119,15 +119,13 @@ QDF_STATUS wmi_unified_plm_stop_cmd(wmi_unified_t wmi_handle,
|
||||
* wmi_unified_plm_start_cmd() - plm start request
|
||||
* @wmi_handle: wmi handle
|
||||
* @plm: plm request parameters
|
||||
* @gchannel_list: gchannel list
|
||||
*
|
||||
* This function request FW to start PLM.
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
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);
|
||||
#endif /* FEATURE_WLAN_ESE */
|
||||
|
||||
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
||||
|
@@ -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;
|
||||
};
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele