Hi John; your wifi per say can not be infected with a virus; although it can be hacked into and gain access to devices connected to your wifi and having the connected devices infected with a virus; someone must dislike you pretty bad to target your wifi for such malicious attack. In my opinion; your mention of surfing some adult sites might be your source of virus infection. I will recommend you get a good antivirus for all your devices.