I know about this issue, it comes down to a number of things. What i'm thinking is try to replace the Wi-Fi card in your 3ds XL.
open