Jouni Malinen
6fa68a0ee5
Added an option to add (or override) Credential attribute(s) in M8
2009-01-16 22:50:41 +02:00
Jouni Malinen
4bb081f1b4
Renamed PMKSA cache functions to avoid duplicate symbols with supplicant
...
This allows hostapd/pmksa_cache.c and src/rsn_supp/pmksa_cache.c to be
linked into the same program.
2009-01-14 22:01:26 +02:00
Jouni Malinen
13268290b6
Moved rsn_pmkid() into shared code to avoid duplication
2009-01-14 21:31:47 +02:00
Jouni Malinen
010dc06853
Moved RADIUS Class attribute helpers into RADIUS module
2009-01-13 20:01:29 +02:00
Jouni Malinen
61e64e7b7f
Removed dead code
2009-01-13 19:15:42 +02:00
Jouni Malinen
c77bb61aee
Fixed copy-paste error in retry configuration (incorrect ioctl used)
2009-01-13 19:14:38 +02:00
Jouni Malinen
25ba219f3e
Removed unused set_regulatory_domain driver function
2009-01-13 19:12:25 +02:00
Jouni Malinen
f49275c92f
Fixed build without CONFIG_IEEE80211N
2009-01-12 22:08:53 +02:00
Jouni Malinen
4cdde5caf7
Fixed a typo in printf -> wpa_printf changes
2009-01-12 22:06:51 +02:00
Jouni Malinen
24bb3d9788
Fixed build with wpa_printf disabled
2009-01-12 22:06:06 +02:00
Jouni Malinen
a9843f614f
Removed hw_features.o from build if hostapd MLME is not used
2009-01-12 22:03:58 +02:00
Jouni Malinen
7fd46d466f
Added build option for disabling control interface (CONFIG_NO_CTRL_IFACE)
2009-01-12 21:44:57 +02:00
Jouni Malinen
30b32314eb
Added build option for removing VLAN support (CONFIG_NO_VLAN)
2009-01-12 21:39:19 +02:00
Jouni Malinen
71f04b3cf9
Fixed CONFIG_NO_HOSTAPD_LOGGER build
2009-01-12 21:21:31 +02:00
Jouni Malinen
27750f29d6
Comment out RADIUS configuration parsing if RADIUS client support is
...
disabled in the build.
2009-01-12 16:49:39 +02:00
Jouni Malinen
10656fc23a
Replaced printf() calls with wpa_printf()
2009-01-12 16:49:04 +02:00
Jouni Malinen
815d2189d9
Remove TLS-PRF from hostapd build if it is not needed
2009-01-12 15:20:12 +02:00
Jouni Malinen
03ba2cb4c6
Added CONFIG_NO_AES_EXTRAS for hostapd
...
This allows unneeded AES routines to be removed from the build to reduce
binary size.
2009-01-12 15:15:35 +02:00
Jouni Malinen
bc521fac13
Fixed couple of build failures with minimal configuration
2009-01-12 15:08:33 +02:00
Jouni Malinen
3904625396
Silenced some sparse warnings
2009-01-11 10:42:07 +02:00
Jouni Malinen
b7fc385071
Fixed build with 802.11n disabled
2009-01-10 21:36:41 +02:00
Jouni Malinen
5fa30f32da
Cleaned up main() by splitting it into number of helper functions
2009-01-09 18:04:57 +02:00
Jouni Malinen
b5b969e9c7
Moved driver callback functions from hostapd.c to a new file
2009-01-09 17:27:03 +02:00
Jouni Malinen
81897f4c88
Moved TKIP countermeasures from hostapd.c to its own file
2009-01-09 17:12:33 +02:00
Jouni Malinen
9302c5e19c
Cleanup: move related functions closer to eachother
2009-01-09 17:06:54 +02:00
Jouni Malinen
3313cea0d6
Fixed TKIP countermeasueres for drivers that do not use hostapd MLME
...
The Michael MIC reporting functions have to be included even when using
driver MLME.
2009-01-09 17:00:29 +02:00
Jouni Malinen
649d8890b1
Add wrapper functions for IEEE 802.11 driver calls into driver.h
...
These functions allow the driver_*.c wrappers not to include
ieee802_11.h.
2009-01-09 16:55:59 +02:00
Jouni Malinen
b83cbb3b3b
Use a wrapper function for ieee802_1x_receive() to avoid ieee802_1x.h
...
Driver wrappers should not need to include ieee802_1x.h, so use a
wrapper function declared in driver.h.
2009-01-09 16:33:59 +02:00
Jouni Malinen
33eb3c4ec4
Moved disassociation processing away from driver_*.c
2009-01-09 16:27:30 +02:00
Jouni Malinen
940a0ce970
Moved association check from driver_*.c into ieee802_1x_receive()
2009-01-09 16:17:20 +02:00
Jouni Malinen
602996f8db
Moved WPA setup etc. association processing away from driver_*.c
...
This is all details that should not need to be handled in driver_*.c.
2009-01-09 16:13:07 +02:00
Jouni Malinen
214021f585
Move RX-from-unknown-STA processing away from driver_*.c
...
This cleans up the driver wrapper interface by getting rid of sta_info.h
dependency in all drivers that use MLME implementation in hostapd
(driver_hostap.c and driver_nl80211.c).
2009-01-09 15:44:45 +02:00
Jouni Malinen
8607f4c31f
Moved TX status processing for STA entries away from driver_*.c
...
Driver wrappers should not need to know about this level of core hostapd
details.
2009-01-09 15:33:36 +02:00
Jouni Malinen
76e2592190
Share the same radiotap helper implementation
2009-01-09 15:22:19 +02:00
Jouni Malinen
d200828b41
Moved rfc1042_header into driver_*.c that use it
...
No need to share such a small buffer and make hostapd.[ch] more complex
with it.
2009-01-09 15:06:48 +02:00
Jouni Malinen
a2f517fb93
Fixed a typo in a comment
2009-01-09 15:01:50 +02:00
Jouni Malinen
8d06da09a4
Move generic definitions away from hostapd.h
...
This is an initial step in trying to make hostapd.h not needed to be
included in so many files.
2009-01-08 20:14:05 +02:00
Jouni Malinen
bfddd95c9e
Split hostapd/driver.h into two files
...
driver.h contains the definitions needed in driver wrapper
implementations (driver_*.c) and driver_i.h contains the definitions
that are used in core hostapd code to interact with the driver wrappers.
2009-01-08 20:02:56 +02:00
Jouni Malinen
f88bd28836
Added support for removing RADIUS accounting and RADIUS in general
...
CONFIG_NO_ACCOUNTING=y and CONFIG_NO_RADIUS=y build options can now be
used to remove RADIUS support from the hostapd build.
2009-01-08 19:15:25 +02:00
Jouni Malinen
9c584c06bd
Remove MLME code from build if none of the enabled drivers need it
2009-01-08 18:40:14 +02:00
Jouni Malinen
bb305cbdcc
Replaced printf() with wpa_printf()
2009-01-08 16:57:04 +02:00
Jouni Malinen
03018d3e7c
Added CONFIG_NO_STDOUT_DEBUG for hostapd
...
This is similar to one in wpa_supplicant and can be used to reduce the
binary size by removing debugging messages.
2009-01-08 16:47:04 +02:00
Jouni Malinen
7d02e64157
Mark shared secret const in RADIUS client routines
2009-01-08 16:41:47 +02:00
Jouni Malinen
1c6e69ccda
Moved documentation from developer.txt into source code files
...
Use Doxygen comments for functions to replace the old text file that was
not up-to-date anymore.
2009-01-08 16:33:00 +02:00
Jouni Malinen
6f78f2fb3b
Preparations for 0.6.7 release
2009-01-06 20:11:15 +02:00
Jouni Malinen
f58b20ce66
Fixed IMAGE_PATH for doxygen run in root directory
2009-01-04 14:44:33 +02:00
Jouni Malinen
2eba45c8de
Added endianness annotation for sparse
2009-01-03 21:00:38 +02:00
Jouni Malinen
5306f43fc3
Fixed sparse warnings about integer vs. pointer use
...
The configuration parsing functions seemed to have worked fine before,
but these were real bugs even if they did not show up in practice.
hostapd_ip_diff() was broken for IPv6 addresses (overwrote address and
always returned 1.
2009-01-03 20:46:32 +02:00
Jouni Malinen
d953d9ab80
Removed sparse destinations since "CC=cgcc make" works fine
2009-01-03 20:39:52 +02:00
Jouni Malinen
7e5ba1b916
Mark functions static if not used elsewhere and use proper prototypes
2009-01-03 20:38:42 +02:00