qcacld-3.0: Process vendor cmd for BEACON_REPORTING_OP_STOP

Userspace request driver to report details of each beacon
received whose bssid is same as currently connected BSS's
mac address. The driver encapsulates the details of these
beacons as an asynchronous event within vendor command:
QCA_NL80211_VENDOR_SUBCMD_BEACON_REPORTING with operation
type QCA_WLAN_VENDOR_BEACON_REPORTING_OP_STOP until
userspace requests to stop sending beacons.

When driver gets stop indication from userspace, it does
the following things:
1. De-register all callback which is registered while handling
start indication
2. Add beacon filter and send it to fw

If driver is in WOW mode and WMI_ADD_BCN_FILTER_CMDID is
NOT configured, fw wakeup HOST and sends connected AP beacon.
Fw should not wakeup host if host is in wow mode. In order
to support this, configure WOW_BEACON_EVENT for STA and P2P.

Change-Id: Ie7c768fa957d02e1361e1ecb95435ba3f06034b0
CRs-Fixed: 2431360
This commit is contained in:
Abhinav Kumar
2019-05-13 23:53:40 +05:30
committed by nshrivas
vanhempi c990f623c5
commit 392221599a
8 muutettua tiedostoa jossa 338 lisäystä ja 106 poistoa

Näytä tiedosto

@@ -60,6 +60,12 @@ void pmo_register_wow_wakeup_events(struct wlan_objmgr_vdev *vdev)
PMO_WOW_MAX_EVENT_BM_LEN,
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: