All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 06/13] station: set extended key capability
@ 2021-10-07 20:49 James Prestwood
  0 siblings, 0 replies; only message in thread
From: James Prestwood @ 2021-10-07 20:49 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

If wiphy and the AP suppor it, set the Extended Key ID capability
bit in the RSN info.
---
 src/station.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/station.c b/src/station.c
index f12cdde5..30335170 100644
--- a/src/station.c
+++ b/src/station.c
@@ -1087,6 +1087,10 @@ build_ie:
 
 	info.ocvc = !disable_ocv;
 
+	/* Extended Key IDs can only be used if supported by both AP and STA */
+	if (wiphy_supports_ext_key_id(wiphy) && bss_info.extended_key_id)
+		info.extended_key_id = true;
+
 	/* RSN takes priority */
 	if (bss->rsne) {
 		ap_ie = bss->rsne;
-- 
2.31.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-07 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-07 20:49 [PATCH v3 06/13] station: set extended key capability James Prestwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.