path: root/wpa_supplicant/wps_supplicant.h
Commit message (Collapse)AuthorAgeFilesLines
* WPS: Add UFD support (USBA out-of-band mechanism)Masashi Honma2009-02-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This patch is only for the following use case: - Enrollee = wpa_supplicant - Registrar = hostapd internal Registrar Following UFD methods can be used: - Enrollee PIN with UFD - Registrar PIN with UFD - unencrypted credential with UFD Encrypted credentials are not supported. Enrollee side operation: wpa_cli -i ath0 wps_oob <device type> <mount point> <oob method> oob method = pin-e/pin-r/cred wpa_cli -i ath0 wps_oob ufd /mnt/ pin-r Registrar side operation: ./hostapd_cli -i ath0 wps_oob <device type> <mount point> <oob method> oob method = pin-e/pin-r/cred hostapd_cli -i ath0 wps_oob ufd /mnt/ cred
* Allow WPS APs for PIN enrollment even without Selected RegistrarJouni Malinen2009-01-231-4/+8
| | | | | | | | | Some WPS APs do not set Selected Registrar attribute to 1 properly when using an external Registrar. Allow such an AP to be selected for PIN registration after couple of scan runs that do not find APs marked with Selected Registrar = 1. This allows wpa_supplicant to iterate through all APs that advertise WPS support without delaying connection with implementations that set Selected Registrar = 1 properly.
* Added Doxygen documentation for WPS codeJouni Malinen2009-01-031-1/+4
* WPS: Added support for wildcard SSID matching in ap_scan=2 modeJouni Malinen2008-12-201-0/+6
| | | | | | | 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.
* WPS: Added control interface notification for available WPS APsJouni Malinen2008-12-151-0/+5
| | | | | | | 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.
* WPS: Added support for fragmented WPS IE in Beacon and Probe ResponseJouni Malinen2008-11-291-1/+25
| | | | | | | | Fragment WPS IE if needed to fit into the IE length limits in hostapd and Reassemble WPS IE data from multiple IEs in wpa_supplicant. In addition, moved WPS code from events.c into wps_supplicant.c to clean up module interfaces.
* WPS: Added wpa_supplicant ctrl_iface commands to start WPS processingJouni Malinen2008-11-291-0/+5
| | | | | | | New control interface commands WPS_PBC, WPS_PIN, and WPS_REG can be used to start WPS processing. These add and select the WPS network block into the configuration temporarily, i.e., there is no need to add the WPS network block manually anymore.
* WPS: Set Request Type properly into WPS IE in ProbeReq/AssocReqJouni Malinen2008-11-291-3/+3
* WPS: Moved wps_context initialization into wps_supplicant.cJouni Malinen2008-11-281-0/+11
| | | | | | | The wps_context data is now managed at wpa_supplicant, not EAP-WSC. This makes wpa_supplicant design for WPS match with hostapd one and also makes it easier configure whatever parameters and callbacks are needed for WPS.
* WPS: Move WPS glue code from wpas_glue.c to wps_supplicant.cJouni Malinen2008-11-281-0/+37
This cleans up the internal interface between different modules and is the first step in getting wpa_supplicant design closer to hostapd as far as WPS is concerned.