[PATCH 0/2] PR: Support preferred frequency for PASN channel selection
Emily Xia
xiayucheng at google.com
Wed Nov 4 00:41:11 PST 2026
This patch series adds support for caller-specified preferred frequency
during Proximity Ranging (PR) PASN channel negotiation, and ensures
accurate 6 GHz operating class matching when resolving the preferred
channel:
1. Add preferred_freq field to pr_pasn_ranging_params, resolve the
frequency to a channel and op_class with the highest bandwidth from
the common channel set, and fall back to automatic channel selection
if unavailable.
2. In pr_get_preferred_channel(), verify that each candidate op_class
matches is_6ghz_op_class() of the base_op_class resolved from
preferred_freq to avoid falsely selecting 5 GHz op_class 128 when a
6 GHz channel (e.g. channel 149, 6695 MHz) is requested.
Signed-off-by: Emily Xia <xiayucheng at google.com>
Emily Xia (2):
PR: Use preferred frequency for channel selection in PASN ranging
PR: Match 6 GHz op class when resolving preferred freq
src/common/proximity_ranging.c | 114 ++++++++++++++++++++++++++++++++-
src/common/proximity_ranging.h | 1 +
2 files changed, 112 insertions(+), 3 deletions(-)
--
2.56.0.385.gac671c819a-goog
More information about the Hostap
mailing list