Switch NetworkManager to iwd
Many users use the NetworkManager tool to manage network connections. When it comes to WLAN connections, wpa_supplicant is usually used. If the connection is disconnected, for example because the computer has been put into sleep mode, it takes a relatively long time for the connection to be re-established.
To speed up the connection, you can use iwd instead of wpa_supplicant.
First install it with the respective package management (in the case of Arch Linux with pacman -S iwd). Now add the following content to the file /etc/NetworkManager/NetworkManager.conf or adapt the file accordingly if another WiFi backend is already defined.
[device]
wifi.backend=iwd
Abschließend beendet man wpa_supplicant mittels systemctl stop wpa_supplicant.service und startet NetworkManager mit systemctl restart NetworkManager.service neu. Nun sollte iwd anstelle von wpa_supplicant verwendet werden und der Verbindungsaufbau sollte von nun an schneller erfolgen.