I recently upgraded from an S7 to a S20FE5g. The new phone constantly drops my wifi signal. I had no issues with my S7 and there have been no changes in my network equipment.
have you tried to reboot your Wi-Fi router? have you tried it in safe mode?
submit an error report on samsung members app > + button > error report if you think it's a software issue