aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
Commit message (Collapse)AuthorAgeFilesLines
* Update ChangeLog files for 0.7.0 releaseJouni Malinen2009-11-211-0/+15
|
* hostapd: Fix endian bugs in STA HT capability handlingFelix Fietkau2009-11-161-14/+6
|
* hostapd: Fix BSS channel checks in 40 MHz scanFelix Fietkau2009-11-161-1/+2
|
* WPS: Do not use ASCII-dump on binary PutWLANResponse NewMessageJouni Malinen2009-11-151-2/+2
|
* WPS: Remove unused WFA WLANConfig Service actionsJouni Malinen2009-11-141-84/+0
| | | | | | | | | | | | | | This removes following WFA WLANConfig Service actions and the related state variables: GetAPSettings, SetAPSettings, DelAPSettings, GetSTASettings, SetSTASettings, DelSTASettings, RebootAP, ResetAP, RebootSTA, ResetSTA. While WFA WLANConfig Service version 1.0 claims that some of these are mandatory to implement for an AP, there are no known implementations supporting these actions neither in an AP/proxy or an External Registrar that would use them. These are unlikely to be supported in the future either and as such, it is just simpler to get rid of them to clean up the implementation and reduce code size.
* Disassociate STA if it associated with invalid/missing WPA/RSN IEAndriy Tkachuk2009-11-111-0/+17
| | | | | | | | When using drivers that process management frames internally (e.g., madwifi, atheros, bsd), the driver may accept association with IEs that do not match the security policy. Instead of silently leaving the station associated, explicitly disassociate it to clear the driver entry immediately.
* Fix use-after-free issue with pid_file in hostapd terminationJouni Malinen2009-11-101-1/+1
|
* WPS: Fix credential processing for open network caseJouni Malinen2009-11-101-1/+1
| | | | | | There is no point in comparing cred->key == NULL since cred->key is an array (never NULL). key_len == 0 should be used instead to indicate that no key was specified.
* Fix hlr_auc_gw build (wpabuf.o is needed now for tls_openssh)Jouni Malinen2009-11-101-1/+1
|
* WPS: Add HTTP server moduleJouni Malinen2009-11-081-0/+1
| | | | | | Clean up code so that UPnP implementation does not need to include all the HTTP functionality. In addition, make it easier to share HTTP server functionality with other components in the future.
* WPS: Move generic UPnP XML helper functionality into a separate fileJouni Malinen2009-11-081-0/+1
|
* WPS: Add HTTP client module to clean up codeJouni Malinen2009-11-081-0/+1
| | | | | | Instead of implementing HTTP client functionality inside wps_upnp_event.c, use a generic HTTP client module to do this. The HTTP client code can now be shared more easily for other purposes, too.
* Fix MCS set field to be based on driver infoJouni Malinen2009-11-051-3/+2
| | | | | Instead of using hardcoded Rx MCS bitmask (indexes 0..15 enabled), use the real information from the driver capabilities.
* Move PKCS# {1,5,8} functionality into separate filesJouni Malinen2009-10-171-0/+3
| | | | | | This functionality fits better with src/tls (i.e., internal TLS implementation), so move it there to make crypto_internal.c more of a wrapper like other crypto_*.c files.
* Add ctrl_iface events for AP mode STA connect/disconnectJouni Malinen2009-10-162-0/+16
| | | | | These are used to notify ctrl_iface monitors when a STA completes connection (the port becomes authorized) and when a STA disconnects.
* Fix IEEE 802.11r/w compilation errorMasashi Honma2009-10-131-1/+7
| | | | | | The hostapd/wpa_supplicant compilation failed with CONFIG_IEEE80211R=y or CONFIG_IEEE80211W=y option if CONFIG_EAP_PSK and CONFIG_EAP_GPSK are not used.
* Include aes_unwrap in build when needed (FT and EAP-FAST server)Jouni Malinen2009-10-121-0/+2
|
* Replace CONFIG_NO_AES_EXTRAS with auto-detection during buildJouni Malinen2009-10-111-4/+17
| | | | | | There is no need to do this manually since it is possible to figure out automatically which AES extra files need to be included in the build.
* Clean up crypto makefile segmentsJouni Malinen2009-10-111-113/+156
| | | | | | | | Reorganize the TLS/crypto library segments into a single set of blocks for each library instead of multiple locations handling library-specific operations. Group crypto functionality together and get wpa_supplicant and hostapd Makefile closer to eachother in order to make it easier to eventually move this into a shared makefile.
* Move TLS_FUNCS and NEED_CRYPTO segment next to each otherJouni Malinen2009-10-111-13/+13
|
* Further crypto makefile unificationJouni Malinen2009-10-111-1/+0
|
* Fix crypto config for minimal buildsJouni Malinen2009-10-111-3/+9
|
* Cleaned up and unified some of the crypto Makefile codeJouni Malinen2009-10-111-22/+21
|
* Allow the internal DH implementation to be overriddenJouni Malinen2009-10-111-0/+11
| | | | | | | Crypto library wrappers can now override the internal DH (group 5) implementation. As a starting point, this is done with OpenSSL. The new mechanism is currently available only for WPS (i.e., IKEv2 still depends on the internal DH implementation).
* Include only the used DH groups in the buildJouni Malinen2009-10-111-0/+4
| | | | | This reduces the binary size by 3 kB or so when WPS is included in the build, but IKEv2 is not.
* Fix VLAN ID validation check to use the new VLAN IDBlaž Bačnik2009-09-301-1/+1
| | | | | | When checking the validity of VLAN ID based on RADIUS-based ACL or accept_mac_file, the assigned vlan_id, not the old sta->vlan_id (likely zero) needs to be used.
* Fix hostapd wpa_msg() calls ctx for wpa_supplicant AP modeJouni Malinen2009-09-293-5/+8
| | | | Need to use wpa_s pointer, not hapd pointer, for these calls.
* Remove the STA entry on reassociation to clear STA PS stateJouni Malinen2009-09-261-0/+7
| | | | | | | hostapd needs to remove the old STA entry if it exists when processing reassociation back to the same AP. This removes the potentially PS buffered frames and allows association parameters to be updated with mac80211.
* Convert WPS IE concat routine to a generic helperJouni Malinen2009-09-111-31/+2
| | | | | This may also be needed in wpa_supplicant and potentially for other IE types, too.
* Move STA list ctrl_iface handlers to a separate fileJouni Malinen2009-09-084-82/+130
| | | | | This makes it easier to share the hostapd station table query functionality with wpa_supplicant AP mode operations.
* WPS: Store device info and make it available through AP ctrl_ifaceJouni Malinen2009-09-074-0/+21
| | | | | | | | Store a copy of device attributes during WPS protocol run and make it available for external programs via the control interface STA MIB command for associated stations. This gives access to device name and type which can be useful when showing user information about associated stations.
* Fix WPA reconfiguration to update GTKJouni Malinen2009-09-061-15/+35
| | | | | | The group key state machine needs to be re-initialized with possible updated GTK length when restarting WPA (e.g., when WPS was used to reconfigure the AP).
* Use OpenSSL for RC4 instead of internal implementationJouni Malinen2009-08-161-1/+0
|
* Move RC4 into crypto.h as a replaceable crypto functionJouni Malinen2009-08-164-4/+10
| | | | | | This allows crypto library wrappers to override the internal RC4 implementation in the same way as can already be done for other crypto algorithms.
* Remove rc4() wrapperJouni Malinen2009-08-162-3/+3
| | | | | | This is not really of that much use since rc4_skip() can be used as easily. In addition, rc4 has caused some symbol conflicts in the past, so it is easier to live without that as an exported symbol.
* Verify CHAP/MSCHAPv2 return codeJouni Malinen2009-08-161-1/+2
| | | | | Check the return code in some (but not yet all) places where the functions from ms_funcs.c are used.
* Fix OpenSSL build (internal SHA256 not used anymore)Jouni Malinen2009-08-161-1/+0
|
* Use LDFLAGS in all linker commandsBjarke Istrup Pedersen2009-08-161-5/+5
| | | | | When building hostapd and wpa_supplicant, the build system does not respect the LDFLAGS selected in the environment in some cases. [Bug 311]
* Figure out absolute path for the pid file before daemonizingJouni Malinen2009-08-151-2/+4
| | | | | This allows relative path to be used in the same way as was already supported by wpa_supplicant.
* Force rebuilding of src/drivers between hostapd and wpa_supplicantJouni Malinen2009-08-141-1/+9
| | | | | | | | | | | | | This is a (hopefully) temporary workaround to allow the same source code tree to be used for building hostapd and wpa_supplicant without having to manually force recompilation of some files. Currently, some of the driver wrapper files need to be built separately for hostapd and wpa_supplicant (#ifdef's in the files based on AP functionality). This is somewhat racy as far as parallel make execution is concerned, i.e., it may be necessary to run "make -j#" twice (plain "make" works fine. Since this is supposed to be a temporary workaround, there is not much point in trying to fix this with any more complex make processing.
* Replace NEED_MLME with NEED_AP_MLMEJohannes Berg2009-08-1411-30/+30
| | | | | This makes it clearer that it's about the AP, not client-side MLME, even when built into the client (wpa_supplicant).
* Create a common drivers makefile snippetJohannes Berg2009-08-141-59/+6
| | | | | | Instead of having all driver stuff collected across wpa_supplicant and hostapd, create a common snippet that they both include and that handles the build configuration.
* Fix hlr_auc_gw build after crypto build cleanupJouni Malinen2009-08-131-3/+6
|
* Crypto build cleanup: remove CONFIG_NO_AES_*Johannes Berg2009-08-131-8/+18
| | | | | Instead of using a defines and conditional building of AES parts, move the conditional functionality into separate files.
* Crypto build cleanup: remove CONFIG_NO_AES_ENCRYPTJohannes Berg2009-08-131-1/+1
| | | | | Instead of using a define and conditional building of AES parts, move the AES encryption routines into a separate file.
* Crypto build cleanup: remove CONFIG_NO_AES_DECRYPTJohannes Berg2009-08-131-2/+6
| | | | | Instead of using a define and conditional building of AES parts, move the AES decryption routines into a separate file.
* Crypto build cleanup: remove CONFIG_NO_PBKDF2Johannes Berg2009-08-111-1/+1
| | | | | Instead of using a define and conditional building of sha1.c parts, move the PBKDF2 implementation into a separate file.
* Crypto build cleanup: remove CONFIG_NO_TLS_PRFJohannes Berg2009-08-111-2/+2
| | | | | Instead of using a define and conditional building of sha1.c parts, move the TLS PRF implementation into a separate file.
* Crypto build cleanup: remove CONFIG_NO_T_PRFJohannes Berg2009-08-111-9/+9
| | | | | Instead of using a define and conditional building of sha1.c parts, move the T-PRF implementation into a separate file.
* Crypto build cleanup: remove NEED_FIPS186_2_PRFJohannes Berg2009-08-111-4/+13
| | | | | Instead of using a define and conditional building of crypto wrapper parts, move the FIPS 186-2 PRF implementation into separate files.