qcacld-3.0: Update mobility domain in RSO command

The MDID is not updated in RSO command. So FT roaming
failure happens.

Update the MDID in RSO commands.

Change-Id: Ie68b379ab29c063c90d8461d0be34fd09a105e3f
CRs-Fixed: 2795319
This commit is contained in:
Pragaspathi Thilagaraj
2020-10-16 15:26:29 +05:30
committed by snandini
parent 8a1fc4530a
commit 789a23ef9f
2 changed files with 7 additions and 2 deletions

View File

@@ -2255,10 +2255,11 @@ wmi_fill_rso_tlvs(wmi_unified_t wmi_handle, uint8_t *buf,
WMITLV_SET_HDR(buf, WMITLV_TAG_ARRAY_STRUC, 0); WMITLV_SET_HDR(buf, WMITLV_TAG_ARRAY_STRUC, 0);
buf += WMI_TLV_HDR_SIZE; buf += WMI_TLV_HDR_SIZE;
wmi_debug("RSO_CFG: vdev[%d] 11r TLV psk_msk_len = %d psk_msk_ext:%d", wmi_debug("RSO_CFG: vdev[%d] 11r TLV psk_msk_len = %d psk_msk_ext:%d md:0x%x",
roam_req->vdev_id, roam_req->vdev_id,
roam_offload_11r->psk_msk_len, roam_offload_11r->psk_msk_len,
roam_offload_11r->psk_msk_ext_len); roam_offload_11r->psk_msk_ext_len,
roam_offload_11r->mdid);
} else { } else {
WMITLV_SET_HDR(buf, WMITLV_TAG_ARRAY_STRUC, WMITLV_SET_HDR(buf, WMITLV_TAG_ARRAY_STRUC,
sizeof(wmi_roam_11i_offload_tlv_param)); sizeof(wmi_roam_11i_offload_tlv_param));

View File

@@ -20605,6 +20605,10 @@ static QDF_STATUS csr_cm_roam_scan_offload_fill_lfr3_config(
rso_config->rso_11r_info.enable_ft_im_roaming = rso_config->rso_11r_info.enable_ft_im_roaming =
mac->mlme_cfg->lfr.enable_ft_im_roaming; mac->mlme_cfg->lfr.enable_ft_im_roaming;
rso_config->rso_11r_info.mdid.mdie_present =
session->connectedProfile.mdid.mdie_present;
rso_config->rso_11r_info.mdid.mobility_domain =
session->connectedProfile.mdid.mobility_domain;
rso_config->rso_11r_info.r0kh_id_length = rso_config->rso_11r_info.r0kh_id_length =
session->ftSmeContext.r0kh_id_len; session->ftSmeContext.r0kh_id_len;
qdf_mem_copy(rso_config->rso_11r_info.r0kh_id, qdf_mem_copy(rso_config->rso_11r_info.r0kh_id,