Jouni Malinen
be48214d2b
Preparations for 0.7.2 release
2010-04-18 18:02:34 +03:00
Jouni Malinen
125c74cd80
WPS: Include CONFIG_EAP automatically if WPS is enabled
2010-04-17 22:05:18 +03:00
Masashi Honma
5008cb5e55
Support for Solaris default shell restriction
...
Some shells (like Solaris default /bin/sh) doesn't allow -e
option for file existence check. Use -f instead.
2010-04-17 17:15:23 +03:00
Jouni Malinen
488d0934ab
hostapd_cli: Add deauth/disassoc commands to usage help
2010-04-11 21:00:16 +03:00
Yogesh Ashok Powar
721abef9b3
Allow advertising of U-APSD functionality in Beacon
...
hostapd does not implement UAPSD functionality. However, if U-APSD
functionality is implemented outside hostapd, add support to advertise
the functionality in beacon.
Signed-off-by: yogeshp@marvell.com
2010-04-11 11:32:15 +03:00
Jouni Malinen
b242d398f8
Use more os.h wrapper functions in hostapd_cli
2010-04-07 11:40:34 +03:00
Gregory Detal
bae9217474
Add support for action scripts in hostapd_cli
2010-04-07 11:14:54 +03:00
Gregory Detal
bb437f282b
AP: Add wpa_msg() events for EAP server state machine
2010-04-07 11:13:14 +03:00
Michael Buesch
2c657c8dcd
hostapd: Use cp -f in make install
...
If hostapd is running, a make install fails with
cp: cannot create regular file `/usr/local/bin/hostapd': Text file busy
Use cp -f to avoid this error and force-override the file.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
2010-04-06 17:12:17 +03:00
Jouni Malinen
b91ab76e8c
Add test commands for sending deauth/disassoc without dropping state
...
This can be used to test 802.11w by sending a protected or unprotected
deauth/disassoc frame.
hostapd_cli deauth <dst addr> test=<0/1>
hostapd_cli disassoc <dst addr> test=<0/1>
test=0: unprotected
test=1: protected
2010-03-29 12:01:40 -07:00
Jouni Malinen
90a3206a14
Add deauthenticate/disassociate ctrl_iface commands
2010-03-29 11:14:57 -07:00
Jouni Malinen
921a278604
Fix a typo in r1kh config parameter description
...
The second item on the line is R1KH-ID, not R0KH-ID.
2010-03-07 21:16:42 +02:00
Jouni Malinen
23e2550c0e
Remove unneeded CONFIG_EAP comments
...
These are not needed for WPS builds since CONFIG_WPS=y enables all
the needed EAP components.
2010-03-06 16:40:53 +02:00
Jouni Malinen
94d9bfd59b
Rename EAP server source files to avoid duplicate names
...
This makes it easier to build both EAP peer and server functionality
into the same project with some toolchains.
2010-02-19 18:54:07 +02:00
Jouni Malinen
dff0f701d0
Preparations for v0.7.1 release
2010-01-16 19:04:38 +02:00
Jouni Malinen
94627f6cc8
hostapd: Detect bridge interface automatically
...
This makes the bridge parameter unnecessary for cases where the interface
is already in a bridge and sysfs is mounted to /sys so that the detection
code works.
For nl80211, the bridge parameter can be used to request the AP
interface to be added to the bridge automatically (brctl may refuse to
do this before hostapd has been started to change the interface mode).
If needed, the bridge interface is also created.
2010-01-16 15:19:58 +02:00
Jouni Malinen
73b217570c
Fix linking of nt_password_hash
...
Need to use conditional linking of some crypto functionality and add
couple of additional object files. [Bug 343]
2010-01-16 10:38:53 +02:00
Jouni Malinen
f5455a2dbd
Verify that os_get_random() success for SA Query id
2010-01-10 22:28:21 +02:00
Jouni Malinen
9a8d8b3db5
Close config file on error path
2010-01-09 22:29:41 +02:00
Masashi Honma
953f0f6333
bsd: Add support for WPA_TRACE and WPA_TRACE_BFD
...
On FreeBSD 8.0, WPA_TRACE and WPA_TRACE_BFD functionality build fails.
2010-01-09 11:01:12 +02:00
Jouni Malinen
d1f9c410c1
Remove src/drivers/scan_helpers.c
...
Most of this file was already moved into wpa_supplicant/scan.c and
we can remove the file completely by having couple of small helper
functions copied to the remaining users outside core wpa_supplicant
code.
2010-01-03 20:27:32 +02:00
Jouni Malinen
9078adfc8c
hostapd: Fix deinit on initialization failure
2010-01-03 10:54:14 +02:00
Jouni Malinen
f7c4783379
Split hostapd_interface_deinit() into deinit and free parts
...
This allows the driver interface to be deinitialized before
struct hostapd_data instance gets freed. This needs to be done so
that the driver wrapper does not maintain a context pointer to
freed memory.
2009-12-27 21:31:13 +02:00
Jouni Malinen
81f4f6195e
Include header files explicitly in *.c, not via header files
2009-12-26 00:31:51 +02:00
Jouni Malinen
6226e38d00
Rename some src/ap files to avoid duplicate file names
...
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.
2009-12-26 00:05:40 +02:00
Jouni Malinen
1b56c26c40
Get rid of direct hostapd_for_each_interface() calls
...
src/ap/*.c must not call functions in hostapd or wpa_supplicant
directories directly, so avoid this by using a callback function
pointer.
2009-12-25 20:12:26 +02:00
Jouni Malinen
70db2ab308
Move rest of the generic AP mode functionality into src/ap
2009-12-25 20:06:07 +02:00
Jouni Malinen
8c5fe31fe8
Move driver deinitialization away from hostapd.c
...
This matches with the earlier change of moving driver initialization
and allows more control on how the driver context is managed.
2009-12-25 18:32:44 +02:00
Jouni Malinen
a4f2110934
Clean up some of the hostapd.h function prototype definitions
...
Not all prototypes in hostapd.h really belong there. This is an initial
step in cleaning that up.
2009-12-25 14:20:35 +02:00
Jouni Malinen
0aef3ec832
Move hostapd_prune_associations() into ap/utils.c
2009-12-25 14:06:26 +02:00
Jouni Malinen
c442055ecf
Move WPA authenticator glue code into a separate file
2009-12-25 14:02:17 +02:00
Jouni Malinen
2586bc64d0
Move authentication server setup into separate file
2009-12-25 13:43:43 +02:00
Jouni Malinen
ad44e244b1
Move iapp.c into src/ap
2009-12-25 13:04:45 +02:00
Jouni Malinen
0e2d35c614
Move ctrl_iface_ap.c into src/ap
2009-12-25 12:25:55 +02:00
Jouni Malinen
e5f2b59c7e
Move hostapd driver initialization away from hostapd.c
...
This makes it easier to customize AP mode initialization for
wpa_supplicant.
2009-12-25 12:21:11 +02:00
Jouni Malinen
bee07ce805
hostapd: Do not call eloop_terminate() on interface setup failure
...
The caller is able to handle the error code properly and there is no
need to forcefully stop the eloop run here.
2009-12-25 11:51:20 +02:00
Jouni Malinen
32da61d9c9
Move wps_hostapd.c into src/ap
2009-12-25 01:26:37 +02:00
Jouni Malinen
1057d78eb8
Move generic AP functionality implementation into src/ap
...
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.
2009-12-25 01:12:50 +02:00
Jouni Malinen
6d1278e998
Remove direct driver calls from tkip_countermeasures.c
2009-12-25 00:39:22 +02:00
Jouni Malinen
2ce86d9d72
Remove direct driver calls from ieee802_11.c
2009-12-25 00:35:10 +02:00
Jouni Malinen
bdee6fceb9
Remove direct driver calls from sta_info.c
2009-12-25 00:30:16 +02:00
Jouni Malinen
36592d31c1
Remove direct driver calls from vlan_init.c
2009-12-25 00:17:07 +02:00
Jouni Malinen
677449b97e
Remove direct driver calls from beacon.c
2009-12-25 00:10:31 +02:00
Jouni Malinen
2f3e0bd4d4
Remove need for direct driver calls from ieee802_11_auth.c
2009-12-24 23:49:19 +02:00
Jouni Malinen
d24df7c33d
Avoid direct call to hostapd_new_assoc_sta from ieee802_11.c
2009-12-24 23:42:13 +02:00
Jouni Malinen
a2de634d1c
Removed hostapd_new_assoc_sta() from driver wrapper API
...
This is not called directly by any of the driver wrappers anymore, so
the function can be removed from driver.h and drv_callbacks.c.
2009-12-24 23:30:32 +02:00
Jouni Malinen
94709ea358
Avoid a direct call to drv_callbacks.c from beacon.c
2009-12-24 23:20:53 +02:00
Jouni Malinen
010401fe65
Move hostapd_set_drv_ieee8021x() into ap_drv_ops
2009-12-24 23:17:11 +02:00
Jouni Malinen
4c2ddda495
Move hostapd-to-driver flag mapping to be within ap_drv_ops.c
2009-12-24 23:11:16 +02:00
Jouni Malinen
d3b86aed73
Move wpa_drivers dependency into config_file.c
...
This cleans up config.o from driver wrapper dependencies.
2009-12-24 22:50:17 +02:00