Dear Kernel maintainers, I'm proposing series of CLs 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. This series of CLs are the first attempt to utilize PMSR in the mac80211_hwsim. CLs are tested with iw tool on Virtual Android device (a.k.a. Cuttlefish). Hope this explains my CLs. Many Thanks, Jaewan Kim (2): mac80211_hwsim: add PMSR capability support mac80211_hwsim: handle FTM requests with virtio drivers/net/wireless/mac80211_hwsim.c | 827 +++++++++++++++++++++++++- drivers/net/wireless/mac80211_hwsim.h | 56 +- include/net/cfg80211.h | 20 + net/wireless/nl80211.c | 28 +- 4 files changed, 913 insertions(+), 18 deletions(-) -- 2.39.0.246.g2a6d74b583-goog