This is the same problem that is reported for the Dell XPS 13 9310 which has the same wifi card:
Ubuntu 21.10 on Dell XPS 13 9310 WiFi Killer AX500s DBS stopped working in kernel 5.13.0-21-generic
and links to here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950515
The older kernel builds 5.13.0-19 or 5.13.0-20 appear to work.
Install the old kernel and cold boot (shutdown and power on) instead of just restarting.
This appears to just be a regression in the 5.13.0-21 kernel build, but may be fixed in a newer build.
I have the same problem with my Dell XPS 15 9500 on Ubuntu 21.04.
I'm using the HWE (HardWare Enablement) kernel build.
linux-generic-hwe-20.04
linux-headers-generic-hwe-20.04
linux-image-generic-hwe-20.04
Upgrading from 5.11.0.38.39 to 5.11.0.40.41 breaks the wifi.
I fixed wifi by rolling back to my earlier btrfs snapshot of my rootfs before the update and did a cold boot.
I also turned off the automatic updates, so that it wouldn't automatically install the kernel with broken wifi again.
sudo dpkg-reconfigure unattended-upgrades
I created another btrfs snapshot of rootfs with the wifi working and automatic updates disabled.