maybe try cleaning your phone, the antenna might be blocked by dirt (however this is unlikely)
maybe do dev mode and browse through wifi options in dev mode to see if one of them fixes it??
p.s. this wont brick your phone, you can turn off dev mode after easily