Rtw89 stopped working after kernel upgrade/switch to 5.15

The rtw89-dkms-git package is requiring the headers - so did you remember to install the headers for the new kernel?

Even though you install a new kernel - you are required to know - the headers are not automagically included - in most cases the mhwd-kernel will pick it up.