A: To date, there is no widely known or stable homebrew solution that overrides the 3DS's core hardware management to force Wi-Fi to remain active in Sleep Mode.
When the Nintendo 3DS enters Sleep Mode (triggered by closing the lid), the operating system triggers a state change:
You use a computer to download the game files ( .cia ) directly from the hShop website.