

If you’re on the 24.04 LTS release it might be worth upgrading to 24.10, as it has a lot of bug fixes and improvements from upstream, especially if you have a recent Framework board. Although it isn’t your preferred option to change distros, it may be worth giving openSUSE Tumbleweed at least a test drive to see if it’s an issue with your laptop or just an Ubuntu issue, as I have had Ubuntu have issues even on fully certified laptops, and openSUSE has been pretty plug and play for me on a secondary machine even with its faster update cycle. Might be worth checking your hardware too, as random hitches and reboots could indicate that you might need to reseat RAM or that the CPU/GPU is for whatever reason unstable.
Just a heads up, in a lot of motherboards the WiFi module is just an M.2 card in a special case. Therefore, it would probably be better to change out the card inside for something like an Intel AX210, and keep a PCI Express slot free for other things.