linux_dsm_epyc7002/drivers/net/wireless/ath/ath6kl
Raja Mani 081c7a84e9 ath6kl: Wait for host sleep mode cmd processed event during WOW suspend
For every WMI_SET_HOST_SLEEP_MODE_CMDID command (send from the host),
the firmware sends WMI_SET_HOST_SLEEP_MODE_CMD_PROCESSED_EVENTID as
an acknowledgement to the host.

In order to being sync with the firmware, the host has to wait for
WMI_SET_HOST_SLEEP_MODE_CMD_PROCESSED_EVENT event before going to
the suspend state. This patch ensures ath6kl_wow_suspend() waits
until it gets this event after sending set host sleep mode command.

This patch adds,
 * New command WMI_SET_HOST_SLEEP_MODE_CMD_PROCESSED_EVENTID in
   WMI event table.
 * New WMI function ath6kl_wmi_host_sleep_mode_cmd_prcd_evt_rx()
   to process the event.
 * New flag HOST_SLEEP_MODE_CMD_PROCESSED in VIF flags to record
   the arrival of the event.

Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2012-01-30 21:22:55 +02:00
..
bmi.c ath6kl: add back beginnings of USB support 2012-01-18 13:59:51 +02:00
bmi.h ath6kl: change bmi sizes being configurable by HIF 2011-11-13 12:34:29 +02:00
cfg80211.c ath6kl: Wait for host sleep mode cmd processed event during WOW suspend 2012-01-30 21:22:55 +02:00
cfg80211.h ath6kl: create core.c 2012-01-18 13:59:49 +02:00
common.h ath6kl: create core.c 2012-01-18 13:59:49 +02:00
core.c ath6kl: Re-architect suspend mode handling in ath6kl_sdio_suspend 2012-01-30 21:22:54 +02:00
core.h ath6kl: Wait for host sleep mode cmd processed event during WOW suspend 2012-01-30 21:22:55 +02:00
debug.c ath6kl: create ath6kl_core.ko 2012-01-18 13:59:51 +02:00
debug.h ath6kl: add back beginnings of USB support 2012-01-18 13:59:51 +02:00
hif-ops.h ath6kl: move diag commands to hif driver 2011-11-13 12:34:29 +02:00
hif.c ath6kl: add back beginnings of USB support 2012-01-18 13:59:51 +02:00
hif.h ath6kl: AR6004 SDIO support 2011-11-13 12:34:30 +02:00
htc.c ath6kl: add back beginnings of USB support 2012-01-18 13:59:51 +02:00
htc.h ath6kl: use ath6kl_credit prefix consistently 2011-11-11 12:58:54 +02:00
init.c ath6kl: fix testmode when fw-2.bin or fw-3.bin is used 2012-01-30 21:08:45 +02:00
Kconfig ath6kl: add back beginnings of USB support 2012-01-18 13:59:51 +02:00
main.c ath6kl: Fix kernel panic during rx aggregation 2012-01-30 21:11:30 +02:00
Makefile ath6kl: add back beginnings of USB support 2012-01-18 13:59:51 +02:00
sdio.c ath6kl: Re-architect suspend mode handling in ath6kl_sdio_suspend 2012-01-30 21:22:54 +02:00
target.h ath6kl: add board address to struct ath6kl_hw 2011-11-16 10:22:33 +02:00
testmode.c ath6kl: send TCMD response through testmode events 2012-01-02 18:50:42 +02:00
testmode.h ath6kl: send TCMD response through testmode events 2012-01-02 18:50:42 +02:00
txrx.c ath6kl: Fix kernel panic during rx aggregation 2012-01-30 21:11:30 +02:00
usb.c ath6kl: add back beginnings of USB support 2012-01-18 13:59:51 +02:00
wmi.c ath6kl: Wait for host sleep mode cmd processed event during WOW suspend 2012-01-30 21:22:55 +02:00
wmi.h ath6kl: Wait for host sleep mode cmd processed event during WOW suspend 2012-01-30 21:22:55 +02:00