From 70a98de49ce1ae7cfc03bb1f821b32b24ca6001b Mon Sep 17 00:00:00 2001 From: Bing Sun Date: Wed, 22 Sep 2021 10:57:57 +0800 Subject: [PATCH] qcacld-3.0: Populate mlo IE and rnr IE for probe response of mlo ap Populate mlo IE and rnr IE for non mlo probe response if it is mlo AP Change-Id: I9bdedb235a35c22a9de4d009d5a72cf104b4da2c CRs-Fixed: 3042029 --- core/mac/src/pe/lim/lim_send_management_frames.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/mac/src/pe/lim/lim_send_management_frames.c b/core/mac/src/pe/lim/lim_send_management_frames.c index 64454ddcc7..0bd3c3dac4 100644 --- a/core/mac/src/pe/lim/lim_send_management_frames.c +++ b/core/mac/src/pe/lim/lim_send_management_frames.c @@ -746,6 +746,12 @@ lim_send_probe_rsp_mgmt_frame(struct mac_context *mac_ctx, &frm->he_6ghz_band_cap); } + if (wlan_vdev_mlme_is_mlo_ap(pe_session->vdev)) { + populate_dot11f_bcn_mlo_ie(mac_ctx, pe_session, + &frm->mlo_ie); + populate_dot11f_mlo_rnr(mac_ctx, pe_session, + &frm->reduced_neighbor_report); + } if (lim_is_session_eht_capable(pe_session)) { pe_debug("Populate EHT IEs"); populate_dot11f_eht_caps(mac_ctx, pe_session, &frm->eht_cap);