There are several threads here about issues with that realtek card, and yes some just recently with the newer 6.X.X kernel.
My suggestion:
Replace the realtek card with an intel card which seems much more reliable.
Most laptops have the wifi card that is easily replaced just by opening the case.