Let me guess, Realtek
Edit:
What chipset?
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Let me guess, Realtek
Edit:
What chipset?
I'd start with checking logs with journalctl as a privileged user. If the device disappears, there should be logs about it. Maybe that will point the way.
I had some hard to track down intermittent network issues when I upgraded from LMDE5 to LMDE6 - the solution was to get a newer kernel from backports - its fairly painless...
Which brand is it? I have an HP and have a similar problem, adding "pcie_aspm.policy=performance" to the kernel parameters mostly mitigates it but on Fedora like distros it may still have errors I don't know how to fix.
Your computer is going into s1 and the driver for your card can’t wake it back up.
No. It goes off when I'm using it actively. I've never had any issues getting back from hibernate.
Damn, I thought I had you clocked.
Getting hot maybe? Some of those baseband chips are downright tiny and can’t really dissipate the heat they build up under heavy use…
Did you look at dmesg/journalctl to to see what the kernel says when it falls over?
E: spelling/autocorrect
How recent is your computer? Debian based distros, due to their focus on stability tend to have quite old packages, namely kernels
OP said it's been running fine until recently, so I doubt it's the kernel.
Kernel is 6.1.0-21-amd64 but I don’t know has the kernel been updated recently.
zgrep linux-image /var/log/dpkg.log*
can tell you more.