]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: remove set/get_tsf ieee80211_ops
authorPedersen, Thomas <twp@qca.qualcomm.com>
Wed, 28 Sep 2016 23:56:30 +0000 (16:56 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 23 Nov 2016 13:54:17 +0000 (15:54 +0200)
commitfe680aef5d252850f21b36f1c94561e2a6f882f8
treee053fbc13c5bff8f685e01d977b12ea81f62b29d
parent2f91b639eb4f9408b82bd835d36cbd7541740072
ath10k: remove set/get_tsf ieee80211_ops

Neither of these did the right thing:

- get_tsf just returned 0
- set_tsf assumed a simple offset was applied against
  get_tsf(), which works, except in the case of
  calculating TSF from rx_mactime (actual TSF).

Just remove them for now. We can reimplement set_tsf in
terms of TSF increment/decrement in the future if get_tsf
is ever supported by FW.

Signed-off-by: Thomas Pedersen <twp@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi-tlv.c
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h