* [PATCH v3 02/13] handshake: add flags/key index for extended key IDs
@ 2021-10-07 20:49 James Prestwood
0 siblings, 0 replies; 2+ messages in thread
From: James Prestwood @ 2021-10-07 20:49 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 972 bytes --]
ext_key_id_capable indicates the handshake has set the capability bit
in the RSN info. This will only be set if the AP also has the capability
set.
active_tk_index is the key index the AP chose in message 3. This is
now used for both legacy (always zero) and extended key IDs.
---
src/handshake.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/handshake.h b/src/handshake.h
index 36ccc3a2..d57a3794 100644
--- a/src/handshake.h
+++ b/src/handshake.h
@@ -128,6 +128,7 @@ struct handshake_state {
bool support_fils : 1;
bool authenticator_ocvc : 1;
bool supplicant_ocvc : 1;
+ bool ext_key_id_capable : 1;
uint8_t ssid[32];
size_t ssid_len;
char *passphrase;
@@ -138,6 +139,7 @@ struct handshake_state {
uint8_t gtk_rsc[6];
uint8_t proto_version : 2;
unsigned int gtk_index;
+ uint8_t active_tk_index;
struct erp_cache_entry *erp_cache;
bool support_ip_allocation : 1;
uint32_t client_ip_addr;
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v3 02/13] handshake: add flags/key index for extended key IDs
@ 2021-10-08 13:46 Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2021-10-08 13:46 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
Hi James,
On 10/7/21 3:49 PM, James Prestwood wrote:
> ext_key_id_capable indicates the handshake has set the capability bit
> in the RSN info. This will only be set if the AP also has the capability
> set.
>
> active_tk_index is the key index the AP chose in message 3. This is
> now used for both legacy (always zero) and extended key IDs.
> ---
> src/handshake.h | 2 ++
> 1 file changed, 2 insertions(+)
>
I merged this patch with patch 8 since they seem to go logically together.
Applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-08 13:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-07 20:49 [PATCH v3 02/13] handshake: add flags/key index for extended key IDs James Prestwood
2021-10-08 13:46 Denis Kenzior
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.