qcacld-3.0: Enable the Partial scan for roam triggers
Currently the roam scan scheme for each trigger is hardcoded to either full scan or partial scan followed by full scan. Based on the new requirement for home scenario,the user space configures roam scan scheme for various triggers. Add support to send scan scheme type for indvidual roam triggers enabled from userspace. The default value of roam scan scheme can be modifed for below roam triggers: WMI_ROAM_TRIGGER_REASON_PER,WMI_ROAM_TRIGGER_REASON_BMISS, WMI_ROAM_TRIGGER_REASON_LOW_RSSI,WMI_ROAM_TRIGGER_REASON_BSS_LOAD, WMI_ROAM_TRIGGER_REASON_BTM Change-Id: If8b185897b813afc44af362d31172705ea4d7b5c CRs-Fixed: 2785233
This commit is contained in:
@@ -116,6 +116,8 @@ cm_roam_triggers(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
|
||||
params->vdev_id = vdev_id;
|
||||
params->trigger_bitmap =
|
||||
mlme_get_roam_trigger_bitmap(psoc, vdev_id);
|
||||
params->roam_scan_scheme_bitmap =
|
||||
wlan_cm_get_roam_scan_scheme_bitmap(psoc, vdev_id);
|
||||
wlan_cm_roam_get_vendor_btm_params(psoc, vdev_id,
|
||||
¶ms->vendor_btm_param);
|
||||
}
|
||||
|
@@ -95,6 +95,7 @@
|
||||
|
||||
#define WLAN_MAX_PMK_DUMP_BYTES 6
|
||||
#define DEFAULT_ROAM_SCAN_SCHEME_BITMAP 0
|
||||
#define ROAM_MAX_CFG_VALUE 0xffffffff
|
||||
|
||||
/**
|
||||
* enum roam_cfg_param - Type values for roaming parameters used as index
|
||||
@@ -163,12 +164,16 @@ struct wlan_cm_roam_vendor_btm_params {
|
||||
* defined @enum roam_control_trigger_reason
|
||||
* @roam_score_delta: Value of roam score delta
|
||||
* percentage to trigger roam
|
||||
* @roam_scan_scheme_bitmap: Bitmap of roam triggers as defined in
|
||||
* enum roam_trigger_reason, for which the roam scan scheme should
|
||||
* be partial scan
|
||||
* @control_param: roam trigger param
|
||||
*/
|
||||
struct wlan_roam_triggers {
|
||||
uint32_t vdev_id;
|
||||
uint32_t trigger_bitmap;
|
||||
uint32_t roam_score_delta;
|
||||
uint32_t roam_scan_scheme_bitmap;
|
||||
struct wlan_cm_roam_vendor_btm_params vendor_btm_param;
|
||||
};
|
||||
|
||||
|
Fai riferimento in un nuovo problema
Block a user