diff options
author | Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> | 2013-03-13 08:12:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-13 14:26:21 -0400 |
commit | 55f7acdd2440285c5b1236e29c4194eacd624008 (patch) | |
tree | ac50f8b9987ccf4a065c70e468d6eb0259c552e3 /drivers/net/wireless/ath/wil6210/wil6210.h | |
parent | c7996ef852d2c8382b381268b53657175cc2dbc0 (diff) |
wil6210: new SW reset
New firmware allows for shorter SW reset procedure.
After SW reset, FW raises "fw done" IRQ, at this
moment mailbox control structures are initialized, driver caches it.
New status bit wil_status_reset_done introduced to track completion
of the reset. It is set by "fw ready" irq, and required for WMI rx flow
to access control structures.
WMI Tx flow protected by other status bit, wil_status_fwready. It can't
be set before wil_status_reset_done is set by design.
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/wil6210.h')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/wil6210.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wil6210/wil6210.h b/drivers/net/wireless/ath/wil6210/wil6210.h index 5f500de957fe..2ec7258b191c 100644 --- a/drivers/net/wireless/ath/wil6210/wil6210.h +++ b/drivers/net/wireless/ath/wil6210/wil6210.h | |||
@@ -186,6 +186,7 @@ enum { /* for wil6210_priv.status */ | |||
186 | wil_status_fwready = 0, | 186 | wil_status_fwready = 0, |
187 | wil_status_fwconnected, | 187 | wil_status_fwconnected, |
188 | wil_status_dontscan, | 188 | wil_status_dontscan, |
189 | wil_status_reset_done, | ||
189 | wil_status_irqen, /* FIXME: interrupts enabled - for debug */ | 190 | wil_status_irqen, /* FIXME: interrupts enabled - for debug */ |
190 | }; | 191 | }; |
191 | 192 | ||