path: root/wpa_supplicant
Commit message (Collapse)AuthorAgeFilesLines
* AOSP: These files have been removed from AOSPaosp-jbJouni Malinen2012-08-0916-2359/+0
* AOSP: Delay group formation timeoutJouni Malinen2012-08-091-0/+6
* AOSP: Sync Android.mk with MakefileJouni Malinen2012-08-091-0/+7
* AOSP: Define ANDROID_P2P for bcmdhdJouni Malinen2012-08-091-0/+4
* AOSP: Do not use WPA_BUILD_SUPPLICANTJouni Malinen2012-08-091-6/+2
* AOSP: ctrl_iface interface=Jouni Malinen2012-08-091-0/+29
* AOSP: P2P group idleJouni Malinen2012-08-091-3/+12
* AOSP: scanningJouni Malinen2012-08-093-9/+92
* AOSP: wpa_cliJouni Malinen2012-08-091-3/+64
* AOSP: state change ctrl_iface eventsJouni Malinen2012-08-092-2/+26
* AOSP: unicodeJouni Malinen2012-08-091-0/+42
* AOSP: driver_cmdJouni Malinen2012-08-092-0/+27
* AOSP: OpenSSL engine/keystoreJouni Malinen2012-08-091-4/+1
* AOSP: freq conflictJouni Malinen2012-08-094-2/+92
* AOSP: assoc_retriesJouni Malinen2012-08-093-0/+27
* AOSP: Android: Add src directory symlinksDmitry Shmidt2012-08-091-0/+1
| | | | | | | | | These are from Android wpa_supplicant_8.git initial 0.8.X commit 8d520ff1dc2da35cdca849e982051b86468016d8. Change-Id: I26aec5afbbd4f4a1f5fd900912545b6f5050de64 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit 05d4c3aec6024ed308d640d68f91ab4e926fd79d)
* Allow legacy PS param to be set with SET in addition to P2P_SETJouni Malinen2012-08-091-0/+2
| | | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com> (manual merge of commit b2ff168128cde761e510eac46092ee2c50099535)
* Add RANGE=ALL|N1-N2 selection for ctrl_iface BSS commandDmitry Shmidt2012-08-091-3/+62
| | | | | | | Add ability to get information about several BSS's in one call. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit eff1a95b9763a7b8b5e25c8ef1eb911ab479afa0)
* Add MASK=0xH option for the ctrl_iface BSS commandDmitry Shmidt2012-08-092-89/+177
| | | | | | | | | This optional parameter to the BSS command can be used to select which fields are included in the output to avoid having to parse through unneeded information and to reduce the buffer size. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit 5f97dd1c57f1b72b3493ac4237b505bdd4416a57)
* Move ctrl_iface BSS command response generation into a separate functionDmitry Shmidt2012-08-091-46/+55
| | | | | | | | This is in preparation for allowing multiple BSS entries to be fetched with a single command. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit 61ce90857e7fb223da7cfd2e589a77de9d322933)
* P2P: Add driver op for requesting GO/AP channel switchJithu Jance2012-08-091-0/+8
| | | | | | Signed-hostap: Jithu Jance <jithu@broadcom.com> (manual merge of commit ef35f5a0fd2c41f92a3ecc29995c5de1f407d2af)
* P2P: Add preference setting for concurrent use casesJithu Jance2012-08-093-0/+30
| | | | | | | | | Add an additional parameter to prioritize either sta or p2p connection to resolve conflicts arising during single channel concurrency. Signed-hostap: Jithu Jance <jithu@broadcom.com> (manual merge of commit b9cfc09a81b1f6449bbd0754a2bdc4d790766662)
* Add CONFIG_NO_ROAMING optionDmitry Shmidt2012-08-092-0/+9
| | | | | | | | | | | This can be used to disable wpa_supplicant controlled roaming. It should be noted that the WPA_DRIVER_FLAGS_BSS_SELECTION capability is the preferred way for this and CONFIG_NO_ROAMING should be obsoleted once drivers support the new NL80211_ATTR_ROAM_SUPPORT capability advertisement. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit e9af53ad39a19264bf5307a1b5923afc2b2f9b06)
* Android: Add PLATFORM_VERSION to VERSION_STR_POSTFIX definitionDmitry Shmidt2012-08-091-0/+2
| | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit 1e1411b04fa1be14e355afce3cfac7218cb4886c)
* Android: Add build configuration filesDmitry Shmidt2012-08-092-1/+412
| | | | | | | | | These are from Android wpa_supplicant_8.git initial 0.8.X commit 8d520ff1dc2da35cdca849e982051b86468016d8 with some additional edits and renaming of .config files to android.config. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit 5db498920f689d36516c34673b7fa542d3e28223)
* wpa_supplicant: Make Android makefiles available under the BSD licenseDmitry Shmidt2012-08-093-34/+6
| | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit dfb42efb349e0a5d50126aa2fcf5653e11a01b59)
* Android: Build wpa_supplicant.conf from a templateDmitry Shmidt2012-08-093-0/+74
| | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit 6e2a570ec47454d6611b34f36c96a1809b6e26c5)
* IBSS RSN: Support authorizationAntonio Quartulli2012-02-121-0/+48
| | | | | | | | In IBSS RSN cfg80211/mac80211 now waits for userspace to authorize new stations. This patch makes wpa_supplicant notify the driver when a station can be considered authorized. Signed-hostap: Antonio Quartulli <ordex@autistici.org>
* eloop: Support poll() in eloopBen Greear2012-02-122-0/+7
| | | | | | | | When using more than around 200 virtual stations, we start hitting the max number of file descriptors supported by select(). This patch adds support for poll(), which has no hard upper limit. Signed-hostap: Ben Greear <greearb@candelatech.com>
* WPS: Fix regression in post-WPS scan optimizationJouni Malinen2012-02-121-2/+4
| | | | | | | | | | | | | | Commit 3c85f144ce7aa3967f881a7584a5b125061ca436 fixed issues with P2P Action frame TX after disconnection by clearing wpa_s->assoc_freq. This resulted in a regression to the post-WPS scan optimization that used wpa_s->assoc_freq to enable fast single-channel scan. Fix this by copying wpa_s->assoc_freq to a local variable before calling wpa_supplicant_deauthenticate() that ends up calling wpa_supplicant_mark_disassoc() which will clear assoc_freq. Reported-by: Angie Chinchilla <angie.v.chinchilla@intel.com> intended-for: hostap-1 Signed-hostap: Jouni Malinen <j@w1.fi>
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-1165-520/+130
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* Remove the GPL notification from files contributed by AtherosJouni Malinen2012-02-1112-96/+24
| | | | | | | Remove the GPL notification text from files that were initially contributed by Atheros Communications or Qualcomm Atheros. Signed-hostap: Jouni Malinen <j@w1.fi>
* Select the BSD license terms as the only license alternativeJouni Malinen2012-02-114-63/+15
| | | | | | | | | | | | | | | Simplify licensing terms for hostap.git by selecting the BSD license alternative for any future distribution. This drops the GPL v2 alternative from distribution terms and from contribution requirements. The BSD license alternative that has been used in hostap.git (the one with advertisement clause removed) is compatible with GPL and as such the software in hostap.git can still be used with GPL projects. In addition, any new contribution to hostap.git is expected to be licensed under the BSD terms that allow the changes to be merged into older hostap repositories that still include the GPL v2 alternative. Signed-hostap: Jouni Malinen <j@w1.fi>
* EAP-pwd: Describe build option for EAP-pwdDan Harkins2012-02-111-0/+3
| | | | Signed-hostap: Dan Harkins <dharkins@lounge.org>
* dbus: Make the P2P peer's properties accessible separatelyFlávio Ceolin2012-02-113-74/+267
| | | | | | | | | Since there is the method org.freedesktop.DBus.Properties.GetAll that returns all properties from a specific interface, it makes more sense to separate the properties to make it possible to get only a single property using the method org.freedesktop.DBus.Properties.Get as well. Signed-hostap: Flávio Ceolin <flavio.ceolin@profusion.mobi>
* P2P: Do not expire GO peer entry during group rekeyingPiotr Nakraszewicz2012-02-111-1/+2
| | | | | If wpas_go_connected() is called during group rekeying the P2P GO peer will expire. To prevent that check if group rekeying is not in progress.
* Fix CONFIG_NO_SCAN_PROCESSING=y buildJouni Malinen2012-02-111-24/+24
| | | | | | | | | This fixes a build regression from commit cd2f4ddfb91c330c778d7464a393c5f26f07d432 by moving wpa_supplicant_assoc_update_ie() outside the no-scan-processing ifdef block. Signed-hostap: Jouni Malinen <j@w1.fi>
* Show BSS entry age (seconds since last update)Jouni Malinen2012-02-081-1/+5
| | | | | | | | The BSS ctrl_iface command can sow the age of a BSS table entry to make it easier for external programs to figure out whether an entry is still current depending on the use case. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Allow BSS entry to be fetched based on GO P2P Device AddressJouni Malinen2012-02-073-0/+26
| | | | | | | | | | "BSS p2p_dev_addr=<P2P Device Address>" can now be used to fetch a specific BSS entry based on the P2P Device Address of the GO to avoid having to iterate through the full BSS table when an external program needs to figure out whether a specific peer is currently operating as a GO. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Set Invitation Type to 1 for GO inviting to a persistent groupJouni Malinen2012-02-063-5/+16
| | | | | | | | | | | When a GO is operating a persistent group and invites a peer that has been a P2P client in that persistent group, the Invitation Type in the Invitation Request frame can be set to 1 to indicate that this is a reinvocation of a persistent group. Do this based on the maintained list of P2P clients that have been provided the credentials to this group. Signed-hostap: Jouni Malinen <j@w1.fi>
* P2P: Wait for PD-before-join responseJouni Malinen2012-02-051-3/+31
| | | | | | | | | | | | | | | | | Even though the Provision Discovery Response frame from PD-before-join does not really provide any additional information, it can be better to wait for it before starting the join operation. This adds a minimal extra latency in the most common case and cleans up the sequence of driver operations and debug log by avoiding potential processing of the Provision Discovery Response while already running a scan for the actual connection. If transmission of Provision Discovery Request fails, join operation is started without the additional wait. In addition, a new timeout is used to start the join if Provision Discovery Response is lost for any reason. Signed-hostap: Jouni Malinen <j@w1.fi>
* P2P: Skip event notification on PD Response in join-group caseJouni Malinen2012-02-051-9/+10
| | | | | | | | | | | Provision Discovery is used as a notification to the GO in the case we are about join a running group. In such case, there is not much point in indicating the provision discovery response events to external programs especially when the PIN-to-be-displayed was different from the one returned for the p2p_connect command. Skip this confusing event completely for join-a-running-group case. Signed-hostap: Jouni Malinen <j@w1.fi>
* bgscan_simple: Refinements to fast-scan backoffPaul Stewart2012-02-051-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes account for situations where the CQM threshold might be approximately the same as the currently received signal, and thus CQM events are triggered often due to measurement error/small fluctuations. This results in scanning occurring too frequently. Firstly, inhibit the immediate scan when the short-scan count is at the maximum. This keeps bursts of CQM toggling from causing a torrent of back-to-back scans. This does not inhibit immediate scans if the CQM triggers a second time (if the signal falls lower past the hysteresis). This reduces the scan rate in the worst case (fast-rate toggling high/low CQM events) to the short scan interval. Secondly, change the behavior of the short scan count so it acts like a "leaky bucket". As we perform short-scans, the bucket fills until it reaches a maximal short-scan count, at which we back-off and revert to a long scan interval. The short scan count decreases by one (emptying the bucket) every time we complete a long scan interval without a low-RSSI CQM event. This reduces the impact of medium-rate toggling of high/low CQM events, reducing the number of short-interval scans that occur before returning to a long-interval if the system was recently doing short scans.
* Try fallback drivers if global init for preferred drivers failsDan Williams2012-02-041-2/+5
| | | | | | | | | | | | | | | | | Driver global init was considered a hard failure. Thus if, for example, you used the Broadcom STA driver and didn't have nl80211 or cfg80211 loaded into the kernel, and specified a driver value of "nl80211,wext", the nl80211 driver's global init would fail with the following message: nl80211: 'nl80211' generic netlink not found Failed to initialize driver 'nl80211' but since global init was a hard failure, creating the supplicant interface would fail and the WEXT driver would not be tried. Give other drivers a chance instead. Signed-hostap: Dan Williams <dcbw@redhat.com> intended-for: hostap-1
* P2P: Fix the setter function for DBus group propertiesTodd Previte2012-02-041-5/+5
| | | | | | | | | | | | The setter function uses the same hostapd_data structure as the getter which causes it to crash if called on a P2P client. To overcome this issue, the role is checked to ensure it is called on a group owner and the pointer is examined for validity. The function will return an error if called on a non-GO system. Signed-hostap: Todd Previte <toddx.a.previte@intel.com> Signed-hostap: Angie Chinchilla <angie.v.chinchilla@intel.com> intended-for: hostap-1
* P2P: Fix DBus crash and return additional P2P group propertiesTodd Previte2012-02-041-14/+72
| | | | | | | | | | | | | | | When using DBus to get group properties, a segmentation fault is generated on P2P clients due to a NULL pointer for the ap_iface struct. The current implementation only returns vendor extensions when called on a P2P group owner. The code now checks the P2P role which allows for role-specific information to be provided. This also fixes the crash issue by only looking for the correct structures based on the current P2P role. Signed-hostap: Todd Previte <toddx.a.previte@intel.com> Signed-hostap: Angie Chinchilla <angie.v.chinchilla@intel.com> intended-for: hostap-1
* Use PMKSA cache entries with only a single network contextJouni Malinen2012-02-041-0/+2
| | | | | | | | When looking for PMKSA cache entries to use with a new association, only accept entries created with the same network block that was used to create the cache entry. Signed-hostap: Jouni Malinen <j@w1.fi>
* Delay scan request on select_network if disconnectingJouni Malinen2012-02-041-3/+6
| | | | | | | | | | | | | The disconnection command results in disassociation and deauthentication events which were previously processed during the scan in case of select_network command being used while associated with another network. While this works in most cases, it can result in confusing event messages in ctrl_iface and debug log. Avoid this by using a short delay between the disconnection and scan request to allow the disconnection events to be processed prior to starting the new scan. Signed-hostap: Jouni Malinen <j@w1.fi> intended-for: hostap-1
* Interworking: Fix EAP-TTLS/MSCHAP configurationJouni Malinen2012-01-311-2/+2
| | | | | | | Copy-paste error ended up using CHAP when MSCHAP was supposed to be set. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WPS: Disable AP PIN after 10 consecutive failuresJouni Malinen2012-01-301-0/+2
| | | | | | | | | | | While the exponential increase in the lockout period provides an efficient mitigation mechanism against brute force attacks, this additional trigger to enter indefinite lockout period (cleared by restarting hostapd) will limit attacks even further by giving maximum of 10 attempts (without authorized user action) even in a very long term attack. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>