well, i can tell you what i would do in this situation, try to connect a cable an Ethernet, i have tp link wireless adapter and often, does that! i restart and its ok.... but for you try a cable if it is working you know its the adapters fault either hardware or software (drivers etc)
if you have a problem with an Ethernet cable then might your windows have a problem , try system restore or try to get back to a date when the system was functioning properly.
another thing it happened to me is that , in a big building there are so many wifis , so my wifi was getting ? confused ?
i dont know! i changed the channel of the wifi , inside the router options ( 192.1.1.16 or something like that) and choose another channel anyway seem to me that all the people here had the default channel (1 ) and there were 10 networks on that channel, i put on the six channel, well i can tell you it was connecting in a blink !
in this cases you really have to try everything, hope i helped a little bit