Sometimes my wifi stops working. Gnome is unable to list the wifi networks.

Does this happen at the time of suspend and resuming specifically?

Workaround

sudo modprobe -r mt7921e
sudo modprobe mt7921e

Hardware

Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter

From lspci.

Grok says that