qcacmn: Add host fixes for 11be eMLSR mode

Add following fixes for STA to support and operate in
eMLSR mode
1) Update and send eMLSR cap flag to FW even in vdev start
request on both links.
2) Copy EML caps to wmi peer assoc mlo params to send it
to FW.

Change-Id: Ic17b9b82809659d7a4392c09eceecae7c53b2049
CRs-Fixed: 3237737
このコミットが含まれているのは:
Gururaj Pandurangi
2022-07-06 17:27:35 -07:00
committed by Madan Koyyalamudi
コミット a57b8d20e4
4個のファイルの変更29行の追加1行の削除

ファイルの表示

@@ -101,6 +101,8 @@ uint8_t *vdev_start_add_mlo_params(uint8_t *buf_ptr,
req->mlo_flags.mlo_enabled);
WMI_MLO_FLAGS_SET_ASSOC_LINK(mlo_params->mlo_flags.mlo_flags,
req->mlo_flags.mlo_assoc_link);
WMI_MLO_FLAGS_SET_EMLSR_SUPPORT(mlo_params->mlo_flags.emlsr_support,
req->mlo_flags.emlsr_support);
vdev_start_add_mlo_mcast_params(&mlo_params->mlo_flags.mlo_flags,
req);
@@ -243,6 +245,9 @@ uint8_t *peer_assoc_add_mlo_params(uint8_t *buf_ptr,
req->mlo_params.mlo_logical_link_index_valid);
WMI_MLO_FLAGS_SET_PEER_ID_VALID(mlo_params->mlo_flags.mlo_flags,
req->mlo_params.mlo_peer_id_valid);
WMI_MLO_FLAGS_SET_EMLSR_SUPPORT(mlo_params->mlo_flags.emlsr_support,
req->mlo_params.emlsr_support);
mlo_params->mlo_flags.mlo_force_link_inactive =
req->mlo_params.mlo_force_link_inactive;
@@ -251,6 +256,10 @@ uint8_t *peer_assoc_add_mlo_params(uint8_t *buf_ptr,
mlo_params->logical_link_index = req->mlo_params.logical_link_index;
mlo_params->mld_peer_id = req->mlo_params.ml_peer_id;
mlo_params->ieee_link_id = req->mlo_params.ieee_link_id;
mlo_params->emlsr_trans_timeout_us =
req->mlo_params.emlsr_trans_timeout;
return buf_ptr + sizeof(wmi_peer_assoc_mlo_params);
}