From 23bec9819cec638bdb8ca66155c58c075ebf677c Mon Sep 17 00:00:00 2001 From: Vignesh Viswanathan Date: Fri, 28 Sep 2018 08:46:41 +0530 Subject: [PATCH] qcacld-3.0: Set last beacon report indication support based on request Set the last beacon report indication support in the beacon response based on the last beacon report indication sub element in the beacon report request received from the AP. Change-Id: Ibe190e23379b56af9272368b96cf912e1512f650 CRs-Fixed: 2342697 --- core/mac/src/pe/rrm/rrm_api.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/mac/src/pe/rrm/rrm_api.c b/core/mac/src/pe/rrm/rrm_api.c index c997d06d5b56..720159552b8d 100644 --- a/core/mac/src/pe/rrm/rrm_api.c +++ b/core/mac/src/pe/rrm/rrm_api.c @@ -959,6 +959,12 @@ rrm_process_beacon_report_xmit(tpAniSirGlobal mac_ctx, bss_desc_count++; pe_debug("No remaining IEs"); } + + if (curr_req->request.Beacon. + last_beacon_report_indication) { + pe_debug("Setting last beacon report support"); + beacon_report->last_bcn_report_ind_support = 1; + } } pe_debug("Total reports filled %d", i);