Browse Source

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
Vignesh Viswanathan 6 years ago
parent
commit
23bec9819c
1 changed files with 6 additions and 0 deletions
  1. 6 0
      core/mac/src/pe/rrm/rrm_api.c

+ 6 - 0
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);