ath10k: Fix the wrong value of enums for wmi tlv stats id
authorSurabhi Vishnoi <svishnoi@codeaurora.org>
Tue, 9 Apr 2019 06:43:13 +0000 (12:13 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 7 May 2019 13:54:04 +0000 (16:54 +0300)
commit9280f4fc06f44d0b4dc9e831f72d97b3d7cd35d3
tree5e5069465d423d693e2c1e9a7d33338a0ce1e0ec
parent4f735cd73650d8136f8bd78dca8f61f361791622
ath10k: Fix the wrong value of enums for wmi tlv stats id

The enum value for WMI_TLV_STAT_PDEV, WMI_TLV_STAT_VDEV
and WMI_TLV_STAT_PEER is wrong, due to which the vdev stats
are not received from firmware in wmi_update_stats event.

Fix the enum values for above stats to receive all stats
from firmware in WMI_TLV_UPDATE_STATS_EVENTID.

Tested HW: WCN3990
Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1

Fixes: f40a307eb92c ("ath10k: Fill rx duration for each peer in fw_stats for WCN3990)
Signed-off-by: Surabhi Vishnoi <svishnoi@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/wmi.h