aboutsummaryrefslogtreecommitdiffstats
path: root/src
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-292-0/+16
| | | | 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-293-1/+26
| | | | | | | | | | | 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
* MFP: Add MFPR flag into station RSN IE if 802.11w is mandatoryJouni Malinen2010-03-294-2/+9
|
* 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.
* Add driver command and event for signal strength monitoringJouni Malinen2010-03-283-3/+84
|
* 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.
* 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: 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-134-0/+11
| | | | | | This can be used with FT-over-DS where FT Action frame exchange triggers transition to State 2 (authenticated) without Authentication frame exchange.
* 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).
* 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.
* 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 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.
* 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-077-12/+10
|
* Remove unnecessary ifname parameter from sta_add() driver opJouni Malinen2010-03-077-15/+12
|
* Remove unnecessary ifname parameter from hapd_get_ssid/hapd_set_ssidJouni Malinen2010-03-077-20/+14
|
* Remove unnecessary ifname parameter from set_generic_elem() driver opJouni Malinen2010-03-077-11/+8
|
* Remove unneeded ifname parameter from set_privacy() driver opJouni Malinen2010-03-077-13/+10
|
* driver_test: Use driver private BSS context instead of BSS lookupJouni Malinen2010-03-071-187/+179
| | | | | The ifname-based lookup can now be replaced with the new mechanism that allows driver wrappers to register per-BSS context data.
* Avoid crash after driver init failureJouni Malinen2010-03-071-1/+1
| | | | | hostapd_flush_old_stations() needs to check whether the driver initialization was successful since it gets called on an error path.
* Remove unneeded iface parameter from if_add() driver opJouni Malinen2010-03-074-13/+11
|
* hostapd: fix a segfault in the error path of the nl80211 if_add functionFelix Fietkau2010-03-071-1/+1
|
* nl80211: Unregister forgotten eloop socket on init failureJouni Malinen2010-03-061-0/+1
|
* Remove unnecessary ifname parameter from set_beacon()Jouni Malinen2010-03-065-10/+7
| | | | The new per-BSS driver context makes this unnecessary.
* hostapd: allow stations to move between different bss interfacesFelix Fietkau2010-03-061-14/+14
| | | | | | | | With this patch, a client gets kicked out of the last BSS it was attached to, when it is associating to a different one. While mac80211 does allow a station to be present on multiple bss interfaces, this does seem to cause problems both for the stack and for hostapd.
* hostapd: Fix interface selection for the nl80211 driverFelix Fietkau2010-03-066-178/+191
| | | | | | | | | | | This patch allows the nl80211 driver to create its own per-bss context and pass it to the drv_priv pointer of the hostapd bss state. With this and the following patch, stations can associate to and switch between multiple BSS interfaces of a single wiphy. This obsoletes a few instances of passing ifname to a callback, those can be removed in a separate patch. It might also be useful to move more fields from the driver data to the per-bss data structure in the future.
* hostapd: fix bogus nl80211 interface remove messages for STA WDSFelix Fietkau2010-03-061-1/+2
|
* hostapd: add ifname to the sta_set_flags callbackFelix Fietkau2010-03-067-14/+16
| | | | | This fixes multi-BSS STA operations (e.g., setting AUTHORIZED flag) with nl80211-based drivers.