mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
3b801526f0
Unfortunately there is no way to determine the MIC length just from the eapol frame. 802.11 defined AKMs define the MIC length, but non 802.11 AKMs (e.g. OWE) can define their own MIC length. For this reason it seem infeasable to track these special AKM's data flow to determine the MIC length. To work around this we can just try different MIC lengths (since there are only 3 after all). This allows us to get key data length and see if the total packet size equals the frame length + key data length. If the sizes don't match we can try the next MIC length. |
||
---|---|---|
.. | ||
display.c | ||
display.h | ||
main.c | ||
nlmon.c | ||
nlmon.h | ||
pcap.c | ||
pcap.h |