qcacmn: Send roam_score_delta, roam_score_delta_bitmap to firmware

Two new WCNSS_qcom.ini values "roam_score_delta" and
"roam_trigger_bitmap" are introduced. These values are sent to
firmware over the WMI command WMI_ROAM_AP_PROFILE over the
structure wmi_roam_cnd_scoring_param. The values to this
structure are populated from struct scoring_params.

Add roam_score_delta and roam_trigger_bitmap in scoring_param.
Populate these values from roam request to the structure
wmi_roam_cnd_scoring_param to be sent over the wmi command.

Change-Id: I012867e60ddf18a276250ef3bd27015f191d8a6a
CRs-Fixed: 2368263
Dieser Commit ist enthalten in:
Pragaspathi Thilagaraj
2018-12-12 16:12:07 +05:30
committet von nshrivas
Ursprung 3bca781f53
Commit fe4d2e64aa

Datei anzeigen

@@ -376,6 +376,10 @@ struct param_slot_scoring {
* BITS 16-23 :- It contains scoring percentage of 3x3
* BITS 24-31 :- It contains scoring percentage of 4x4
* The value of each index must be 0-100
* @roam_score_delta: delta value expected over the roam score of the candidate
* ap over the roam score of the current ap
* @roam_trigger_bitmap: bitmap of roam triggers on which roam_score_delta
* will be applied
* @rssi_scoring: RSSI scoring information.
* @esp_qbss_scoring: ESP/QBSS scoring percentage information
* @oce_wan_scoring: OCE WAN metrics percentage information
@@ -396,6 +400,8 @@ struct scoring_param {
uint32_t bw_index_score;
uint32_t band_index_score;
uint32_t nss_index_score;
uint32_t roam_score_delta;
uint32_t roam_trigger_bitmap;
struct rssi_scoring rssi_scoring;
struct param_slot_scoring esp_qbss_scoring;
struct param_slot_scoring oce_wan_scoring;