[PATCH v3 13/46] PR: Fix wrong channel set used in NTB capabilities
Kavita Kavita
kavita.kavita at oss.qualcomm.com
Wed May 13 02:59:37 PDT 2026
From: Peddolla Harshavardhan Reddy <peddolla.reddy at oss.qualcomm.com>
Currently when filling NTB capabilities, pr_get_ntb_capabilities()
copies edca_channels into the capabilities structure. This is
incorrect as NTB ranging uses a separate channel set from EDCA
ranging.
To address this issue, replace the edca_channels reference with
ntb_channels so that the NTB capability advertisement reflects
the correct supported channels.
Fixes: fa6cd439890d ("PR: Add NTB capabilities in USD PR element")
Signed-off-by: Peddolla Harshavardhan Reddy <peddolla.reddy at oss.qualcomm.com>
---
src/common/proximity_ranging.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/proximity_ranging.c b/src/common/proximity_ranging.c
index 96cb8194d..ea229eaef 100644
--- a/src/common/proximity_ranging.c
+++ b/src/common/proximity_ranging.c
@@ -345,7 +345,7 @@ static void pr_get_ntb_capabilities(struct pr_data *pr,
MAX_TX_STS_GT_80;
capab->ntb_hw_caps = ntb_hw_caps;
- os_memcpy(&capab->channels, &pr->cfg->edca_channels,
+ os_memcpy(&capab->channels, &pr->cfg->ntb_channels,
sizeof(struct pr_channels));
}
--
2.34.1
More information about the Hostap
mailing list