Wifi research using Ns-3