Преглед изворни кода

qcacld-3.0: Don't enable WOW_BEACON_EVENT by default for STA

While processing QCA_WLAN_VENDOR_BEACON_REPORTING_OP_START vendor
cmd, the expectation is FW should not wakeup host if host is in
wow mode. Wakeup of HOST happens purely based on Nth beacon
WMI event WMI_VDEV_PARAM_NTH_BEACON_TO_HOST config to firmware
where host gives Nth value and MSB bit to indicate whether
to wake up host or not. MSB bit is 1 means fw should not wakeup
host(By default MSB bit is 0).

WOW_BEACON_EVENT registration on host is required only in case
if HOST sends WMI_RMV_BCN_FILTER_CMDID in order to allow fw to send
connected AP beacons. Currently, HOST sends NTH BEACON CMD to fw with
MSB bit of Nth value equal to 1 in order to allow send connected AP
beacons to HOST only if HOST is not in wow mode.

Fix is to remove default WOW_BEACON_EVENT registration for STA on host.

Change-Id: I4717925fbcb38efb14f3336706f93d90f7a3888e
CRs-Fixed: 2496594
Abhinav Kumar пре 5 година
родитељ
комит
b96b746a50
1 измењених фајлова са 0 додато и 5 уклоњено
  1. 0 5
      components/pmo/core/src/wlan_pmo_static_config.c

+ 0 - 5
components/pmo/core/src/wlan_pmo_static_config.c

@@ -61,11 +61,6 @@ void pmo_register_wow_wakeup_events(struct wlan_objmgr_vdev *vdev)
 					event_bitmap);
 		}
 
-		/* Configure WOW_BEACON_EVENT */
-		pmo_set_wow_event_bitmap(WOW_BEACON_EVENT,
-					 PMO_WOW_MAX_EVENT_BM_LEN,
-					 event_bitmap);
-
 	/* fallthrough */
 	case QDF_P2P_DEVICE_MODE:
 	case QDF_OCB_MODE: