Further to these questions:
What are the alternatives for Xposed framework on Pie? Preferably without triggering Safety Net?
How to install EdXposed on Android 10 without triggering safety net
How to ...
For spotty WI-FI connections, a recommended way to fix is to re-boot or toggle airplane mode to reset the connection.
Now, in Android 12 one has a feature to do that by clicking the icon with wrench