I apologize if this has already been answered.
Does the 3ds need to be on a wifi constantly while Gateway is in use?
Is it possible to use the Android 3ds Xloader app to start the server, boot into gateway mode, launch game and immediately switch off the X loader app?
You only need wifi to launch the launcher.dat, after you did that, you can turn it off if you want to.