META: Get Wi-Fi to work on wcn399x (ICNSS) devices (such as Redmi Note 7)
While porting Halium 9 to Redmi Note 7, I found out that I can get Wi-Fi to work by launching /vendor/bin/cnss-daemon
.
Everything works fine after that, but since we want Wi-Fi to work WITHOUT Halium, I wonder how can we do that?
Interesting sources:
- https://github.com/ubports-lavender/kernel/blob/10/drivers/soc/qcom/icnss.c
- https://github.com/ubports-lavender/kernel/blob/10/drivers/soc/qcom/wlan_firmware_service_v01.c
- https://github.com/ubports-lavender/kernel/blob/10/drivers/soc/qcom/wlan_firmware_service_v01.h
NotKit assumed that this was done with IOCTLs, and I cannot run strace on cnss-daemon, all it does is returning restart_syscall
..
Edited by Administrator