]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: fix device ready detection
authorVladimir Kondratiev <QCA_vkondrat@QCA.qualcomm.com>
Sun, 25 Oct 2015 13:59:23 +0000 (15:59 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 29 Oct 2015 11:06:47 +0000 (13:06 +0200)
commitc0864ac03f1fbe40bc3c1ecdd0e44b8b89c3e69a
treec5494977758687413da556aae8aae53783cc6724
parent65d76044edfaa2c0fc6135be1e9147be12bc747d
wil6210: fix device ready detection

Adjust driver behavior during FW boot. Proper sequence of
events after reset and FW download, is as following:

- FW prepares mailbox structure and reports IRQ "FW_READY"
- driver caches mailbox registers, marks mailbox readiness
- FW sends WMI_FW_READY event, ignore it
- FW sends WMI_READY event with some data
- driver stores relevant data marks FW is operational

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/interrupt.c
drivers/net/wireless/ath/wil6210/wil6210.h
drivers/net/wireless/ath/wil6210/wmi.c