qcacld-3.0: Allow fw to send all beacons of connected AP

In order to process QCA_NL80211_VENDOR_SUBCMD_BEACON_REPORTING
vendor command, driver sends remove beacon filter cmd to fw to
allow fw to send all beacons of connected AP to driver.
But in some cases fw may wakeup host in wow mode.
To avoid these cases, with this change beacon reporting feature
will use WMI_VDEV_PARAM_NTH_BEACON_TO_HOST
command to FW instead of WMI_RMV_BCN_FILTER_CMDID
With WMI_VDEV_PARAM_NTH_BEACON_TO_HOST, in case of active reporting,
fw should send all beacons of connected AP to HOST
and also no wakeup of driver should happen in wow mode.

Change-Id: I9d0e255a6d4accb523bf4613146574239e7e0d09
CRs-Fixed: 2471627
This commit is contained in:
Abhinav Kumar
2019-06-05 15:35:56 +05:30
کامیت شده توسط nshrivas
والد 5e4f15ed44
کامیت 8475bc3f61
4فایلهای تغییر یافته به همراه58 افزوده شده و 19 حذف شده

مشاهده پرونده

@@ -62,7 +62,8 @@ void hdd_beacon_recv_pause_indication(hdd_handle_t hdd_handle,
.info.vendor_id = QCA_NL80211_VENDOR_ID, \
.info.subcmd = QCA_NL80211_VENDOR_SUBCMD_BEACON_REPORTING, \
.flags = WIPHY_VENDOR_CMD_NEED_WDEV | \
WIPHY_VENDOR_CMD_NEED_RUNNING, \
WIPHY_VENDOR_CMD_NEED_NETDEV | \
WIPHY_VENDOR_CMD_NEED_RUNNING, \
.doit = wlan_hdd_cfg80211_bcn_rcv_start \
},