ath10k: fix 10.2 fw stats parsing
authorMichal Kazior <michal.kazior@tieto.com>
Sat, 24 Jan 2015 10:14:49 +0000 (12:14 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 Jan 2015 14:04:52 +0000 (16:04 +0200)
commit20de2229c634382777eb3b8fc54a34be9669ff8a
treee801cf2621b9e39f70d8373cbdf12f70146bf5d0
parentb91251fbe88c9db1a7af29cfe49ca50aa4da9cd2
ath10k: fix 10.2 fw stats parsing

Both 10.2 firmware binaries 10.2-00082-4 and
10.2.4.20 have introduced ABI changes to fw_stats
each. This caused fw_stats to output wrong data.

Define new structures and use them to parse the
statistics correctly.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h