These changes are done to add ability to discover peers capable of Proximity Ranging using the USD frames and perform Proximity Ranging negotiation which will be done by piggybacking on the PASN frames. Proximity Ranging negotiation is done to decide ranging role, ranging Type, ranging channel while PASN is done for Authentication. The Draft spec used for this feature is "Proximity Ranging Implementation Considerations for P2P Operation" 2025. Peddolla Harshavardhan Reddy (34): PR: Initialize Proximity Ranging global context PR: Update PR device configs and capabilities from driver PR: Add API to initiate USD for Proximity Ranging PR: Add support to process PR elements in USD frames PR: API to add ranging capabilities in USD PR IE PR: API to add EDCA capabilities in USD PR IE PR: API to add NTB capabilities in USD PR IE PR: Fetch Device Identity Key from configuration file PR: API to derive and add DIRA in USD PR IE PR: APIs to add and clear Device Identity Key, password and PMK PR: Add support to parse attributes of ranging IE PR: API to process ranging capabilities from USD PR IE PR: API to process EDCA capabilities from USD PR IE PR: API to process NTB capabilities from USD PR IE PR: API to validate DIRA from USD PR IE PR: Add support to initiate PASN authentication for Proximity Ranging PR: Set password/PMK based on auth mode and configure RSNXE PR: Add PR IE with capabilities and operation mode in PASN auth1 frame PR: Add API to check the input params of PASN Auth request PR: Add support to handle PR PASN auth tx status PR: Add support to handle PR PASN auth rx frame PR: Add support to handle PR IE in Auth M1 and prepare M2 PR: Add support to handle PR IE in Auth M2 and prepare M3 PR: Add support to handle PR IE in Auth M3 PR: Compare PR capabilites of Auth frame and USD info of peer PR: Add support to set keys of PASN authentication PR: Add support to notify PR PASN result on initiator and responder PR: Update PR device mac address on mac randomization PR: Control iface support to initiate USD with PR elements PR: Control iface support to trigger PR PASN Authentication PR: Control iface support to set and clear PR device identity context PR: wpa_cli support for PR discovery and PR secure negotiation PR tests: Proximity Ranging test cases PR tests: Enable Proximity Ranging hwsim tests src/common/ieee802_11_common.c | 5 + src/common/ieee802_11_common.h | 2 + src/common/ieee802_11_defs.h | 7 + src/common/nan_de.c | 60 +- src/common/nan_de.h | 10 + src/common/proximity_ranging.c | 2418 +++++++++++++++++++++ src/common/proximity_ranging.h | 460 ++++ src/common/wpa_ctrl.h | 5 + src/drivers/driver.h | 23 + tests/hwsim/example-wpa_supplicant.config | 2 + tests/hwsim/test_pr.py | 246 +++ wpa_supplicant/Android.mk | 6 + wpa_supplicant/Makefile | 6 + wpa_supplicant/config.c | 2 + wpa_supplicant/config.h | 9 + wpa_supplicant/config_file.c | 4 + wpa_supplicant/ctrl_iface.c | 123 ++ wpa_supplicant/events.c | 16 +- wpa_supplicant/nan_usd.c | 40 +- wpa_supplicant/notify.c | 10 + wpa_supplicant/notify.h | 4 +- wpa_supplicant/pr_supplicant.c | 420 ++++ wpa_supplicant/pr_supplicant.h | 90 + wpa_supplicant/wpa_cli.c | 37 +- wpa_supplicant/wpa_supplicant.c | 23 +- wpa_supplicant/wpa_supplicant_i.h | 19 + 26 files changed, 4024 insertions(+), 23 deletions(-) create mode 100644 src/common/proximity_ranging.c create mode 100644 src/common/proximity_ranging.h create mode 100644 tests/hwsim/test_pr.py create mode 100644 wpa_supplicant/pr_supplicant.c create mode 100644 wpa_supplicant/pr_supplicant.h -- 2.34.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap