aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Conver hostapd specific files to include common.hJouni Malinen2009-11-2922-4/+22
| | | | | | Instead of getting this via hostapd.h, include it as the first non-system header file in all source code files in the same way as used in all other files.
* Fix IBSS RSN buildJouni Malinen2009-11-291-17/+3
|
* Remove src/rsn_supp from default header pathJouni Malinen2009-11-2920-36/+33
|
* Add driver wrapper callback for WPS push button pressedJouni Malinen2009-11-293-3/+8
| | | | | This avoids the need to include ../hostapd/wps_hostapd.h into the driver wrappers.
* driver_prism54: Use hostapd_notif_disassoc() instead of private copyJouni Malinen2009-11-291-13/+1
|
* Remove some unneeded header file inclusionsJouni Malinen2009-11-292-4/+3
|
* Include sta_flags.h explicitly, not via sta_info.hJouni Malinen2009-11-2913-2/+12
|
* Remove src/common from default header file pathJouni Malinen2009-11-2982-114/+106
| | | | | | | | | | This makes it clearer which files are including header from src/common. Some of these cases should probably be cleaned up in the future not to do that. In addition, src/common/nl80211_copy.h and wireless_copy.h were moved into src/drivers since they are only used by driver wrappers and do not need to live in src/common.
* Split scan processing for RSN preauthentication into partsJouni Malinen2009-11-293-46/+80
| | | | | | This avoids passing the raw scan results into the RSN code and by doing so, removes the only dependency on src/drivers from the src/rsn_supp code (or from any src subdirectory for that matter).
* Add Doxygen documentation for directoriesJouni Malinen2009-11-291-0/+96
|
* Move uuid_gen_mac_addr() from uuid.c into src/wpsJouni Malinen2009-11-294-32/+31
| | | | This removes the only src/crypto dependency from src/utils files.
* nl80211: Remove unneeded header file: ieee802_11_common.hJouni Malinen2009-11-291-4/+0
| | | | driver_nl80211.c does not use anything from this header file.
* HT: Remove unneeded struct ht_cap_ie wrapperJouni Malinen2009-11-296-27/+14
| | | | | It is simpler to just use the HT Capabilities IE payload structure as-is.
* Remove unused/unneeded IEEE 802.11n definitionsJouni Malinen2009-11-292-126/+17
|
* Fix AP mode HT Capabilities IE to use A-MPDU Parameters from the driverJouni Malinen2009-11-293-6/+14
| | | | | | Instead of using hardcoded maximum A-MPDU length of 64 kB and no restrictions on minimum MPDU Start Spacing, use the correct values reported by the driver.
* Rename HT Capabilities IE fields to match with IEEE Std 802.11n-2009Jouni Malinen2009-11-294-25/+31
|
* Complete Doxygen documentation for RADIUS clientJouni Malinen2009-11-292-12/+115
| | | | | No more warnings from Doxygen about missing documentation from radius_client.[ch].
* Replace hostapd devel doc link with shared doc with wpa_supplicantJouni Malinen2009-11-291-2/+2
|
* Remove unused RADIUS client reconfig functionJouni Malinen2009-11-282-66/+0
| | | | | | | | | | | | | This is not actually used at all and it looks like the rules for maintaining the old/new RADIUS configuration are not very clear in the case the RADIUS client configuration did not change. Consequently, it is better to just remove this for now and if similar functionality is ever needed, redesign it to be easier to use without causing hard to find issues with using freed memory. Simpler approach to reconfiguring the RADIUS client would involve just deinitializing the old context unconditionally and initializing a new one whenever the configuration could have changed.
* Move acct_interim_interval away from RADIUS client configurationJouni Malinen2009-11-286-12/+5
| | | | | This is not used at all inside RADIUS client and as such, it belongs into hostapd configuration.
* Improved Doxygen documentation for RADIUS client codeJouni Malinen2009-11-282-49/+363
|
* Fix doxygen file level commentsJouni Malinen2009-11-283-3/+3
|
* Fix doxygen references to EAP server/peer moduleJouni Malinen2009-11-282-3/+3
|
* Remove old wpa_supplicant/hostapd doxygen filesJouni Malinen2009-11-2825-3477/+0
|
* Add new, shared doxygen documentation for hostapd and wpa_supplicantJouni Malinen2009-11-2814-0/+3866
|
* Fix doxygen file level commentsJouni Malinen2009-11-284-3/+17
|
* Fix init2() driver_ops to get the correct global driver contextJouni Malinen2009-11-283-1/+5
| | | | | Need to provide the private driver context, not the wpa_supplicant global context, in init2() call.
* WPS: Update couple of missed Primary Device Type usesJouni Malinen2009-11-262-14/+11
|
* WPS: Clean up Primary Device Type handlingJouni Malinen2009-11-268-95/+84
| | | | | | Use shared functions for converting Primary Device Type between binary and string formats. In addition, use array of eight octets instead of a specific structure with multiple fields to reduce code complexity.
* Resolve some sparse warningsJouni Malinen2009-11-2510-2/+10
| | | | | | Mainly, this is including header files to get definitions for functions which is good to verify that the parameters match. None of these are issues that would have shown as incorrect behavior of the program.
* Fix internal crypto build with some configurationsJouni Malinen2009-11-242-0/+2
| | | | | | crypto_internal.c requires both aes-internal-enc.o and aes-internal-dec.o, so make sure they get included in the build when using internal crypto.
* Remove obsoleted get_scan_results() driver_opsJouni Malinen2009-11-236-265/+61
| | | | | This has now been replaced with get_scan_results2() in every in-tree driver.
* Remove deprecated scan and set_probe_req_ie driver_opsJouni Malinen2009-11-2318-110/+81
| | | | | These have been replaced with scan2 driver_ops that provides all parameters in a single call.
* Remove deprecated driver_ops handlersJouni Malinen2009-11-2320-302/+90
| | | | | | This gets rid of previously deprecated driver_ops handlers set_wpa, set_drop_unencrypted, set_auth_alg, set_mode. The same functionality can be achieved by using the init/deinit/associate handlers.
* Fix CONFIG_AP=y build after driver_ops set_key mergeJouni Malinen2009-11-231-1/+1
|
* Add cleared deprecation notes on iwl,ndiswrapper,madwifi(sta) wrappersJouni Malinen2009-11-234-3/+15
| | | | | | | These driver wrappers should not be used anymore; WEXT should be used instead. However, there may still be users stuck on older kernel versions that may require driver specific wrappers, so the source code still remains in the repository.
* Merge set_key and hapd_set_key driver_ops into a single functionJouni Malinen2009-11-2319-117/+81
|
* Move HOSTAPD_MTU definition into driver_hostap.cJouni Malinen2009-11-233-25/+5
| | | | | | This moves the MTU definition into driver_hostap.c since it was really meant to be specific to this driver. Since this was the last remaining definition in hostapd_defs.h, remove that header file as unnecessary.
* Remove unneeded set-MTU operation from driversJouni Malinen2009-11-233-33/+0
| | | | | | This code was copied from driver_hostap.c where it is used with the special wlan#ap interface. It was not supposed to be used to change the MTU for a normal data interface.
* Move definitions away from hostapd_defs.hJouni Malinen2009-11-2311-86/+53
| | | | | Clean up definitions to reduce need to include header files from the hostapd directory into files under the src subdirectories.
* nl80211: Build some client functionality unconditionallyJouni Malinen2009-11-231-23/+11
| | | | | Even though this makes the hostapd version a bit larger, the code will be easier to maintain with the reduced number of complex ifdef blacks.
* nl80211: Remove last remaining WEXT codeJouni Malinen2009-11-231-37/+0
| | | | | | Clean up driver_nl80211.c by gettign rid of the last remaining WEXT use. This requires that a recent mac80211 version is used to get full protection in station mode via the authorized flag (IEEE 802.1X PAE).
* Merge set_beacon driver_ops into a single oneJouni Malinen2009-11-238-125/+28
| | | | | | Clean up driver interface by merging hostapd and wpa_supplicant specific set_beacon driver_ops into a single one. In addition, merge set_beacon_int into to the same operation.
* Preparations for v0.7.0 releaseJouni Malinen2009-11-216-26/+10
|
* WPS: Do not try to send byebye advertisements if socket is not validJouni Malinen2009-11-211-1/+1
| | | | | | If initialization fails, we could potentially try to sendto() on -1 socket which would fail. No point in doing that, so just return early from the function.
* Fix Visual Studio projects to match with source code file changesJouni Malinen2009-11-214-13/+13
|
* Update ChangeLog files for 0.7.0 releaseJouni Malinen2009-11-212-0/+48
|
* Fix a typo in a commentJouni Malinen2009-11-211-1/+1
|
* wpa_gui: Only move to WPS tab if inactive/disconnect and AP readyJouni Malinen2009-11-211-3/+6
| | | | | | | | This removes many of the cases where moving to the WPS tab can be undesired. It is really only useful if we are not currently connected and there is an AP available that would likely be able to provide us network connectivity with use of WPS (active PBC more or selected registrar set).
* OpenSSL: Remove unneeded MinGW CryptoAPI compat codeJouni Malinen2009-11-211-68/+0
| | | | | | The current MinGW/w32api versions seem to provide all the needed CryptoAPI functions, so the code for loading these dynamically from the DLL can be removed.