]> git.ipfire.org Git - thirdparty/hostap.git/commit
PR: Handle PR element in PASN Auth M1 and prepare M2
authorPeddolla Harshavardhan Reddy <peddolla@qti.qualcomm.com>
Mon, 28 Apr 2025 10:02:59 +0000 (15:32 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 17 Oct 2025 10:22:51 +0000 (13:22 +0300)
commitef1b1587d31535cc50101d014bd53e7bb579eb91
tree58edb51aa8d815b6623ae5bfcad264136f684678
parentda95d9da51a17d65f5255aa9b75b7c48ec1c3eb0
PR: Handle PR element in PASN Auth M1 and prepare M2

Validate the PR element received in PASN Auth M1. Attributes such as
capabilities and ranging capabilities are validated. In case where
validation of the PR element fails or processing of M1 frame fails or
operation mode could not be derived, status is set as failure and M2 is
sent. In case a PR elements could be validated and operation mode could
be derived, capabilities and preferred ranging type capabilities,
operation mode, and status as success are added to the PR element for M2
and sent.

Signed-off-by: Peddolla Harshavardhan Reddy <peddolla@qti.qualcomm.com>
src/common/proximity_ranging.c
src/common/proximity_ranging.h