You should check out this thread: [SOLVED] Getting wifi working on Ubuntu 22.04
I had something similar where I had to delete and maybe install some Intel WiFi FW files because the first one that the driver was loading was crashing the card. When things are good they look something like this:
$ sudo dmesg | grep iwlwifi
[ 5.399950] iwlwifi 0000:a6:00.0: enabling device (0000 -> 0002)
[ 5.405479] iwlwifi 0000:a6:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-72.ucode failed with error -2
[ 5.406543] iwlwifi 0000:a6:00.0: api flags index 2 larger than supported by driver
[ 5.406560] iwlwifi 0000:a6:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.36
[ 5.406957] iwlwifi 0000:a6:00.0: loaded firmware version 71.058653f6.0 ty-a0-gf-a0-71.ucode op_mode iwlmvm
[ 5.537555] iwlwifi 0000:a6:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
[ 5.693982] iwlwifi 0000:a6:00.0: loaded PNVM version 05a8dfca
[ 5.706141] iwlwifi 0000:a6:00.0: Detected RF GF, rfid=0x10d000
[ 5.782111] iwlwifi 0000:a6:00.0: base HW address: 04:XX:XX:XX:XX:XX
[ 5.802301] iwlwifi 0000:a6:00.0 wlp166s0: renamed from wlan0
Note: failing to load a FW is fine, the driver will just try the next one. But if the WiFi core crashes because of bad FW then it just dies.