[PATCH v3 2/3] ath10k: Disable interface pause wow config for integrated chipset

2019-02-06 Thread Govind Singh
wow pause iface config controls the PCI D0/D3-WOW cases for pcie bus state. Firmware does not expects WOW_IFACE_PAUSE_ENABLED config for bus/link that cannot be suspended ex:snoc and does not trigger common subsystem shutdown. Disable interface pause wow config for integrated chipset(WCN3990) for

[PATCH v3 3/3] ath10k: Request credit report if flow control enabled on ep

2019-02-06 Thread Govind Singh
FW credit flow control is enabled for only WMI ctrl service(CE3) but credit update is requested unconditionally on all HTC services as part of HTC tx in CE3/CE0/CE4. This is causing WOW failure as FW is not expecting credit report request on other end-points(CE0/CE4). Request credit report only

[PATCH v3 0/3] Add support for suspend/resume and WOW for WCN3990 chipset

2019-02-06 Thread Govind Singh
This series adds support for driver suspend/resume and wake over wlan support for WCN3990 chipset. CE2 is configured as wakeup source before driver suspend and FW can wake up application processor on Magic packet/Deauth/AP lost. Changes since v2: * Removed BUS TYPE check and introduced bus

[PATCH v3 1/3] ath10k: Enable bus layer suspend/resume for WCN3990

2019-02-06 Thread Govind Singh
Register snoc bus layer suspend/resume PM ops and configure the wakeup source(CE2) for the device. Testing: Tested on WCN3990 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/snoc.c | 45 ++ 1 file

[PATCH] ath10k: pci: use mutex for diagnostic window CE polling

2019-02-06 Thread Brian Norris
The DIAG copy engine is only used via polling, but it holds a spinlock with softirqs disabled. Each iteration of our read/write loops can theoretically take 20ms (two 10ms timeout loops), and this loop can be run an unbounded number of times while holding the spinlock -- dependent on the request