What Wi-Fi router brand and model are you connected to on a 5Ghz channel when this occurs? Do you always get disconnected from Wi-Fi, or does Windows still report you are Connected to Wi-Fi but you can't communicate with anything (webpage, ping, etc)?
Aerris Surfboard SBG6700
Windows still reports I'm connected in terms of the wifi signal indicator. I know I'm offline because Teams & Discord immediately show me disconnected and the OneDrive icon starts showing the 'sync icon' in the bottom right toolbar area. As soon as I toggle Wifi off and back on, I reconnect with no issues...until the next time it occurs.