qcacmn: Enable STA DFS in F/W

If STA DFS is enabled before vdev creation through etc/config/wireless
then VDEV START is sent to F/W as a part of the normal flow to bring
the VAP up. However, if STA DFS is enabled/disabled on the fly for a
running VAP then do a VDEV STOP, followed by a VDEV START of the STA
VAP and set/unset WMI_CHAN_FLAG_STA_DFS flag in VDEV start.

Change-Id: I032ffa53d89eaafcb43c648670af3b3f2134561f
CRs-Fixed: 2843248
This commit is contained in:
Ananya Barat
2020-12-22 14:54:34 +05:30
committed by snandini
父節點 a7717deced
當前提交 6b309b7dbe
共有 4 個文件被更改,包括 13 次插入4 次删除

查看文件

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
*
*
* Permission to use, copy, modify, and/or distribute this software for
@@ -51,6 +51,8 @@ wlan_psoc_get_dfs_txops(struct wlan_objmgr_psoc *psoc)
return &tx_ops->dfs_tx_ops;
}
qdf_export_symbol(wlan_psoc_get_dfs_txops);
bool tgt_dfs_is_pdev_5ghz(struct wlan_objmgr_pdev *pdev)
{
struct wlan_lmac_if_dfs_tx_ops *dfs_tx_ops;