diff --git a/umac/dfs/dispatcher/src/wlan_dfs_lmac_api.c b/umac/dfs/dispatcher/src/wlan_dfs_lmac_api.c index 829e499b0a79..63f78ea8c179 100644 --- a/umac/dfs/dispatcher/src/wlan_dfs_lmac_api.c +++ b/umac/dfs/dispatcher/src/wlan_dfs_lmac_api.c @@ -202,8 +202,10 @@ uint32_t lmac_get_phymode_info(struct wlan_objmgr_pdev *pdev, dfs_tx_ops = &psoc->soc_cb.tx_ops.dfs_tx_ops; + /* since dfs never comes into 2G, hardcode is_2gvht_en flag to false */ if (dfs_tx_ops->dfs_get_phymode_info) - dfs_tx_ops->dfs_get_phymode_info(pdev, chan_mode, &mode_info); + dfs_tx_ops->dfs_get_phymode_info(pdev, chan_mode, &mode_info, + false); return mode_info; } diff --git a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h index 8423df0919dd..53a50a9be52a 100644 --- a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h +++ b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h @@ -556,7 +556,8 @@ struct wlan_lmac_if_dfs_tx_ops { uint16_t *devid); QDF_STATUS (*dfs_get_phymode_info)(struct wlan_objmgr_pdev *pdev, uint32_t chan_mode, - uint32_t *mode_info); + uint32_t *mode_info, + bool is_2gvht_en); QDF_STATUS (*dfs_reg_ev_handler)(struct wlan_objmgr_psoc *psoc, bool dfs_offload); QDF_STATUS (*dfs_process_emulate_bang_radar_cmd)(