qcacld-3.0: Send enable/disable flag separately in hw filter command

Before wow enable or pdev suspend  host sets hardware filter bitmap
and enables the filter via a command. But after resuming it sends
bitmap as zero with filter disable. This is interpreted by Firmware
as disable the modes set in the bitmap, so none of the modes are
disabled. With this host will not receive bc/mc packets after
disabling the hw filter, which it is expecting.

Send the same bitmap after resume that was used before suspend.

Change-Id: Ic7425274c9197e907404c3ca9ba0d5269ee51690
CRs-Fixed: 2194964
This commit is contained in:
Nachiket Kukade
2018-02-27 18:20:07 +05:30
committed by nshrivas
parent 8c151e20cc
commit f080407812
7 changed files with 55 additions and 48 deletions

View File

@@ -33,8 +33,9 @@ QDF_STATUS pmo_tgt_conf_hw_filter(struct wlan_objmgr_psoc *psoc,
pmo_enter();
pmo_debug("Configure hw filter; vdev_id:%u, mode:%d",
req->vdev_id, req->mode);
pmo_debug("Send %s hw filter mode 0x%X for vdev_id %u",
req->enable ? "Enable" : "Disable", req->mode_bitmap,
req->vdev_id);
ops = GET_PMO_TX_OPS_FROM_PSOC(psoc);
if (!ops.send_conf_hw_filter_req) {