Procházet zdrojové kódy

qcacld-3.0: Allow different beacon intervals for SAP

qcacld-2.0 to qcacld-3.0 propagation

Currently if user space sends two different beacon
interval in AP+AP, driver is not updating correct beacon interval.
Beacon interval should be sent as per session.

Change-Id: I13653701e7ed6fb2eb643bbb8e20e7c0102c2ec2
CRs-Fixed: 1037455
(cherry picked from commit 183b9b33087f5afc925d5899b468450e88b97998)
Agrawal Ashish před 8 roky
rodič
revize
18361c5557
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      core/mac/src/pe/sch/sch_beacon_gen.c

+ 1 - 1
core/mac/src/pe/sch/sch_beacon_gen.c

@@ -228,7 +228,7 @@ sch_set_fixed_beacon_fields(tpAniSirGlobal mac_ctx, tpPESession session)
 
 	/* Skip over the timestamp (it'll be updated later). */
 	bcn_1->BeaconInterval.interval =
-		mac_ctx->sch.schObject.gSchBeaconInterval;
+		session->beaconParams.beaconInterval;
 	populate_dot11f_capabilities(mac_ctx, &bcn_1->Capabilities, session);
 	if (session->ssidHidden) {
 		bcn_1->SSID.present = 1;