The emulator does not imitate any form of WiFi. It emulates a common internet connection.
Also, as Marvin, AFAIK points out, you cannot do ad-hoc mode with Android other than the built-in hardware. Therefore, most likely, you will need to purchase two devices that you can root.
source share