[HACK] ath10k: Fake MSA ready event after event server arrival

This finally allowed me to get past the 2 ath10k_info()'s in qmi.c!

However, this doesn't fix everything; it seems you *have* to run
diag-router from https://github.com/andersson/diag to calm the firmware
down and stop constantly crashing; need to look into a way to get Wi-Fi
working later without needing this debug crap to be running.

This should possible be submitted as a quirk to the ath10k driver as
modem on mainline 8998 should be running now as well...
This commit is contained in:
Jami Kettunen 2021-01-12 19:50:09 +02:00
parent 46f0bbbca4
commit 019ec6d0a5

View file

@ -1004,6 +1004,8 @@ static void ath10k_qmi_driver_event_work(struct work_struct *work)
switch (event->type) { switch (event->type) {
case ATH10K_QMI_EVENT_SERVER_ARRIVE: case ATH10K_QMI_EVENT_SERVER_ARRIVE:
ath10k_qmi_event_server_arrive(qmi); ath10k_qmi_event_server_arrive(qmi);
// HACK: Fake MSA being ready
ath10k_qmi_event_msa_ready(qmi);
break; break;
case ATH10K_QMI_EVENT_SERVER_EXIT: case ATH10K_QMI_EVENT_SERVER_EXIT:
ath10k_qmi_event_server_exit(qmi); ath10k_qmi_event_server_exit(qmi);