I was able to Fix one issue.
So what I did was I removed the wifi driver from the laptop which allowed the windows to Install another driver. Now wireless display works.
When I try to connect to a Windows 10 Dell laptop, they won't connect.
I am always getting an error something went wrong.
But when trying to cast from my phone's cast option with either of the devices, then It works without any issue.
Please help.