qcacmn: Add support to send WMI_VDEV_SET_PCL_CMDID command

For STA + STA roaming, instead of WMI_PDEV_SET_PCL_CMDID, the
WMI_VDEV_SET_PCL_CMDID needs to be sent.
Declare the corresponding send_vdev_set_pcl_cmd wmi tlv ops for
sending the WMI_VDEV_SET_PCL_CMDID command.
Also add changes to read the peer create confirmation and dual
sta roam feature support firmware capability.

Change-Id: I21456cb2e4c0b2bb66bf341539d2070677c49d16
CRs-Fixed: 2702849
This commit is contained in:
Pragaspathi Thilagaraj 2020-06-21 23:41:12 +05:30 • committed by nshrivas
commit acc60e6ede
3 changed files with 12 additions and 0 deletions

View file

@ -5204,6 +5204,8 @@ typedef enum {
wmi_service_srg_srp_spatial_reuse_support,
wmi_service_suiteb_roam_support,
wmi_service_no_interband_mcc_support,
wmi_service_dual_sta_roam_support,
wmi_service_peer_create_conf,
wmi_services_max,
} wmi_conv_service_ids;
#define WMI_SERVICE_UNAVAILABLE 0xFFFF

View file

@ -944,6 +944,11 @@ QDF_STATUS (*send_set_base_macaddr_indicate_cmd)(wmi_unified_t wmi_handle,
QDF_STATUS (*send_pdev_set_pcl_cmd)(wmi_unified_t wmi_handle,
struct wmi_pcl_chan_weights *msg);
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
QDF_STATUS (*send_vdev_set_pcl_cmd)(wmi_unified_t wmi_handle,
struct set_pcl_cmd_params *params);
#endif
#ifdef WLAN_POLICY_MGR_ENABLE
QDF_STATUS (*send_pdev_set_dual_mac_config_cmd)(wmi_unified_t wmi_handle,
struct policy_mgr_dual_mac_config *msg);

View file

@ -15202,6 +15202,11 @@ static void populate_tlv_service(uint32_t *wmi_service)
WMI_SERVICE_WPA3_SUITEB_ROAM_SUPPORT;
wmi_service[wmi_service_no_interband_mcc_support] =
WMI_SERVICE_NO_INTERBAND_MCC_SUPPORT;
wmi_service[wmi_service_dual_sta_roam_support] =
WMI_SERVICE_DUAL_STA_ROAM_SUPPORT;
wmi_service[wmi_service_peer_create_conf] =
WMI_SERVICE_PEER_CREATE_CONF;
}
/**