aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/bss.c
Commit message (Collapse)AuthorAgeFilesLines
* wlantest: Basic Extended Key ID supportAlexander Wetzel2020-03-151-2/+4
| | | | Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
* wlantest: Update BSS IEs based on EAPOL-Key msg 3/4Jouni Malinen2020-02-271-7/+14
| | | | | | | If no Beacon or Probe Response frame has been seen in the capture, use the IEs from EAPOL-Key msg 3/4 to set up BSS information. Signed-off-by: Jouni Malinen <j@w1.fi>
* OCV: Add wlantest support for indicating OCVMathy Vanhoef2018-12-161-2/+3
| | | | | | Add wlantest parsing of the OCV RSN cpability flag. Signed-off-by: Mathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>
* wlantest: Do not ignore RSN/WPA/OSEN element before full BSS infoJouni Malinen2017-11-141-0/+1
| | | | | | | | | | wlantest used to ignore RSN/WPA/OSEN element in (Re)Association Request frame if no Beacon frame had been seen from the AP before the association exchange. This could result in not being able to derive keys properly. Work around this by skipping that step if the BSS entry is not yet complete. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* wlantest: Support variable length PMKJouni Malinen2017-09-051-2/+2
| | | | | | | This is needed to be able to handle key derivation for FILS authentication. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* wlantest: Add support for FT-PSK initial association key derivationJouni Malinen2015-08-061-0/+3
| | | | | | | This adds minimal support for deriving keys for FT-PSK to allow the initial mobility domain association to be analyzed in more detail. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* wlantest: New mgmt_group_cipher values for BSS info and debug logJouni Malinen2015-01-241-3/+10
| | | | | | | This adds BIP-GMAC-128, BIP-GMAC-256, and BIP-CMAC-256 to info_bss command and debug log. Signed-off-by: Jouni Malinen <j@w1.fi>
* wlantest: Recognize CCMP-256, GCMP, and GCMP-256 ciphersAshok Kumar Ponnaiah2014-09-031-2/+10
| | | | | | | This adds support for displaying whether a BSS or STA is using one of the newer cipher suites. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* wlantest: Add support for OSENJouni Malinen2014-05-151-3/+32
| | | | | | | | This allows Hotspot 2.0 OSEN connection to be analyzed more conveniently. The frames from an OSEN association can now be decrypted using an MSK file. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* wlantest: Use add_note() to annotate framesJouni Malinen2013-05-261-8/+8
| | | | | | | This adds debug information from wlantest into pcapng frame comments to make the information more convenient to use, e.g., in Wireshark. Signed-hostap: Jouni Malinen <j@w1.fi>
* wlantest: Fix couple of compiler warningsJouni Malinen2012-08-221-1/+1
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-111-8/+2
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* wlantest: Maintain only a single entry for an active direct linkJouni Malinen2011-01-241-1/+8
| | | | | | | | | | | The TDLS link itself is bidirectional, but there is explicit initiator/responder roles. Remove the other direction of the link if it exists when processing TDLS Setup Confirm to make sure that the link counters are stored for the current TDLS entery. This is also changing the control interface search for TDLS counters to require initiator/responder addresses in the correct order instead of matching entries regardless of the role.
* wlantest: Add support for decrypting WEP framesJouni Malinen2011-01-141-0/+9
|
* wlantest: Add support for decrypting TDLS framesJouni Malinen2010-12-131-0/+4
| | | | | Derive TPK based on TDLS TPK Handshake and decrypt frames on the direct link with TPK-TK.
* wlantest: Derive PMK to existing BSSes when a new passphrase is addedJouni Malinen2010-11-211-16/+25
|
* wlantest: Do not add new BSS/STA entries based on ctrl commandsJouni Malinen2010-11-191-4/+16
| | | | | | Introduce bss_find()/sta_find() as an alternative bss_get()/sta_get() command that do not allocate new BSS/STA entry if no existing entry is found.
* wlantest: Add flush command for dropping all BSS dataJouni Malinen2010-11-181-0/+8
|
* wlantest: Parse WPA/RSN IE and store info for BSS/STAJouni Malinen2010-11-121-0/+93
| | | | | In addition, verify that the parameters that the STA is requesting match with what is enabled in the BSS.
* wlantest: Derive PMK from RADIUS exchangeJouni Malinen2010-11-071-1/+1
| | | | | | Decrypt MPPE keys and derive PMK from RADIUS exchange if RADIUS shared secret is known. Use the derived PMK when trying to derive PTK during 4-Way Handshake.
* wlantest: Add PTK derivation based on passphrasesJouni Malinen2010-11-071-3/+59
| | | | | | | Allow pre-configuration of passphrases (-p<passphrase>) to provide enough information for wlantest to be able to derive PMK for each BSS and PTK for each STA going through 4-Way Handshake (at least message 2 and 3 needs to be received).
* wlantest: Move bss_update() into bss.cJouni Malinen2010-11-071-0/+53
|
* wlantest: Create station list for each BSSJouni Malinen2010-11-071-0/+4
|
* wlantest: Maintain table of BSS informationJouni Malinen2010-11-071-0/+48
Whenever a Beacon or Probe Response frame is observed, add or update a BSS entry to maintain current information about the active BSSes.