aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hostapd/accounting.c3
-rw-r--r--hostapd/accounting.h14
-rw-r--r--hostapd/ap.h14
-rw-r--r--hostapd/config.c3
-rw-r--r--hostapd/config.h14
-rw-r--r--hostapd/config_types.h14
-rw-r--r--hostapd/ctrl_iface.c3
-rw-r--r--hostapd/ctrl_iface.h14
-rw-r--r--hostapd/driver.c3
-rw-r--r--hostapd/driver_bsd.c2
-rw-r--r--hostapd/driver_madwifi.c2
-rw-r--r--hostapd/driver_prism54.c2
-rw-r--r--hostapd/driver_test.c3
-rw-r--r--hostapd/driver_wired.c3
-rw-r--r--hostapd/eap.h14
-rw-r--r--hostapd/eap_i.h25
-rw-r--r--hostapd/eap_sim_db.h14
-rw-r--r--hostapd/eap_tls_common.h14
-rw-r--r--hostapd/eapol_sm.c3
-rw-r--r--hostapd/eapol_sm.h14
-rw-r--r--hostapd/hostapd.c8
-rw-r--r--hostapd/hostapd.h18
-rw-r--r--hostapd/iapp.c8
-rw-r--r--hostapd/iapp.h14
-rw-r--r--hostapd/ieee802_11.c3
-rw-r--r--hostapd/ieee802_11.h14
-rw-r--r--hostapd/ieee802_11_auth.c3
-rw-r--r--hostapd/ieee802_11_auth.h14
-rw-r--r--hostapd/ieee802_1x.c3
-rw-r--r--hostapd/ieee802_1x.h14
-rw-r--r--hostapd/preauth.h14
-rw-r--r--hostapd/radius.c3
-rw-r--r--hostapd/radius.h14
-rw-r--r--hostapd/radius_client.c3
-rw-r--r--hostapd/radius_client.h14
-rw-r--r--hostapd/radius_server.h14
-rw-r--r--hostapd/sta_info.c3
-rw-r--r--hostapd/sta_info.h14
-rw-r--r--hostapd/wpa.h14
39 files changed, 337 insertions, 33 deletions
diff --git a/hostapd/accounting.c b/hostapd/accounting.c
index b6308dd..8838560 100644
--- a/hostapd/accounting.c
+++ b/hostapd/accounting.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / Accounting
+ * hostapd / RADIUS Accounting
* Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/hostapd/accounting.h b/hostapd/accounting.h
index 8af3eac..2a87dc6 100644
--- a/hostapd/accounting.h
+++ b/hostapd/accounting.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / RADIUS Accounting
+ * Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef ACCOUNTING_H
#define ACCOUNTING_H
diff --git a/hostapd/ap.h b/hostapd/ap.h
index 6bd95f9..cd9e245 100644
--- a/hostapd/ap.h
+++ b/hostapd/ap.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / Station table data structures
+ * Copyright (c) 2002-2004, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef AP_H
#define AP_H
diff --git a/hostapd/config.c b/hostapd/config.c
index 761d549..b5d2d46 100644
--- a/hostapd/config.c
+++ b/hostapd/config.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / Configuration file
+ * hostapd / Configuration file
* Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/hostapd/config.h b/hostapd/config.h
index 0d02dee..24b3a75 100644
--- a/hostapd/config.h
+++ b/hostapd/config.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / Configuration file
+ * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef CONFIG_H
#define CONFIG_H
diff --git a/hostapd/config_types.h b/hostapd/config_types.h
index 12b57cb..a844b98 100644
--- a/hostapd/config_types.h
+++ b/hostapd/config_types.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / Shared configuration file defines
+ * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef CONFIG_TYPES_H
#define CONFIG_TYPES_H
diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c
index e1b1317..429825f 100644
--- a/hostapd/ctrl_iface.c
+++ b/hostapd/ctrl_iface.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / UNIX domain socket -based control interface
+ * hostapd / UNIX domain socket -based control interface
* Copyright (c) 2004, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/hostapd/ctrl_iface.h b/hostapd/ctrl_iface.h
index ef1a541..96b25fb 100644
--- a/hostapd/ctrl_iface.h
+++ b/hostapd/ctrl_iface.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / UNIX domain socket -based control interface
+ * Copyright (c) 2004, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef CTRL_IFACE_H
#define CTRL_IFACE_H
diff --git a/hostapd/driver.c b/hostapd/driver.c
index 48b571c..365fc09 100644
--- a/hostapd/driver.c
+++ b/hostapd/driver.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / Kernel driver communication
+ * hostapd / Kernel driver communication with Linux Host AP driver
* Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/hostapd/driver_bsd.c b/hostapd/driver_bsd.c
index 2734e5e..3b007a1 100644
--- a/hostapd/driver_bsd.c
+++ b/hostapd/driver_bsd.c
@@ -1,5 +1,5 @@
/*
- * Host AP - driver interaction with BSD net80211 layer
+ * hostapd / Driver interaction with BSD net80211 layer
* Copyright (c) 2004, Sam Leffler <sam@errno.com>
* Copyright (c) 2004, 2Wire, Inc
*
diff --git a/hostapd/driver_madwifi.c b/hostapd/driver_madwifi.c
index 0c5c352..bac4f65 100644
--- a/hostapd/driver_madwifi.c
+++ b/hostapd/driver_madwifi.c
@@ -1,5 +1,5 @@
/*
- * Host AP - driver interaction with MADWIFI 802.11 driver
+ * hostapd / Driver interaction with MADWIFI 802.11 driver
* Copyright (c) 2004, Sam Leffler <sam@errno.com>
* Copyright (c) 2004, Video54 Technologies
* Copyright (c) 2005, Jouni Malinen <jkmaline@cc.hut.fi>
diff --git a/hostapd/driver_prism54.c b/hostapd/driver_prism54.c
index b490c49..efaad75 100644
--- a/hostapd/driver_prism54.c
+++ b/hostapd/driver_prism54.c
@@ -1,5 +1,5 @@
/*
- * Host AP - driver interaction with Prism54 PIMFOR interface
+ * hostapd / Driver interaction with Prism54 PIMFOR interface
* Copyright (c) 2004, Bell Kin <bell_kin@pek.com.tw>
* based on hostap driver.c, ieee802_11.c
*
diff --git a/hostapd/driver_test.c b/hostapd/driver_test.c
index b95fc23..9ebba19 100644
--- a/hostapd/driver_test.c
+++ b/hostapd/driver_test.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / Driver interface for development testing
+ * hostapd / Driver interface for development testing
* Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/hostapd/driver_wired.c b/hostapd/driver_wired.c
index 4acd476..46d2a70 100644
--- a/hostapd/driver_wired.c
+++ b/hostapd/driver_wired.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / Kernel driver communication
+ * hostapd / Kernel driver communication for wired (Ethernet) drivers
* Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
* Copyright (c) 2004, Gunter Burchardt <tira@isx.de>
*
diff --git a/hostapd/eap.h b/hostapd/eap.h
index 75f2efa..319d646 100644
--- a/hostapd/eap.h
+++ b/hostapd/eap.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / EAP Standalone Authenticator state machine (RFC 4137)
+ * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef EAP_H
#define EAP_H
diff --git a/hostapd/eap_i.h b/hostapd/eap_i.h
index 368416f..b9954b0 100644
--- a/hostapd/eap_i.h
+++ b/hostapd/eap_i.h
@@ -1,10 +1,30 @@
+/*
+ * hostapd / EAP Authenticator state machine internal structures (RFC 4137)
+ * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef EAP_I_H
#define EAP_I_H
#include "eap.h"
-/* draft-ietf-eap-statemachine-05.pdf - EAP Standalone Authenticator */
+/* RFC 4137 - EAP Standalone Authenticator */
+/**
+ * struct eap_method - EAP method interface
+ * This structure defines the EAP method interface. Each method will need to
+ * register its own EAP type, EAP name, and set of function pointers for method
+ * specific operations. This interface is based on section 5.4 of RFC 4137.
+ */
struct eap_method {
int vendor;
EapType method;
@@ -28,6 +48,9 @@ struct eap_method {
Boolean (*isSuccess)(struct eap_sm *sm, void *priv);
};
+/**
+ * struct eap_sm - EAP server state machine data
+ */
struct eap_sm {
enum {
EAP_DISABLED, EAP_INITIALIZE, EAP_IDLE, EAP_RECEIVED,
diff --git a/hostapd/eap_sim_db.h b/hostapd/eap_sim_db.h
index 37165b2..e4dbd52 100644
--- a/hostapd/eap_sim_db.h
+++ b/hostapd/eap_sim_db.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / EAP-SIM database/authenticator gateway
+ * Copyright (c) 2005-2006, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef EAP_SIM_DB_H
#define EAP_SIM_DB_H
diff --git a/hostapd/eap_tls_common.h b/hostapd/eap_tls_common.h
index 659ee84..ac9df65 100644
--- a/hostapd/eap_tls_common.h
+++ b/hostapd/eap_tls_common.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / EAP-TLS/PEAP/TTLS common functions
+ * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef EAP_TLS_COMMON_H
#define EAP_TLS_COMMON_H
diff --git a/hostapd/eapol_sm.c b/hostapd/eapol_sm.c
index 00b142c..49ab707 100644
--- a/hostapd/eapol_sm.c
+++ b/hostapd/eapol_sm.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / IEEE 802.1X Authenticator - EAPOL state machine
+ * hostapd / IEEE 802.1X Authenticator - EAPOL state machine
* Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/hostapd/eapol_sm.h b/hostapd/eapol_sm.h
index 5c19c86..5f808ac 100644
--- a/hostapd/eapol_sm.h
+++ b/hostapd/eapol_sm.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / IEEE 802.1X Authenticator - EAPOL state machine
+ * Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef EAPOL_SM_H
#define EAPOL_SM_H
diff --git a/hostapd/hostapd.c b/hostapd/hostapd.c
index a93d4bb..c4878da 100644
--- a/hostapd/hostapd.c
+++ b/hostapd/hostapd.c
@@ -1,5 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
+ * hostapd / Initialization and configuration
* Host AP kernel driver
* Copyright (c) 2002-2006, Jouni Malinen <jkmaline@cc.hut.fi>
*
@@ -1006,6 +1006,12 @@ fail:
}
+/**
+ * register_drivers - Register driver interfaces
+ *
+ * This function is generated by Makefile (into driver_conf.c) to call all
+ * configured driver interfaces to register them to core hostapd.
+ */
void register_drivers(void);
int main(int argc, char *argv[])
diff --git a/hostapd/hostapd.h b/hostapd/hostapd.h
index 88a2f5f..354157a 100644
--- a/hostapd/hostapd.h
+++ b/hostapd/hostapd.h
@@ -1,3 +1,18 @@
+/*
+ * hostapd / Initialization and configuration
+ * Host AP kernel driver
+ * Copyright (c) 2002-2006, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef HOSTAPD_H
#define HOSTAPD_H
@@ -79,6 +94,9 @@ struct driver_ops;
struct wpa_ctrl_dst;
struct radius_server_data;
+/**
+ * struct hostapd_data - hostapd per-BSS data structure
+ */
struct hostapd_data {
struct hostapd_config *conf;
char *config_fname;
diff --git a/hostapd/iapp.c b/hostapd/iapp.c
index 1847c62..bf9a8f6 100644
--- a/hostapd/iapp.c
+++ b/hostapd/iapp.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP)
+ * hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP)
* Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
@@ -11,6 +10,11 @@
* license.
*
* See README and COPYING for more details.
+ *
+ * Note: IEEE 802.11F-2003 was a experimental use specification. It has expired
+ * and IEEE has withdrawn it. In other words, it is likely better to look at
+ * using some other mechanism for AP-to-AP communication than extenting the
+ * implementation here.
*/
/* TODO:
diff --git a/hostapd/iapp.h b/hostapd/iapp.h
index d6e8f65..c51adcf 100644
--- a/hostapd/iapp.h
+++ b/hostapd/iapp.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP)
+ * Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef IAPP_H
#define IAPP_H
diff --git a/hostapd/ieee802_11.c b/hostapd/ieee802_11.c
index 91b8719..8e2ed0b 100644
--- a/hostapd/ieee802_11.c
+++ b/hostapd/ieee802_11.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / IEEE 802.11 Management
+ * hostapd / IEEE 802.11 Management
* Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/hostapd/ieee802_11.h b/hostapd/ieee802_11.h
index df2760d..ffbd812 100644
--- a/hostapd/ieee802_11.h
+++ b/hostapd/ieee802_11.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / IEEE 802.11 Management
+ * Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef IEEE802_11_H
#define IEEE802_11_H
diff --git a/hostapd/ieee802_11_auth.c b/hostapd/ieee802_11_auth.c
index edb9229..b29e1ad 100644
--- a/hostapd/ieee802_11_auth.c
+++ b/hostapd/ieee802_11_auth.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / IEEE 802.11 authentication (ACL)
+ * hostapd / IEEE 802.11 authentication (ACL)
* Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/hostapd/ieee802_11_auth.h b/hostapd/ieee802_11_auth.h
index 90adc8f..d1c8f86 100644
--- a/hostapd/ieee802_11_auth.h
+++ b/hostapd/ieee802_11_auth.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / IEEE 802.11 authentication (ACL)
+ * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef IEEE802_11_AUTH_H
#define IEEE802_11_AUTH_H
diff --git a/hostapd/ieee802_1x.c b/hostapd/ieee802_1x.c
index ca3f00b..5c494b1 100644
--- a/hostapd/ieee802_1x.c
+++ b/hostapd/ieee802_1x.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / IEEE 802.1X Authenticator
+ * hostapd / IEEE 802.1X Authenticator
* Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/hostapd/ieee802_1x.h b/hostapd/ieee802_1x.h
index d478aca..c121bc3 100644
--- a/hostapd/ieee802_1x.h
+++ b/hostapd/ieee802_1x.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / IEEE 802.1X Authenticator
+ * Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef IEEE802_1X_H
#define IEEE802_1X_H
diff --git a/hostapd/preauth.h b/hostapd/preauth.h
index 0223742..4196442 100644
--- a/hostapd/preauth.h
+++ b/hostapd/preauth.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd - Authenticator for IEEE 802.11i RSN pre-authentication
+ * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef PREAUTH_H
#define PREAUTH_H
diff --git a/hostapd/radius.c b/hostapd/radius.c
index 5c97086..9f556a0 100644
--- a/hostapd/radius.c
+++ b/hostapd/radius.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / RADIUS client
+ * hostapd / RADIUS message processing
* Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/hostapd/radius.h b/hostapd/radius.h
index 3d656a6..fb6e38a 100644
--- a/hostapd/radius.h
+++ b/hostapd/radius.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / RADIUS message processing
+ * Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef RADIUS_H
#define RADIUS_H
diff --git a/hostapd/radius_client.c b/hostapd/radius_client.c
index e01a9c6..23b6de1 100644
--- a/hostapd/radius_client.c
+++ b/hostapd/radius_client.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / RADIUS client
+ * hostapd / RADIUS client
* Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/hostapd/radius_client.h b/hostapd/radius_client.h
index d21ca83..25e72b8 100644
--- a/hostapd/radius_client.h
+++ b/hostapd/radius_client.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / RADIUS client
+ * Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef RADIUS_CLIENT_H
#define RADIUS_CLIENT_H
diff --git a/hostapd/radius_server.h b/hostapd/radius_server.h
index a6bbf99..27f8a19 100644
--- a/hostapd/radius_server.h
+++ b/hostapd/radius_server.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / RADIUS authentication server
+ * Copyright (c) 2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef RADIUS_SERVER_H
#define RADIUS_SERVER_H
diff --git a/hostapd/sta_info.c b/hostapd/sta_info.c
index 1be52e6..77425ad 100644
--- a/hostapd/sta_info.c
+++ b/hostapd/sta_info.c
@@ -1,6 +1,5 @@
/*
- * Host AP (software wireless LAN access point) user space daemon for
- * Host AP kernel driver / Station table
+ * hostapd / Station table
* Copyright (c) 2002-2004, Jouni Malinen <jkmaline@cc.hut.fi>
*
* This program is free software; you can redistribute it and/or modify
diff --git a/hostapd/sta_info.h b/hostapd/sta_info.h
index e2d7b4e..d43201a 100644
--- a/hostapd/sta_info.h
+++ b/hostapd/sta_info.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / Station table
+ * Copyright (c) 2002-2004, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef STA_INFO_H
#define STA_INFO_H
diff --git a/hostapd/wpa.h b/hostapd/wpa.h
index c0c80d4..97ca459 100644
--- a/hostapd/wpa.h
+++ b/hostapd/wpa.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd - IEEE 802.11i-2004 / WPA Authenticator
+ * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef WPA_H
#define WPA_H