I'm having the same issue. I had a 4s, ATIV SE, and my laptop all connected to my wifi over the last two weeks and everything was great. Then I got the S5 and I've had basically no functioning wifi. My router is not the problem as I'm writing this from my laptop right now and it's working...