Return-path: Received: from wolverine01.qualcomm.com ([199.106.114.254]:44310 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752123AbcJDPeT (ORCPT ); Tue, 4 Oct 2016 11:34:19 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: [2/4] ath10k: implement offset_tsf ieee80211_op From: Kalle Valo In-Reply-To: <20160928235631.9197-3-twp@qca.qualcomm.com> References: <20160928235631.9197-3-twp@qca.qualcomm.com> To: "Pedersen, Thomas" CC: ath10k , Thomas Pedersen , linux-wireless Message-ID: (sfid-20161004_173423_230779_853EA43C) Date: Tue, 4 Oct 2016 17:34:12 +0200 Sender: linux-wireless-owner@vger.kernel.org List-ID: "Pedersen, Thomas" wrote: > Current set_tsf is implemented in terms of TSF_INCREMENT > only. Instead support new WMI command TSF_DECREMENT and > export these through offset_tsf. Advantage is we get > more accurate TSF adjustments, and don't calculate wrong > offset in case absolute TSF was calculated from rx_mactime > (actual TSF). > > The new WMI command is available in firmware > 10.4-3.2.1-00033 for QCA4019 chips. Old drivers on new > firmware or vice versa shouldn't be a problem since > get/set tsf logic was already broken. > > Signed-off-by: Thomas Pedersen Depends on: 3a53731df7e2 mac80211: mesh: decrease max drift 354d381baf11 mac80211: add offset_tsf driver op and use it for mesh 2 patches set to Awaiting Upstream. 9355377 [2/4] ath10k: implement offset_tsf ieee80211_op 9355375 [3/4] ath10k: remove set/get_tsf ieee80211_ops -- https://patchwork.kernel.org/patch/9355377/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches