path: root/wpa_supplicant
Commit message (Collapse)AuthorAgeFilesLines
* Create all doxygen docs from root directory to get proper path namesJouni Malinen2009-01-033-18/+17
| | | | | | | This updated all doxygen runs to use the same style that was used for wpa_supplicant full documents. The full vs. fast configurations are now otherwise identical apart from fast not generating dot files or latex/pdf version of the documentation.
* Fixed number of doxygen warningsJouni Malinen2009-01-023-4/+3
* Added more src subdirectories into doxygen docsJouni Malinen2009-01-022-6/+10
* Updated doxygen configuration files to work with new doxygenJouni Malinen2009-01-022-11/+7
| | | | | The doxygen run is not exactly warning free yet, but this gets a step closer to being able to produce something useful again.
* Initialize wpa_ie_len to 0 if WPA IE is not set on all pathsJouni Malinen2009-01-021-1/+2
| | | | The new WPS code was not setting this in error case.
* WPS: Generate UUID based on MAC address, if not setJouni Malinen2009-01-014-3/+11
| | | | | | Generate a SHA1 hash -based UUID from the local MAC address if the UUID was not configured. This makes it easier to prepare for WPS since there is no need to generate an UUID.
* MFP: Require MFP is it is enabled and AP scan shows support for itJouni Malinen2008-12-311-0/+12
| | | | | | When using ap_scan=1, we know before the association request that MFP will be supported, so we can as well require it. This helps mac80211 in configuring whether to enable MFP.
* NEED_BASE64 for WPSAndriy Tkachuk2008-12-261-0/+1
| | | | | It looks like we need base64 routines when compiling WPS in hostapd (used in src/wps/wps_registrar.c:910).
* Added a note about IEEE 802.11w/D7.0 updateJouni Malinen2008-12-261-0/+1
* Renamed Ping procedure into SA Query procedure per 802.11w/D7.0Jouni Malinen2008-12-261-23/+23
| | | | | | This commit changes just the name and Action category per D7.0. The retransmit/timeout processing in the AP is not yet updated with the changes in D7.0.
* Longer auth_timeout for WPS key_mgmtAndriy Tkachuk2008-12-251-1/+2
| | | | | | | It seems that for WPS registration we should use the same authentication timeout as for ieee8021x, no? (See patch attached.) On slow platforms public keys computation may take around 4-5 seconds (we actually stuck on this issue).
* Added a ChangeLog entry about the new Windows installerJouni Malinen2008-12-251-0/+4
* wpa_gui-qt4: Do not about new network adapters unless service is runningJouni Malinen2008-12-252-1/+6
| | | | | Skip the user prompt for adding a new network interface if wpa_gui is not yet connected to wpasvc.
* Fixed control interface enabling for dynamically added interfaceJouni Malinen2008-12-251-1/+1
| | | | | | Set ctrl_interface to non-empty value in INTERFACE_ADD to avoid ctrl_iface.c assuming the control interface is not to be enabled. This fixes the dynamically added interface to use control interface.
* Add Windows registry entries during installationJouni Malinen2008-12-251-0/+15
| | | | | | | | The NSIS installer will now add Windows registry entries for wpa_supplicant during installation and removes them during uninstallation. This allows wpa_gui to start wpasvc and add new interfaces without requiring the user to do any manual registry editing.
* wpa_gui-qt4: Added support for adding new network interfacesJouni Malinen2008-12-255-1/+338
| | | | | | | | | | | "Add interface" command in File menu can now be used to add a new network interface to running wpa_supplicant (using INTERFACE_ADD control interface command). In addition, the network interface is added into Windows registry (with skip_on_error) for future use. This functionality is currently enabled only for Windows builds. The user is also prompted about the possibility of adding an interface if no interfaces are enabled. This makes it easier to get started without having to touch registry manually.
* wpasvc: Add skip_on_error registry value to skip interfaces on errorJouni Malinen2008-12-242-3/+16
| | | | | | This can be used to include binding information for multiple interfaces in Windows registry and only use the ones that match with an available network interface.
* Added a mechanism for quering driver wrappers for available interfacesJouni Malinen2008-12-242-0/+74
| | | | | | | The new INTERFACE_LIST global control interface command can be used to request a list of all available network interfaces that could be used with the enabled driver wrappers. This could be used to enable interfaces automatically by external programs (e.g., wpa_gui).
* Added support for global driver data (shared by multiple interfaces)Jouni Malinen2008-12-222-1/+38
| | | | | | | | Driver wrappers can now register global_init() and global_deinit() driver_ops handlers to get a global data structure that can be shared for all interfaces. This allows driver wrappers to initialize some functionality (e.g., interface monitoring) before any interfaces have been initialized.
* Changed the example device_type value to be Computer/PCJouni Malinen2008-12-221-1/+1
* Add Start menu shortcuts to wpa_gui and uninstallJouni Malinen2008-12-211-0/+14
| | | | | In addition, make uninstall use confirm dialog to avoid accidental uninstalls.
* Fixed PBC overlap detection to handle case of missing UUID-EJouni Malinen2008-12-211-14/+2
| | | | | | UUID-E is not required to be present in Beacon frame, so we need to accept scan results that do not have UUID-E as a valid PBC situation as long as not more than one AP is in active PBC mode.
* wpa_gui-qt4: Added wpasvc start/stop functionality for WindowsJouni Malinen2008-12-212-1/+176
| | | | | | wpa_gui will now ask user whether the wpasvc service should be started if it is not running. In addition, File menu has items for starting and stopping the service.
* Silence a compiler warningJouni Malinen2008-12-211-1/+1
* Added more notes about WPS GUI scan operations and wpa_guiJouni Malinen2008-12-201-1/+15
* WPS: Added support for wildcard SSID matching in ap_scan=2 modeJouni Malinen2008-12-204-1/+47
| | | | | | | Change association behavior to match with ap_scan=1 when WPS is used in ap_scan=2 mode with wildcard SSID matching. In addition, allow hardcoded BSSID to be used to select AP even if selected registrar attribute is not present.
* Fixed a typo in a commentJouni Malinen2008-12-201-1/+1
* Register wpasvc service on install and unregister on uninstallJouni Malinen2008-12-201-0/+4
* Added Windows NSIS installer for wpa_supplicantJouni Malinen2008-12-201-0/+75
* Changed win_gui cross compilation to use cleaner Qt setupJouni Malinen2008-12-202-13/+7
| | | | | | | A separate cross compiler mkspecs file (win32-x-g++) is now used to configure all build options so the setup-mingw-cross-compiling hack is not needed anymore. Furthermore, the MinGW setup is now on path, so no need to specify extra PATH changes for it.
* IANA allocated EAP method type 51 to EAP-GPSKJouni Malinen2008-12-201-0/+1
* WPS: Added event callback for successfully completed registrationJouni Malinen2008-12-192-0/+11
* WPS: Added callback for failure-after-M2/M2DJouni Malinen2008-12-192-0/+14
| | | | | | This callback is now used to stop wpa_supplicant from trying to continue using parameters (most likely, device password) that do not work in a loop. In addition, wpa_gui can now notify user of failed registration.
* WPS: Added event callback and M2D notificationJouni Malinen2008-12-182-0/+24
| | | | | | The event callback will be used for various event messages and the M2D notification is the first such message. It is used to notify wpa_gui about Registrar not yet knowing the device password (PIN).
* Fixed global conf write to skip default values for uuid and os_versionJouni Malinen2008-12-182-3/+3
* Fixed PSK editing in wpa_gui (copy-paste bug in field names)Jouni Malinen2008-12-183-2/+3
* WPS: Fixed deinit code for freeing config and registrar dataJouni Malinen2008-12-171-2/+4
| | | | | | | | We need to be a bit more careful when removing the WPS configuration block since wpa_s->current_ssid may still be pointing at it. In addition, registrar pointer in wps_context will need to be cleared since the context data is now maintained over multiple EAP-WSC runs. Without this, certain WPS operations could have used freed memory.
* WPS: Added wpa_gui-qt4 support for BSS selection and AP PIN useJouni Malinen2008-12-166-120/+171
| | | | | | | The specific AP (BSSID) can now be selected through scan results for WPS (WPS pushbutton on the network configuration dialog). When a BSSID is selected, AP device PIN (e.g., from a label) can be used to configure the AP by acting as a Registrar.
* Use less frequent polling when wpa_gui is hiddenJouni Malinen2008-12-161-0/+8
* WPS: Added WPS support into wpa_gui-qt4Jouni Malinen2008-12-153-0/+248
| | | | Currently, only Enrollee operations (both PBC and PIN) are supported.
* Use a fixed wps_msg prefix with WPS creds notificationJouni Malinen2008-12-151-1/+1
* WPS: Added control interface notification for available WPS APsJouni Malinen2008-12-153-0/+32
| | | | | | | Whenever new scan results include WPS AP(s) and the client is not associated, send a notification message to control interface monitors. This makes it easier for GUIs to notify the user about possible WPS availability without having to go through the scan results.
* Fixed memory leak in WPS PBC overlap detectionJouni Malinen2008-12-151-0/+2
* Fixed interoperability issue with PEAPv0 cryptobinding and NPSJouni Malinen2008-12-141-0/+2
| | | | | | | | | | | | | | Windows Server 2008 NPS gets very confused if the TLS Message Length is not included in the Phase 1 messages even if fragmentation is not used. If the TLS Message Length field is not included in ClientHello message, NPS seems to decide to use the ClientHello data (excluding first six octets, i.e., EAP header, type, Flags) as the OuterTLVs data in Cryptobinding Compound_MAC calculation (per PEAPv2; not MS-PEAP).. Lets add the TLS Message Length to PEAPv0 Phase 1 messages to get rid of this issue. This seems to fix Cryptobinding issues with NPS and PEAPv0 is now using optional Cryptobinding by default (again) since there are no known interop issues with it anymore.
* Cleaned up EAP-MSCHAPv2 key derivationJouni Malinen2008-12-141-0/+10
| | | | | | | | | | | | | Changed peer to derive the full key (both MS-MPPE-Recv-Key and MS-MPPE-Send-Key for total of 32 octets) to match with server implementation. Swapped the order of MPPE keys in MSK derivation since server MS-MPPE-Recv-Key | MS-MPPE-Send-Key matches with the order specified for EAP-TLS MSK derivation. This means that PEAPv0 cryptobinding is now using EAP-MSCHAPv2 MSK as-is for ISK while EAP-FAST will need to swap the order of the MPPE keys to get ISK in a way that interoperates with Cisco EAP-FAST implementation.
* Added INT_RANGE parser for global configuration variablesJouni Malinen2008-12-131-17/+23
* Use shared string parser for global configuration fieldsJouni Malinen2008-12-131-168/+57
* Share the same global config parser function for integer valuesJouni Malinen2008-12-131-73/+32
* First step in cleaning up global config parser: use parse_data arrayJouni Malinen2008-12-131-105/+131
* Added configuration of WPS device parameters for wpa_supplicantJouni Malinen2008-12-137-13/+294