From: Thomas Pedersen <twp@qca.qualcomm.com>
To: ath10k <ath10k@lists.infradead.org>
Cc: Thomas Pedersen <twp@qca.qualcomm.com>,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: [PATCH 0/4] ath10k: fix mesh sync operation
Date: Wed, 28 Sep 2016 16:56:27 -0700 [thread overview]
Message-ID: <20160928235631.9197-1-twp@qca.qualcomm.com> (raw)
This patchset introduces a new ieee80211_op offset_tsf(), which gives
the driver a s64 TSF offset for TSF adjustment. This is more accurate
than programming absolute TSF since programming delay is avoided.
ath10k can't get the current TSF or program an absolute TSF, so we
remove those ops to not mislead the stack and hopefully avoid future
bugs.
Tested on QCA4019 with firmware 10.4-3.2.1-0033. After this change
Toffset remains stable to within 5us.
Thomas Pedersen (4):
mac80211: add offset_tsf driver op
ath10k: implement offset_tsf ieee80211_op
ath10k: remove set/get_tsf ieee80211_ops
mac80211: mesh: decrease max drift
drivers/net/wireless/ath/ath10k/mac.c | 45 +++++++++++--------------------
drivers/net/wireless/ath/ath10k/wmi-tlv.c | 1 -
drivers/net/wireless/ath/ath10k/wmi.c | 6 ++---
drivers/net/wireless/ath/ath10k/wmi.h | 8 +++++-
include/net/mac80211.h | 8 ++++++
net/mac80211/debugfs_netdev.c | 12 ++++++---
net/mac80211/driver-ops.c | 15 +++++++++++
net/mac80211/driver-ops.h | 3 +++
net/mac80211/mesh_sync.c | 12 ++++++---
net/mac80211/trace.h | 26 ++++++++++++++++++
10 files changed, 94 insertions(+), 42 deletions(-)
--
2.10.0.297.gf6727b0
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
next reply other threads:[~2016-09-28 23:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-28 23:56 Thomas Pedersen [this message]
2016-09-28 23:56 ` [PATCH 1/4] mac80211: add offset_tsf driver op Thomas Pedersen
2016-09-28 23:56 ` [PATCH 2/4] ath10k: implement offset_tsf ieee80211_op Thomas Pedersen
2016-10-04 15:34 ` [2/4] " Kalle Valo
2016-11-23 13:54 ` Kalle Valo
2016-09-28 23:56 ` [PATCH 3/4] ath10k: remove set/get_tsf ieee80211_ops Thomas Pedersen
2016-09-28 23:56 ` [PATCH 4/4] mac80211: mesh: decrease max drift Thomas Pedersen
2016-09-30 11:47 ` [PATCH 0/4] ath10k: fix mesh sync operation Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160928235631.9197-1-twp@qca.qualcomm.com \
--to=twp@qca.qualcomm.com \
--cc=ath10k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox