diff options
| -rw-r--r-- | core/wma/src/wma_dev_if.c | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/core/wma/src/wma_dev_if.c b/core/wma/src/wma_dev_if.c index 7a41a49e914a..56b4d7b4c5fd 100644 --- a/core/wma/src/wma_dev_if.c +++ b/core/wma/src/wma_dev_if.c @@ -2097,25 +2097,9 @@ QDF_STATUS wma_vdev_start(tp_wma_handle wma, else if (req->is_quarter_rate) temp_chan_info |= (1 << WMI_CHAN_FLAG_QUARTER_RATE); - /* - * If the channel has DFS set, flip on radar reporting. - * - * It may be that this should only be done for IBSS/hostap operation - * as this flag may be interpreted (at some point in the future) - * by the firmware as "oh, and please do radar DETECTION." - * - * If that is ever the case we would insert the decision whether to - * enable the firmware flag here. - */ - - /* - * If the Channel is DFS, - * set the WMI_CHAN_FLAG_DFS flag - */ params.is_dfs = req->is_dfs; params.is_restart = isRestart; if ((QDF_GLOBAL_MONITOR_MODE != cds_get_conparam()) && req->is_dfs) { - params.flag_dfs = WMI_CHAN_FLAG_DFS; temp_chan_info |= (1 << WMI_CHAN_FLAG_DFS); params.dis_hw_ack = true; req->dfs_pri_multiplier = wma->dfs_pri_multiplier; @@ -2133,6 +2117,11 @@ QDF_STATUS wma_vdev_start(tp_wma_handle wma, */ if (wma_is_vdev_in_ap_mode(wma, params.vdev_id) == true) { /* + * If the Channel is DFS, + * set the WMI_CHAN_FLAG_DFS flag + */ + params.flag_dfs = WMI_CHAN_FLAG_DFS; + /* * If DFS regulatory domain is invalid, * then, DFS radar filters intialization * will fail. So, do not configure the |
