path: root/hostapd/dump_state.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* AP: Introduce sta authorized wrappersJohannes Berg2011-02-021-2/+1
| | | | | | | | To enable making state change notifications on the WLAN_STA_AUTHORIZED flag, introduce ap_sta_set_authorized(), and to reduce use of the flag itself also add a wrapper for testing the flag: ap_sta_is_authorized(). Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* Rename some src/ap files to avoid duplicate file namesJouni Malinen2009-12-251-3/+3
| | | | | | Doxygen and some build tools may get a bit confused about same file name being used in different directories. Clean this up a bit by renaming some of the duplicated file names in src/ap.
* Clean up some of the hostapd.h function prototype definitionsJouni Malinen2009-12-251-1/+1
| | | | | Not all prototypes in hostapd.h really belong there. This is an initial step in cleaning that up.
* Move generic AP functionality implementation into src/apJouni Malinen2009-12-241-3/+3
| | | | | | | | | | This code can be shared by both hostapd and wpa_supplicant and this is an initial step in getting the generic code moved to be under the src directories. Couple of generic files still remain under the hostapd directory due to direct dependencies to files there. Once the dependencies have been removed, they will also be moved to the src/ap directory to allow wpa_supplicant to be built without requiring anything from the hostapd directory.
* hostapd: Add WDS (4-address frame) mode with per-station interfacesFelix Fietkau2009-12-241-1/+2
| | | | | | This mode allows associated stations to use 4-address frames to allow layer 2 bridging to be used. At least for the time being, this is only supported with driver=nl80211.
* Merge hostapd/sta_flags.h into sta_info.hJouni Malinen2009-12-131-1/+0
| | | | | | The separate header file is not needed since none of the driver wrappers include it anymore. Move the WLAN_STA_* definitions back to be together with struct sta_info definition.
* Fix hostapd build without RADIUS serverJouni Malinen2009-12-111-0/+3
* Remove conditional no-RADIUS build from src/radiusJouni Malinen2009-12-061-0/+4
| | | | | Make it responsibility of the src/radius user to handle conditional build rules.
* Move internal EAPOL authenticator defines into their own fileJouni Malinen2009-11-291-4/+5
| | | | | | | | This is an initial step in further cleaning up the EAPOL authenticator use to avoid requiring direct accesses to the internal data structures. For now, number of external files are still including the internal definitions from eapol_auth_sm_i.h, but eventually, these direct references should be removed.
* Make HOSTAPD_DUMP_STATE configurable with CONFIG_NO_DUMP_STATEJouni Malinen2009-11-291-0/+176
This removes the hardcoded definition from Makefile and cleans up source code by moving the mail HOSTAPD_DUMP_STATE blocks into separate files to avoid conditional compilation within files.