Skip to content

ath10k: fix mesh sync operation

Thomas Pedersen ath10k linux-wireless 1 version Applied

Status from this message: Applied both now - no reason to apply them in the order you sent them.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4mac80211: add offset_tsf driver opinclude/net/mac80211.h net/mac80211/debugfs_netdev.c net/mac80211/driver-ops.c +3 more+68 -60 replies
2/4ath10k: implement offset_tsf ieee80211_opdrivers/net/wireless/ath/ath10k/mac.c drivers/net/wireless/ath/ath10k/wmi.c drivers/net/wireless/ath/ath10k/wmi.h+34 -02 replies
3/4ath10k: remove set/get_tsf ieee80211_opsdrivers/net/wireless/ath/ath10k/mac.c drivers/net/wireless/ath/ath10k/wmi-tlv.c drivers/net/wireless/ath/ath10k/wmi.c +1 more+0 -440 replies
4/4mac80211: mesh: decrease max driftnet/mac80211/mesh_sync.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] ath10k: fix mesh sync operation

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(-)
Signature · 7 lines
2.10.0.297.gf6727b0


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k