qcacld-3.0: Fix hw mode update failure by roam sync event

Update HW mode change tlv information to wma/policy mgr.
Losing the information will cause FW/host out of sync.

Change-Id: I1ba9931d10617664da653e85335fade1352c3600
CRs-Fixed: 3109789
This commit is contained in:
Liangwei Dong
2022-01-05 13:33:40 +08:00
committed by Madan Koyyalamudi
parent 99f240f15b
commit f01e9fec4b
6 changed files with 40 additions and 6 deletions

View File

@@ -2129,13 +2129,15 @@ wmi_fill_roam_sync_buffer(struct wlan_objmgr_vdev *vdev,
REPLAY_CTR_LEN);
}
if (param_buf->hw_mode_transition_fixed_param)
if (param_buf->hw_mode_transition_fixed_param) {
wmi_extract_pdev_hw_mode_trans_ind(
param_buf->hw_mode_transition_fixed_param,
param_buf->wmi_pdev_set_hw_mode_response_vdev_mac_mapping,
&roam_sync_ind->hw_mode_trans_ind);
else
roam_sync_ind->hw_mode_trans_present = true;
} else {
wmi_debug("hw_mode transition fixed param is NULL");
}
fils_info = param_buf->roam_fils_synch_info;
if (fils_info) {