]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: add cycle/rx_clear counters frequency to hw_params
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Wed, 12 Aug 2015 10:54:05 +0000 (16:24 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 17 Aug 2015 13:46:21 +0000 (16:46 +0300)
commit7ed003469a5f78966ff6e6dcb88f069bf6035a63
tree478792ec5c546f0c9228461546dd29a2e6393bac
parente100be9a0dab0c26cab9644bc1adc6bb9497940c
ath10k: add cycle/rx_clear counters frequency to hw_params

The frequency at which cycle/rx_clear counters are running might
change from one target type to another. QCA99X0 is running the
counters at 150Mhz while QCA9888X and QCA6174 are running at 88Mhz.
Add a new entry to hw_params to store the target specific frequency
and use it in msecs conversion. This change fixes inconsistent
channel active/busy time.

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
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/hw.c
drivers/net/wireless/ath/ath10k/hw.h