Wireless Networks: analysis and emulation