Wi-Fi stops working when I attach wireless mouse to my laptop
Solution 1:
That's probably a 2.4 GHz wireless mouse and you're probably using 2.4 GHz Wi-Fi, so your mouse is probably interfering with your Wi-Fi signals.
Try changing your TP-Link router's channel and the mouse system's channel so they don't overlap. Consider switching to 5 GHz Wi-Fi or a wired USB mouse.
Solution 2:
I agree with Spiff's answer - but there may be a solution
Have you tried waiting and letting the mouse and receiver (adapter) bind? It's likely that when you power the receiver on the laptop side, it goes into a bind mode and screams out for all to hear, until it finds a mouse. If it manages to find a mouse, interference may calm down enough for you to reconnect to your router, however speeds will still be impacted.