ath10k: Fix survey reporting with QCA4019
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Mon, 9 May 2016 18:57:14 +0000 (21:57 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 11 May 2016 19:53:10 +0000 (22:53 +0300)
commitee9ca147c59c0ee128bbf7fc079ee49401070086
tree487b933b6eda2b82828bc654220f975c5a085bdb
parent36bd39bb0ae8544e3f5b9c1af45f39f51075611b
ath10k: Fix survey reporting with QCA4019

In QCA4019, cycle counter wraparound in same fashion
as QCA988X. When the cycle counter wraparound it
resets to 0x7fffffff. Set has_shifted_cc_wraparound to
true for QCA4019 to enable the code path to handle cycle
counter wraparound for consistent survey report.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c