In FreeBSD I can't connect to the Wi-Fi even though the Wi-Fi card is detected. the Wi-Fi card is an Intel(R) Wi-Fi 6E AX211 160MHz. here is the dmesg output.
This is the error:
iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
iwlwifi0: Scan failed! ret -5
This is the error:
iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
iwlwifi0: Scan failed! ret -5