aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* FT: Force key configuration after association in FT-over-DSJouni Malinen2010-04-043-1/+3
| | | | | | This seems to be needed at least with mac80211 when a STA is using FT-over-DS to reassociate back to the AP when the AP still has the previous association state.
* Add AP-STA-DISCONNECT event for driver-based MLMEJouni Malinen2010-04-041-0/+3
|
* Allow hostapd_notif_assoc() to be called with all IEsJouni Malinen2010-04-041-0/+22
| | | | | | | This makes the call simpler for driver wrappers since there is no need to parse the IEs anymore before indicating association. In addition, this allows association processing to be extended to use other IEs in the future.
* Fix Windows compilation issues with AP mode codeJouni Malinen2010-04-045-18/+12
|
* Add address to hostapd_logger output in wpa_supplicant as AP caseJouni Malinen2010-04-041-0/+3
|
* WPS: Do not include Label in default Config MethodsJouni Malinen2010-04-041-2/+1
| | | | | | This avoids conflict with both Label and Display being included at the same time (which would make it difficult to figure out which PIN was actually used).
* WPS: Fix PBC session overlap detection to use Device Password IdJouni Malinen2010-04-041-4/+8
| | | | | Active PBC mode is indicated by Device Password Id == 4, not Config Methods attribute.
* driver_osx: Update set_key arguments to fix buildJouni Malinen2010-04-041-1/+2
|
* MFP: Fix IGTK PN in group rekeyingJouni Malinen2010-03-301-1/+2
| | | | | | | IGTK get_seqnum needs to be skipped in the same way as GTK one when rekeying group keys. Previously, the old PN value (the one from the previous key) was indicated and that resulted in MMIE replay detection at the station.
* Add a drop_sa command to allow 802.11w testingJouni Malinen2010-03-294-0/+51
| | | | This drops PTK and PMK without notifying the AP.
* MFP: Add SA Query Request processing in AP modeJouni Malinen2010-03-291-0/+45
|
* Add test commands for sending deauth/disassoc without dropping stateJouni Malinen2010-03-295-5/+88
| | | | | | | | | | | This can be used to test 802.11w by sending a protected or unprotected deauth/disassoc frame. hostapd_cli deauth <dst addr> test=<0/1> hostapd_cli disassoc <dst addr> test=<0/1> test=0: unprotected test=1: protected
* Add deauthenticate/disassociate ctrl_iface commandsJouni Malinen2010-03-292-0/+78
|
* MFP: Add MFPR flag into station RSN IE if 802.11w is mandatoryJouni Malinen2010-03-295-2/+10
|
* Fix ctrl_iface get-STA-MIB for WPS disabled caseJouni Malinen2010-03-291-0/+2
| | | | | The previous version would crash here on NULL pointer dereference if WPS was disabled.
* bgscan: Add signal strength change eventsJouni Malinen2010-03-284-16/+109
| | | | | | | | | | | | | This allows bgscan modules to use more information to decide on when to perform background scans. bgscan_simple can now change between short and long background scan intervals based on signal strength and in addition, it can trigger immediate scans when the signal strength is detected to be dropping. bgscan_simple takes following parameters now: short interval:signal strength threshold:long interval For example: bgscan="simple:30:-45:300"
* Add driver command and event for signal strength monitoringJouni Malinen2010-03-284-3/+93
|
* nl80211: Parse CQM eventsJouni Malinen2010-03-281-0/+34
|
* Sync with wireless-testing.git include/linux/nl80211.hJouni Malinen2010-03-281-0/+60
|
* nl80211: Fix WEP key configuration for prior to authenticationHolger Schurig2010-03-281-2/+2
| | | | | The driver data was changed from struct wpa_driver_nl80211_data * to struct i802_bss * and the internal call will need to match that change.
* Fix wpa_auth_iface_iter() to skip BSSes without AuthenticatorJouni Malinen2010-03-271-1/+2
| | | | | This could cause NULL pointer deference if multi-BSS configuration was used with OKC in some cases.
* Add freq_list network configuration parameterJouni Malinen2010-03-274-11/+97
| | | | | | | This can be used to limit which frequencies are considered when selecting a BSS. This is somewhat similar to scan_freq, but will also affect any scan results regardless of which program triggered the scan.
* nl80211: Add more debug information about scan request parametersJouni Malinen2010-03-271-1/+9
|
* nl80211: Silence set_key ENOLINK failure messages on key clearingJouni Malinen2010-03-271-1/+1
| | | | | This happens in common case and is expected, so there is no need to include the potentially confusing failure message in the debug log.
* FT: Fix Authorized flag setting for FT protocolJouni Malinen2010-03-132-5/+11
| | | | | | 4-way handshake or EAPOL is not used in this case, so we must force Authorized flag to be set at the conclusion of successful FT protocol run.
* FT: Clean EAPOL supp portValid to force re-entry to AUTHENTICATEDJouni Malinen2010-03-131-1/+6
| | | | | This fixed FT-over-DS to end up in Authorized state when the EAPOL PAE state machine re-enters AUTHENTICATED.
* FT: Process reassoc resp FT IEs when using wpa_supplicant SMEJouni Malinen2010-03-133-0/+18
|
* FT: Fix PTK configuration in authenticatorJouni Malinen2010-03-133-4/+15
| | | | | | Must update sm->pairwise when fetching PMK-R1 SA. Add a workaround for drivers that cannot set keys before association (e.g., cfg80211/mac80211): retry PTK configuration after association.
* FT: Add driver op for marking a STA authenticatedJouni Malinen2010-03-135-0/+36
| | | | | | This can be used with FT-over-DS where FT Action frame exchange triggers transition to State 2 (authenticated) without Authentication frame exchange.
* FT: Update SME frequency info before sme_associate() callJouni Malinen2010-03-131-1/+10
| | | | | This is needed to allow FT-over-DS to request correct channel for the reassociation with the target AP.
* FT: Add a workaround to set PTK after reassociationJouni Malinen2010-03-132-9/+29
| | | | | | | If the PTK configuration prior to association fails, allow reassociation attempt to continue and configure PTK after association. This is a workaround for drivers that do not allow PTK to be configured before association (e.g., current cfg80211/mac80211).
* FT: Request reassociation after successful FT Action frame exchangeJouni Malinen2010-03-133-7/+18
|
* Fix WPS IE in Probe Response frame to include proper Config Methods valuesJouni Malinen2010-03-131-1/+5
| | | | | | | This attribute is supposed to indicate which methods the AP supports as an Enrollee for adding external Registrars. It was left to 0 when the AP code did not yet support external Registrars and was forgotten when the ER support was added.
* wpa_cli: Improved command parameter tab completionJouni Malinen2010-03-121-2/+48
|
* wpa_cli: Fix detach race with forked monitor processJouni Malinen2010-03-121-8/+9
| | | | | | Need to kill the monitor process before running detach command on the monitor connection to avoid race where the monitor process may end up getting the detach command result.
* wpa_cli: Redisplay readline edit after event messagesJouni Malinen2010-03-121-1/+45
|
* FT: Add preliminary processing of FT Action Response from EVENT_RX_ACTIONJouni Malinen2010-03-111-0/+58
| | | | | | | Previously, this was only done with userspace MLME (i.e., driver_test.c); now, driver_nl80211.c can deliver the FT Action Response (FT-over-DS) for processing. The reassociation after successful FT Action frame exchange is not yet implemented.
* nl80211: Fix FT Action send commandJouni Malinen2010-03-111-2/+2
| | | | | Need to include payload header in the data length to avoid sending truncated FT Action frame.
* NetBSD: Fix driver_bsd.c buildMasashi Honma2010-03-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | On NetBSD 5.0.2, wpa_supplicant build results in messages below. ../src/drivers/driver_bsd.c: In function 'wpa_driver_bsd_get_ssid': ../src/drivers/driver_bsd.c:876: warning: passing argument 2 of 'bsd_get_ssid' from incompatible pointer type ../src/drivers/driver_bsd.c:876: warning: passing argument 3 of 'bsd_get_ssid' makes integer from pointer without a cast ../src/drivers/driver_bsd.c:876: error: too many arguments to function 'bsd_get_ssid' ../src/drivers/driver_bsd.c: In function 'wpa_driver_bsd_scan': ../src/drivers/driver_bsd.c:1125: warning: passing argument 2 of 'bsd_set_ssid' from incompatible pointer type ../src/drivers/driver_bsd.c:1125: warning: passing argument 3 of 'bsd_set_ssid' makes integer from pointer without a cast ../src/drivers/driver_bsd.c:1125: error: too many arguments to function 'bsd_set_ssid' gmake: *** [../src/drivers/driver_bsd.o] Error 1 This patch solves this issue.
* nl80211: Add preliminary implementation of FT Action sendJouni Malinen2010-03-071-2/+68
| | | | | | | This is a step in adding FT support with nl80211-based drivers. driver_nl80211.c is now registering to handle the FT Action frames and is able to transmit FT Request frame. Received FT Action frames are not yet indicated as driver events.
* FT: Include pairwise cipher suite in PMK-R0 SA and PMK-R1 SAJouni Malinen2010-03-072-20/+45
| | | | | | | This is needed to fix PTK derivation to use correct length. Previously, 64-octet PTK may have been derived if the authenticator did not already have a STA entry. Now, the correct pairwise cipher suite is learned when then PMK-R1 SA is received.
* nl80211: Fix driver context pointer for auth-failure-caseJouni Malinen2010-03-071-1/+1
| | | | | | The new per-BSS context needs to be used here when calling wpa_driver_nl80211_deauthenticate() to avoid passing incorrect data type to the function.
* Fix a typo in r1kh config parameter descriptionJouni Malinen2010-03-071-1/+1
| | | | The second item on the line is R1KH-ID, not R0KH-ID.
* Fix typo in WPA_AUTH_ALG_FT definitionMarcin Marzec2010-03-071-1/+1
| | | | | | This was not supposed to have duplicate value with WPA_AUTH_ALG_LEAP. The previous version was unable to set FT as the authentication algorithm with nl80211.
* wpa_gui: Remove unneeded wpa_ctrl_request() msg_cbJouni Malinen2010-03-071-10/+1
|
* Remove unnecessary ifname parameter from set_ap_wps_ie() driver opJouni Malinen2010-03-076-13/+6
|
* Remove unnecessary ifname parameter from set_ht_params() driver opJouni Malinen2010-03-073-9/+7
|
* Remove unnecessary ifname parameter to sta_set_flags() driver opJouni Malinen2010-03-078-14/+11
|
* Remove unnecessary ifname parameter from sta_add() driver opJouni Malinen2010-03-078-17/+13
|
* Remove unnecessary ifname parameter from hapd_get_ssid/hapd_set_ssidJouni Malinen2010-03-077-20/+14
|