qcacmn: Send VDEV_UP after spoof radar in Rep-AP

In Partial-Offload, when a repeater is associated with Root-AP in
DFS channel. The Repeater STA will get connected with Root-AP and then
Repeater-AP comes up in the DFS channel but it does not send beacons.

The reason is, when a STA vap is UP and in connected state, CAC is
skipped. So, for Repeater-AP we send VDEV_UP before Spoof radar
pulses event. FW rejects the VDEV_UP sent by host and therefore
Repeater-AP will be in UP state but it does not send any beacons.

The fix is, while checking the condition if STA vap is set to true, we
also check whether spoof radar event is completed. If the spoof radar
event is not completed, then we will not skip CAC and then VDEV UP
will be sent after the Spoof radar event.

CRs-Fixed: 2748740
Change-Id: If63f3118d3e40785b375a0bd59d46783c14fe433
这个提交包含在:
Vijay Krishnan
2020-08-05 02:33:29 +05:30
提交者 snandini
父节点 1e876d8f14
当前提交 c70a7a8d0f
修改 3 个文件,包含 25 行新增1 行删除

查看文件

@@ -1553,6 +1553,17 @@ QDF_STATUS utils_dfs_is_spoof_check_failed(struct wlan_objmgr_pdev *pdev,
}
qdf_export_symbol(utils_dfs_is_spoof_check_failed);
bool utils_dfs_is_spoof_done(struct wlan_objmgr_pdev *pdev)
{
struct wlan_dfs *dfs;
dfs = wlan_pdev_get_dfs_obj(pdev);
if (!dfs)
return false;
return !!dfs->dfs_spoof_test_done;
}
#endif
int dfs_get_num_chans(void)