path: root/hostapd
Commit message (Collapse)AuthorAgeFilesLines
* AOSP: Define ANDROID_P2P for bcmdhdJouni Malinen2012-08-091-0/+4
* AOSP: OpenSSL engine/keystoreJouni Malinen2012-08-091-4/+1
* 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)
* Android: Enable CONFIG_IEEE80211N option for hostapdaosp-jb-from-upstreamDmitry Shmidt2012-08-091-1/+1
| | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* 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/+191
| | | | | | | | | 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-091-0/+6
| | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit dfb42efb349e0a5d50126aa2fcf5653e11a01b59)
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-1112-96/+24
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* Select the BSD license terms as the only license alternativeJouni Malinen2012-02-112-42/+10
| | | | | | | | | | | | | | | 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>
* Update copyright notices to include year 2012Jouni Malinen2012-01-013-3/+3
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* hostapd: Make inactivity polling configurableYogesh Ashok Powar2011-12-252-0/+8
| | | | | | | | | | | | | | | hostapd uses the poll method to check if the station is alive after the station has been inactive for ap_max_inactivity seconds. Make the poll mechanism configurable so that user can choose to disconnect idle clients. This can be especially useful when some devices/firmwares have restrictions on the number of clients that can connect to the AP and that limit is smaller than the total number of stations trying to use the AP. Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com> Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
* Allow WPA passphrase to be fetched with RADIUS Tunnel-Password attributeMichael Braun2011-12-112-1/+30
| | | | | | | | | | | | This allows per-device PSK to be configured for WPA-Personal using a RADIUS authentication server. This uses RADIUS-based MAC address ACL (macaddr_acl=2), i.e., Access-Request uses the MAC address of the station as the User-Name and User-Password. The WPA passphrase is returned in Tunnel-Password attribute in Access-Accept. This functionality can be enabled with the new hostapd.conf parameter, wpa_psk_radius. Signed-hostap: Michael Braun <michael-dev@fami-braun.de>
* Maintain internal copy of Probe Response offload capabilitiesArik Nemtsov2011-12-101-1/+3
| | | | | Signed-hostap: Arik Nemtsov <arik@wizery.com> Signed-off-by: Arik Nemtsov <arik@wizery.com>
* AP: Convert some wpa_printf to wpa_msg/dbgBen Greear2011-12-101-5/+7
| | | | | | | This generates better log messages when running multiple interfaces in one process. Signed-off-by: Ben Greear <greearb@candelatech.com>
* Add MSK dump mechanism into hostapd RADIUS server for testingJouni Malinen2011-12-081-0/+5
| | | | | | | | | | | | | | Testing code can now be enabled in the hostapd RADIUS server to dump each derived MSK into a text file (e.g., to be used as an input to wlantest). This functionality is not included in the default build and can be enabled by adding the following line to hostapd/.config: CFLAGS += -DCONFIG_RADIUS_TEST The MSK dump file is specified with dump_msk_file parameter in hostapd.conf (path to the dump file). If this variable is not set, MSK dump mechanism is not enabled at run time. Signed-hostap: Jouni Malinen <j@w1.fi>
* WPS: Allow RF Bands value to be overriddenBharat Chakravarty2011-11-302-0/+21
| | | | | | | | A new hostapd.conf parameter, wps_rf_bands, can now be used to fix the RF Bands value in cases where hw_mode is not set or when operating a dual band dual concurrent AP. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* TLS: Add build configuration for TLS v1.2 supportJouni Malinen2011-11-272-0/+12
| | | | | | | | | This allows the internal TLS implementation to be built for TLS v1.2 support. In addition to the build option, this changes the TLS PRF based on the negotiated version number. Though, this commit does not yet complete support for TLS v1.2. Signed-hostap: Jouni Malinen <j@w1.fi>
* Add implementation of TLS v1.2 PRF (P_SHA256)Jouni Malinen2011-11-271-0/+3
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* hostapd: Define CONFIG_SHA256 for SHA256 buildsJouni Malinen2011-11-271-0/+1
| | | | | | | wpa_supplicant was already doing this and hostapd will need to define this for future additions. Signed-hostap: Jouni Malinen <j@w1.fi>
* Use wpa_key_mgmt_*() helpersJouni Malinen2011-11-241-2/+1
| | | | | | | This cleans up the source code and makes it less likely that new AKM addition misses some needed changes in the future. Signed-hostap: Jouni Malinen <j@w1.fi>
* Android: Move WPA_BUILD check in Android.mkDmitry Shmidt2011-11-231-2/+2
| | | | | | | This is part of commit e61a2d6db6113da5fad91660764afdb0596dbc46 from Android wpa_supplicant_8.git. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* Android: Remove the simulator target from all makefilesJeff Brown2011-11-231-5/+3
| | | | | This is commit bbda627478b0e9a312fea4662cd7cd8d6bdf82bf from Android wpa_supplicant_8.git.
* Allow MLME frames to be sent without expecting an ACK (no retries)Helmut Schaa2011-11-191-1/+1
| | | | | | | | | | In some situations it might be benefical to send a unicast frame without the need for getting it ACKed (probe responses for example). In order to achieve this add a new noack parameter to the drivers send_mlme callback that can be used to advise the driver to not wait for an ACK for this frame. Signed-hostap: Helmut Schaa <helmut.schaa@googlemail.com>
* EAP-pwd: Document group configuration for hostapd authentication serverDan Harkins2011-11-191-0/+4
* Use a single define for maximum number of EAP methodsJouni Malinen2011-11-171-1/+1
| | | | | | | | This cleans up the code a bit by not having to deal with theoretical possibility of maximum number of EAP methods to be different between various components in hostapd. Signed-hostap: Jouni Malinen <j@w1.fi>
* Remove unused header file inclusionJouni Malinen2011-11-171-1/+0
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* Android: Update libnl use to match with Android ICSJouni Malinen2011-11-151-2/+2
| | | | | | | The libnl_2 library uses static linking and different path for header files in the Android ICS release. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* Android: Fix hostapd_cli buildJouni Malinen2011-11-151-0/+6
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* Android: Fix hostapd buildJouni Malinen2011-11-151-1/+2
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* Move wpa_scan_results_free() into shared C fileJouni Malinen2011-11-132-0/+4
| | | | | | | Replace the inline helper function with a new C file that can be used for common driver API related function. Signed-hostap: Jouni Malinen <j@w1.fi>
* Postpone global_init() call until first driver instance is initializedJouni Malinen2011-10-231-13/+15
| | | | | | | This avoids allocating global driver state for driver wrappers that are built in but not used. This can save some resources and avoids failures with driver_nl80211.c that is now initializing netlink connections for nl80211 in global_init().
* hostapd: Call global_init/global_deinit driver_opsJouni Malinen2011-10-221-0/+50
| | | | | Now both wpa_supplicant and hostapd allow the driver wrappers to use the global context similarly.
* Set ANDROID_LOG_NAME depending on applicationDmitry Shmidt2011-10-211-0/+3
| | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* Add support for Time AdvertisementJouni Malinen2011-10-172-0/+25
| | | | | This adds preliminary support for IEEE 802.11v Time Advertisement mechanism with UTC TSF offset.
* Interworking: Add support for configuring Roaming Consortium ListJouni Malinen2011-10-172-0/+46
* Start deprecating various AP mode driver_opsJouni Malinen2011-10-171-1/+1
| | | | | The preferred way of configuring AP mode will be to use set_ap() instead of number of separate operations hostapd has collected over the years.
* Move SA Query mechanism into a file that can be shared more easilyMahesh Palivela2011-10-171-0/+1
| | | | | | This is the first step in allowing SA Query mechanism in hostapd to be used with drivers that implement authentication and association MLME/SME (i.e., do not use ieee802_11.c).
* WNM: Add BSS Transition Management Request for ESS Disassoc ImminentJouni Malinen2011-10-162-0/+75
| | | | | | | "hostapd_cli ess_disassoc (STA addr) (URL)" can now be used to send an ESS Dissassociation Imminent notification to the STA. This event is shown in wpa_supplicant ctrl_iface monitors (e.g., wpa_cli): "WNM: ESS Disassociation Imminent - session_info_url=http://example.com/session/"
* IEEE 802.11u: Add configuration and advertisement for InterworkingJouni Malinen2011-10-164-0/+90
* Fix object file list for hlr_auc_gwMukesh Agrawal2011-10-151-0/+1
| | | | | | | If CONFIG_NO_RANDOM_POOL is unset, src/crypto/random.o is linked into hlr_auc_gw. However, in this configuration, random.o requires symbols defined in src/utils/eloop.o. So add eloop.o to the object file list for hlr_auc_gw.
* Remove EAP-TTLSv1 and TLS/IAJouni Malinen2011-09-252-13/+1
| | | | | | | | | | | | | | These protocols seem to be abandoned: latest IETF drafts have expired years ago and it does not seem likely that EAP-TTLSv1 would be deployed. The implementation in hostapd/wpa_supplicant was not complete and not fully tested. In addition, the TLS/IA functionality was only available when GnuTLS was used. Since GnuTLS removed this functionality in 3.0.0, there is no available TLS/IA implementation in the latest version of any supported TLS library. Remove the EAP-TTLSv1 and TLS/IA implementation to clean up unwanted complexity from hostapd and wpa_supplicant. In addition, this removes any potential use of the GnuTLS extra library.
* TLS: Add support for TLS v1.1 (RFC 4346) with internal TLSJouni Malinen2011-09-252-0/+40
| | | | | This is disabled by defautl and can be enabled with CONFIG_TLSV11=y build configuration parameter.
* Fix typos found by codespellPavel Roskin2011-09-212-2/+2
| | | | Signed-off-by: Pavel Roskin <proski@gnu.org>
* AP: Set pairwise/group cipher for non-WPA modesJouni Malinen2011-09-151-2/+19
| | | | | | This is needed to avoid confusing configuration in some nl80211 drivers that the new AP mode configuration alternatives for setting security policy.
* Remove time.h include from utils/includes.hJouni Malinen2011-09-121-0/+1
| | | | | | | | | os_*() wrappers should be used instead of functions from time.h. Removing the header from includes.h enforces this. os_unix.c can include this its uses are valid wrapper calls. wps_upnp.c uses gmtime() for which there is no os_*() wrapper available yet, so allow it to use time.h, too. Similarly, allow dump_state.c to use time.h for ctime().
* WPS: Wait for EAPOL-Start unless WPS 2.0 station as workaroundJouni Malinen2011-08-281-1/+3
| | | | | | | | | | | Extend the code that waits for the station to send EAPOL-Start before initiating EAPOL authenticator operations to cover the case where the station includes WPS IE in (Re)Association Request frame if that IE does not include support for WPS 2.0. While this should not really be needed, this may help with some deployed WPS 1.0 stations that do not support EAPOL operations correctly and may get confused of the EAP-Request/Identity packets that would show up twice if EAPOL-Start is transmitted.
* Change example hostapd.conf to use 2.4 GHz channelJouni Malinen2011-07-301-2/+2
| | | | | This is more likely to work if someone tests the example file with no or minimal changes.
* madwifi: Implement set_freq for hostapd, adjust hostapd.confPavel Roskin2011-07-291-3/+2
| | | | Signed-off-by: Pavel Roskin <proski@gnu.org>
* Fix hostapd_cli linking without CONFIG_WPA_TRACE=yVladimir2011-07-191-1/+1