qcacld-3.0: Refactor LFR3 code to use cm api

Refactor csr_roam_pmkid_req_callback to use
mlme_cm_osif_pmksa_candidate_notify and move other
unused API under CM flag.

Change-Id: I835d54804f733eddff48de38e4c545a87f34bb30
CRs-Fixed: 2965602
This commit is contained in:
Utkarsh Bhatnagar
2021-06-09 17:21:32 +05:30
committed by Madan Koyyalamudi
parent 77f42260f1
commit d6a03bf7e0
23 changed files with 104 additions and 169 deletions

View File

@@ -403,7 +403,9 @@ struct mlme_legacy_priv {
struct wlan_mlme_nss_chains dynamic_cfg;
struct wlan_mlme_nss_chains ini_cfg;
uint8_t sta_dynamic_oce_value;
#ifndef FEATURE_CM_ENABLE
struct mlme_roam_after_data_stall roam_invoke_params;
#endif
struct wlan_disconnect_info disconnect_info;
uint32_t vdev_stop_type;
struct wlan_mlme_roam mlme_roam;
@@ -528,6 +530,7 @@ uint32_t mlme_get_vdev_he_ops(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id);
struct wlan_mlme_nss_chains *mlme_get_ini_vdev_config(
struct wlan_objmgr_vdev *vdev);
#ifndef FEATURE_CM_ENABLE
/**
* mlme_get_roam_invoke_params() - get the roam invoke params
* @vdev: vdev pointer
@@ -547,6 +550,7 @@ mlme_get_roam_invoke_params(struct wlan_objmgr_vdev *vdev);
*/
bool mlme_is_roam_invoke_in_progress(struct wlan_objmgr_psoc *psoc,
uint8_t vdev_id);
#endif
/**
* mlme_cfg_on_psoc_enable() - Populate MLME structure from CFG and INI
* @psoc: pointer to the psoc object

View File

@@ -91,6 +91,7 @@ struct wlan_mlme_nss_chains *mlme_get_ini_vdev_config(
return &mlme_priv->ini_cfg;
}
#ifndef FEATURE_CM_ENABLE
struct mlme_roam_after_data_stall *
mlme_get_roam_invoke_params(struct wlan_objmgr_vdev *vdev)
{
@@ -126,6 +127,7 @@ bool mlme_is_roam_invoke_in_progress(struct wlan_objmgr_psoc *psoc,
return vdev_roam_params->roam_invoke_in_progress;
}
#endif
uint8_t *mlme_get_dynamic_oce_flags(struct wlan_objmgr_vdev *vdev)
{

View File

@@ -264,6 +264,7 @@ struct wlan_mlme_dot11_mode {
uint32_t vdev_type_dot11_mode;
};
#ifndef FEATURE_CM_ENABLE
/**
* enum roam_invoke_source_entity - Source of invoking roam invoke command.
* @USERSPACE_INITIATED: Userspace (supplicant)
@@ -283,6 +284,7 @@ struct mlme_roam_after_data_stall {
bool roam_invoke_in_progress;
enum roam_invoke_source_entity source;
};
#endif
/**
* struct mlme_edca_ac_vi - cwmin, cwmax and aifs value for edca_ac_vi