Close Teams completely (right-click taskbar icon → Quit). Restart your device. Reopen Teams and sign in.
Upgrading to a Wi-Fi 7 router isn't necessary in most cases.