qcacld-3.0: Move rso related process to connection manager [PART 7]

Add new code to implement below functions for connection manager
roam part:
Filling below WMI cmd parameters related process:
WMI_ROAM_CONFIGURE_MAWC_CMDID
WMI_ROAM_BSS_LOAD_CONFIG_CMDID

Rename file wlan_cm_roam_public_srtuct.h name to
wlan_cm_roam_public_struct.h

Change-Id: I64d54bb78b71dadc49d119b9083658347cc4f807
CRs-Fixed: 2758130
This commit is contained in:
hqu
2020-08-17 21:43:43 +08:00
committed by snandini
parent 2ec27b6169
commit f996a7c696
23 changed files with 535 additions and 78 deletions

View File

@@ -153,24 +153,6 @@ struct roam_scan_period_params {
};
#endif
/**
* struct wmi_mawc_roam_params - Motion Aided wireless connectivity params
* @vdev_id: VDEV on which the parameters should be applied
* @enable: MAWC roaming feature enable/disable
* @traffic_load_threshold: Traffic threshold in kBps for MAWC roaming
* @best_ap_rssi_threshold: AP RSSI Threshold for MAWC roaming
* @rssi_stationary_high_adjust: High RSSI adjustment value to suppress scan
* @rssi_stationary_low_adjust: Low RSSI adjustment value to suppress scan
*/
struct wmi_mawc_roam_params {
uint8_t vdev_id;
bool enable;
uint32_t traffic_load_threshold;
uint32_t best_ap_rssi_threshold;
uint8_t rssi_stationary_high_adjust;
uint8_t rssi_stationary_low_adjust;
};
#define WMI_CFG_VALID_CHANNEL_LIST_LEN 100
/* Occupied channel list remains static */
#define WMI_CHANNEL_LIST_STATIC 1
@@ -263,27 +245,6 @@ struct hlp_params {
uint8_t hlp_ie[WMI_MAX_HLP_IE_LEN];
};
/**
* struct wmi_bss_load_config - BSS load trigger parameters
* @vdev_id: VDEV on which the parameters should be applied
* @bss_load_threshold: BSS load threshold after which roam scan should trigger
* @bss_load_sample_time: Time duration in milliseconds for which the bss load
* trigger needs to be enabled
* @rssi_threshold_5ghz: RSSI threshold of the current connected AP below which
* roam should be triggered if bss load threshold exceeds the configured value.
* This value is applicable only when we are connected in 5GHz band.
* @rssi_threshold_24ghz: RSSI threshold of the current connected AP below which
* roam should be triggered if bss load threshold exceeds the configured value.
* This value is applicable only when we are connected in 2.4GHz band.
*/
struct wmi_bss_load_config {
uint32_t vdev_id;
uint32_t bss_load_threshold;
uint32_t bss_load_sample_time;
int32_t rssi_threshold_5ghz;
int32_t rssi_threshold_24ghz;
};
/**
* struct wmi_roam_auth_status_params - WPA3 roam auth response status
* parameters