Added api for switch to DFS mode