hostapd/wlantest
Jouni Malinen 153739b4ff wlantest: Clone new PTK to all potentially matching STA entries for MLO
It is possible for there to be multiple STA entries (e.g., one for each
BSS) when a sniffer capture contains multiple associations using MLO.
For such cases, the new PTK information needs to be updated to all
existing STA entries to be able to find the latest TK when decrypting
following frames since the other STA entries might be located first when
trying to figure out how to decrypt a frame.

In addition to the PTK, copy the MLD MAC addresses to the other STA and
BSS entries to make sure the latest values are used when trying to
decrypt frames.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2022-11-09 22:55:35 +02:00
..
.gitignore gitignore: Clean up a bit 2020-10-11 19:32:50 +03:00
bip.c wlantest: Fix bip_protect() memory allocation 2016-03-14 18:42:46 +02:00
bss.c wlantest: Fix PMK length and passphrase-based key derivation for FT 2021-10-14 16:28:02 +03:00
ccmp.c wlantest: MLD MAC Address in CCMP/GCMP AAD/nonce 2022-09-05 23:08:43 +03:00
ctrl.c OCV: Add wlantest support for indicating OCV 2018-12-17 00:02:14 +02:00
gcmp.c wlantest: MLD MAC Address in CCMP/GCMP AAD/nonce 2022-09-05 23:08:43 +03:00
inject.c wlantest: MLD MAC Address in CCMP/GCMP AAD/nonce 2022-09-05 23:08:43 +03:00
Makefile wlantest: Key derivation for SAE-EXT-KEY 2022-10-12 22:33:27 +03:00
monitor.c wlantest: Comment out Linux packet socket from OS X build 2020-04-05 18:53:59 +03:00
process.c Use a less generic name for IEEE802.11 CRC-32 routine 2022-09-16 21:39:47 +03:00
readpcap.c wlantest: Detect and report plaintext payload in protected frames 2020-03-14 17:36:41 +02:00
rx_data.c wlantest: Find a STA entry based on MLO affiliated link addresses 2022-09-29 13:08:37 +03:00
rx_eapol.c wlantest: Clone new PTK to all potentially matching STA entries for MLO 2022-11-09 22:55:35 +02:00
rx_ip.c wlantest: Avoid unaligned iphdr pointers 2021-02-13 23:07:34 +02:00
rx_mgmt.c wlantest: Clone new PTK to all potentially matching STA entries for MLO 2022-11-09 22:55:35 +02:00
rx_tdls.c Simplify Timeout Interval element parsing 2015-04-22 22:05:11 +03:00
sta.c wlantest: Clone new PTK to all potentially matching STA entries for MLO 2022-11-09 22:55:35 +02:00
test_vectors.c Use a less generic name for IEEE802.11 CRC-32 routine 2022-09-16 21:39:47 +03:00
tkip.c Use a less generic name for IEEE802.11 CRC-32 routine 2022-09-16 21:39:47 +03:00
wep.c Use a less generic name for IEEE802.11 CRC-32 routine 2022-09-16 21:39:47 +03:00
wired.c wlantest: Use BSD compatible UDP header struct 2020-04-05 18:53:59 +03:00
wlantest.c wlantest: Add the missing command line option -W to the usage text 2021-12-11 21:54:39 +02:00
wlantest.h wlantest: Clone new PTK to all potentially matching STA entries for MLO 2022-11-09 22:55:35 +02:00
wlantest_cli.c wlantest: Replace the duplicate functions with reuse of cli.h 2021-12-11 21:50:41 +02:00
wlantest_ctrl.h wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
writepcap.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00