Skip to content

mac80211_hwsim: Add PMSR support

Jaewan Kim linux-wireless netdev 10 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest5 patches 0 repliesNew
  2. v95 patches 13 repliesSuperseded
  3. v85 patches 16 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v74 patches15 repliesSuperseded
v62 patches7 repliesSuperseded
v52 patches0 repliesSuperseded
v42 patches2 repliesSuperseded
v32 patches2 repliesSuperseded
v22 patches0 repliesSuperseded
v12 patches0 repliesSuperseded

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mac80211_hwsim: add PMSR capability supportdrivers/net/wireless/mac80211_hwsim.c drivers/net/wireless/mac80211_hwsim.h+133 -00 replies
2/5wifi: nl80211: make nl80211_send_chandef non-staticinclude/net/cfg80211.h net/wireless/nl80211.c+11 -20 replies
3/5mac80211_hwsim: add PMSR request support via virtiodrivers/net/wireless/mac80211_hwsim.c drivers/net/wireless/mac80211_hwsim.h+215 -10 replies
4/5mac80211_hwsim: add PMSR abort support via virtiodrivers/net/wireless/mac80211_hwsim.c drivers/net/wireless/mac80211_hwsim.h+64 -00 replies
5/5mac80211_hwsim: add PMSR report support via virtiodrivers/net/wireless/mac80211_hwsim.c drivers/net/wireless/mac80211_hwsim.h+424 -100 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchMichal Kubiak
1/5
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

Cover letter [PATCH v10 0/5] mac80211_hwsim: Add PMSR support

Dear Kernel maintainers,

First of all, thank you for spending your precious time for reviewing my changes.

Let me propose series of patches for adding PMSR support in the mac80211_hwsim.

PMSR (peer measurement) is generalized measurement between STAs, and currently FTM (fine time measurement or flight time measurement) is the one and only measurement.

FTM measures the RTT (round trip time) and FTM can be used to measure distances between two STAs. RTT is often referred as 'measuring distance' as well.

Kernel had already defined protocols for PMSR in the include/uapi/linux/nl80211.h and relevant parsing/sending code are in the net/wireless/pmsr.c, but they are only used in intel's iwlwifi driver.

Patchset is tested with iw tool on Virtual Android device (a.k.a. Cuttlefish). Hope this explains my changes.

Many Thanks,
--
V9 -> V10: Applied reverse xmas tree style (a.k.a. RCS).
V8 -> V9: Removed any wrong words for patch. Changed to reject unknown
PMSR types.
V7 -> V8: Separated patch for exporting nl80211_send_chandef V6 -> V7: Split 'mac80211_hwsim: handle FTM requests with virtio'
with three pieces
V5 -> V6: Added per patch change history.
V4 -> V5: Fixed style
V3 -> V4: Added detailed explanation to cover letter and per patch commit
messages, includes explanation of PMSR and FTM. Also fixed memory leak.
V1 -> V3: Initial commits (include resends)

Jaewan Kim (5):
mac80211_hwsim: add PMSR capability support
wifi: nl80211: make nl80211_send_chandef non-static
mac80211_hwsim: add PMSR request support via virtio
mac80211_hwsim: add PMSR abort support via virtio
mac80211_hwsim: add PMSR report support via virtio

 drivers/net/wireless/mac80211_hwsim.c | 785 +++++++++++++++++++++++++-
 drivers/net/wireless/mac80211_hwsim.h |  58 ++
 include/net/cfg80211.h                |   9 +
 net/wireless/nl80211.c                |   4 +-
 4 files changed, 845 insertions(+), 11 deletions(-)
Signature · 1 line
2.40.0.rc1.284.g88254d51c5-goog