]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: configure and enable the wakeup capability
authorRyan Hsu <ryanhsu@qti.qualcomm.com>
Thu, 31 Aug 2017 12:36:16 +0000 (15:36 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 31 Aug 2017 18:17:04 +0000 (21:17 +0300)
commit81973b4d34dec04dd822512fadcdd2f5cd01a01b
treef7a2d1f99fdd9a53e156a1e11141ae629f653af9
parent9acca3eb5cbc4549661888e0bf119923503e596c
ath10k: configure and enable the wakeup capability

ACPI will rely on device driver to tell it if the device could support
wakeup function when system in D3 state.

This has caused some platform can't support remote wakeup correctly,
because the ACPI wakeup GPE is not enabled, hence registers the .set_wakeup
callback to handle it if device supports wakeup.

Tested with QCA6174 hw3.0, firmware ('WLAN.RM.4.4.1-00008-QCARMSWP-1')

Signed-off-by: Ryan Hsu <ryanhsu@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wow.c
drivers/net/wireless/ath/ath10k/wow.h