ath10k: request credit report if flow control enabled on ep
authorGovind Singh <govinds@codeaurora.org>
Fri, 8 Feb 2019 12:55:35 +0000 (14:55 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 11 Feb 2019 16:29:59 +0000 (18:29 +0200)
commitc40e448e0bcf1541c0d0c42a197ef4f183a83db0
tree9cdda702c5257c14b84f6624999b58d43771fa3a
parentde8781d7e74d0a5ba7938330476c9d33f7db4c83
ath10k: request credit report if flow control enabled on ep

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 on those endpoints where
credit flow control is enabled.

Testing:
    Tested on WCN3990 HW.
    Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1.

Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/htc.c