Wifi not working - Qualcomm Atheros QCA6174

I tried the method on this site and it solved the problem and I was able to connect to wifi.
Both 2GHz and 5GHz are ok.

?ttps://wonwon-eater.com/linux-wifi-qca6174/
(Replaced the first h with ? Because the URL cannot be described.)