qcacmn: Update Scan_ctrl_flags_ext flag on passive scan
For passive scan host expects dpp public action frames which are broadcast. So set 3rd bit of scan_ctrl_flags_ext to 1, so that firmware sends these frames to host upon passive scan. Change-Id: I7ab70ef92d9226fc265e99f3d1196c5ebae6acb4 CRs-Fixed: 2124683
This commit is contained in:
@@ -117,6 +117,11 @@
|
||||
#define SCAN_DBS_POLICY_MAX 0x3
|
||||
/* Minimum number of channels for enabling DBS Scan */
|
||||
#define SCAN_MIN_CHAN_DBS_SCAN_THRESHOLD 8
|
||||
/*
|
||||
* Enable Reception of Public Action frame with this flag
|
||||
*/
|
||||
#define SCAN_FLAG_EXT_FILTER_PUBLIC_ACTION_FRAME 0x4
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -368,9 +368,6 @@ ucfg_scan_update_dbs_scan_ctrl_ext_flag(struct scan_start_request *req)
|
||||
|
||||
psoc = wlan_vdev_get_psoc(req->vdev);
|
||||
|
||||
/* Resetting the scan_ctrl_flags_ext to 0 */
|
||||
req->scan_req.scan_ctrl_flags_ext = 0;
|
||||
|
||||
if (DISABLE_DBS_CXN_AND_SCAN ==
|
||||
wlan_objmgr_psoc_get_dual_mac_disable(psoc))
|
||||
goto end;
|
||||
@@ -442,6 +439,9 @@ ucfg_scan_start(struct scan_start_request *req)
|
||||
req->scan_req.vdev_id);
|
||||
|
||||
ucfg_scan_update_dbs_scan_ctrl_ext_flag(req);
|
||||
if (req->scan_req.scan_f_passive)
|
||||
req->scan_req.scan_ctrl_flags_ext |=
|
||||
SCAN_FLAG_EXT_FILTER_PUBLIC_ACTION_FRAME;
|
||||
|
||||
/* Try to get vdev reference. Return if reference could
|
||||
* not be taken. Reference will be released once scan
|
||||
|
مرجع در شماره جدید
Block a user