Content-Type: multipart/mixed; boundary="===============9204784806933939591==" MIME-Version: 1.0 From: James Prestwood To: iwd at lists.01.org Subject: [PATCH v3 06/13] station: set extended key capability Date: Thu, 07 Oct 2021 13:49:50 -0700 Message-ID: <20211007204957.3745985-6-prestwoj@gmail.com> In-Reply-To: 20211007204957.3745985-1-prestwoj@gmail.com --===============9204784806933939591== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 =3D !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 =3D true; + /* RSN takes priority */ if (bss->rsne) { ap_ie =3D bss->rsne; -- = 2.31.1 --===============9204784806933939591==--