qcacld-3.0: Add ini support to skip full scan after bmiss

Currently, after FINAL_BMISS detection, FW does channel map
based partial scan followed by one full scan if no candidate
found in partial scan to ROAM to another available AP without
disconnection. This results in additional delay by HOST in
issuing disconnection after a heartbeat failure.

Add INI support (bmiss_skip_full_scan) to allow FW to decide
whether firmware does channel map based partial scan or partial
scan followed by full scan in case no candidate is found in
partial scan after final BMISS.

Change-Id: I48f9bb43bb7933e9ff173f618586ea5986530dcd
CRs-Fixed: 2578848
This commit is contained in:
Abhinav Kumar
2019-12-03 18:56:55 +05:30
committed by nshrivas
parent 523a327e6d
commit 444a5ebc80
6 changed files with 76 additions and 5 deletions

View File

@@ -2117,7 +2117,7 @@ wlan_mlme_get_mcc_feature(struct wlan_objmgr_psoc *psoc,
QDF_STATUS wlan_mlme_get_rrm_enabled(struct wlan_objmgr_psoc *psoc,
bool *value);
/*
/**
* wlan_mlme_get_dtim_selection_diversity() - get dtim selection diversity
* bitmap
* @psoc: pointer to psoc object
@@ -2193,7 +2193,7 @@ QDF_STATUS wlan_mlme_override_bmps_imps(struct wlan_objmgr_psoc *psoc);
QDF_STATUS wlan_mlme_is_imps_enabled(struct wlan_objmgr_psoc *psoc,
bool *value);
/*
/**
* wlan_mlme_get_wps_uuid() - get the wps uuid string
* @wps_params: pointer to mlme wps parameters structure
* @data: data to which the parameter is to be copied
@@ -2204,7 +2204,7 @@ QDF_STATUS wlan_mlme_is_imps_enabled(struct wlan_objmgr_psoc *psoc,
void
wlan_mlme_get_wps_uuid(struct wlan_mlme_wps_params *wps_params, uint8_t *data);
/*
/**
* wlan_mlme_get_self_gen_frm_pwr() - get self gen frm pwr
* @psoc: pointer to psoc object
* @val: Pointer to the value which will be filled for the caller
@@ -2215,7 +2215,7 @@ QDF_STATUS
wlan_mlme_get_self_gen_frm_pwr(struct wlan_objmgr_psoc *psoc,
uint32_t *value);
/*
/**
* wlan_mlme_get_4way_hs_offload() - get 4-way hs offload to fw cfg
* @psoc: pointer to psoc object
* @val: Pointer to the value which will be filled for the caller
@@ -2225,6 +2225,18 @@ wlan_mlme_get_self_gen_frm_pwr(struct wlan_objmgr_psoc *psoc,
QDF_STATUS
wlan_mlme_get_4way_hs_offload(struct wlan_objmgr_psoc *psoc, bool *value);
/**
* wlan_mlme_get_bmiss_skip_full_scan_value() - To get value of
* bmiss_skip_full_scan ini
* @psoc: pointer to psoc object
* @val: Pointer to the value which will be filled for the caller
*
* Return: QDF Status
*/
QDF_STATUS
wlan_mlme_get_bmiss_skip_full_scan_value(struct wlan_objmgr_psoc *psoc,
bool *value);
/**
* mlme_get_peer_phymode() - get phymode of peer
* @psoc: pointer to psoc object