Large-scale and high-fidelity wireless network simulation and emulation