mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
Remove obsolete Prism54.org driver support (driver_prism54.c)
The Prism54.org project seems have been dead for a while and it does not look like this driver would ever be maintained again. Furthermore, it is difficult to find a version that would work with the driver_prism54.c wrapper and there is another driver for these card in the Linux kernel tree. The hostapd integration in driver_prism54.c is quite different from the other driver wrappers and would require major effort to get it cleaned up. Since there does not seem to be any real users for the cleaned up version, there does not seem to be justification to spend this effort on the wrapper. This old code is making it much more difficult to clean up the driver interface and at this point, the best option seems to be to remove the driver wrappers. Should someone really still need this, the old code will continue to be available in hostapd 0.6.x.
This commit is contained in:
parent
0531006644
commit
50b5bf4eda
@ -95,9 +95,6 @@ Current hardware/software requirements:
|
||||
madwifi driver root directory in .config (see defconfig file for
|
||||
an example: CFLAGS += -I<path>)
|
||||
|
||||
Prism54 driver for Intersil/Conexant Prism GT/Duette/Indigo
|
||||
(http://www.prism54.org/)
|
||||
|
||||
mac80211-based drivers that support AP mode (with driver=nl80211).
|
||||
This includes drivers for Atheros (ath9k) and Broadcom (b43)
|
||||
chipsets.
|
||||
|
@ -19,9 +19,6 @@ CONFIG_DRIVER_HOSTAP=y
|
||||
#CONFIG_DRIVER_MADWIFI=y
|
||||
#CFLAGS += -I../../madwifi # change to the madwifi source directory
|
||||
|
||||
# Driver interface for Prism54 driver
|
||||
#CONFIG_DRIVER_PRISM54=y
|
||||
|
||||
# Driver interface for drivers using the nl80211 kernel interface
|
||||
#CONFIG_DRIVER_NL80211=y
|
||||
# driver_nl80211.c requires a rather new libnl (version 1.1) which may not be
|
||||
|
@ -12,7 +12,7 @@ daemon.
|
||||
.B hostapd
|
||||
is a user space daemon for access point and authentication servers.
|
||||
It implements IEEE 802.11 access point management, IEEE 802.1X/WPA/WPA2/EAP Authenticators and RADIUS authentication server.
|
||||
The current version supports Linux (Host AP, madwifi, Prism54 drivers) and FreeBSD (net80211).
|
||||
The current version supports Linux (Host AP, madwifi, mac80211-based drivers) and FreeBSD (net80211).
|
||||
|
||||
.B hostapd
|
||||
is designed to be a "daemon" program that runs in the background and acts as the backend component controlling authentication.
|
||||
|
@ -10,7 +10,7 @@ interface=wlan0
|
||||
# included in a bridge. This parameter is not used with Host AP driver.
|
||||
#bridge=br0
|
||||
|
||||
# Driver interface type (hostap/wired/madwifi/prism54/test/none/nl80211/bsd);
|
||||
# Driver interface type (hostap/wired/madwifi/test/none/nl80211/bsd);
|
||||
# default: hostap). nl80211 is used with all Linux mac80211 drivers.
|
||||
# Use driver=none if building hostapd as a standalone RADIUS server that does
|
||||
# not control any wireless/wired driver.
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -24,9 +24,6 @@ extern struct wpa_driver_ops wpa_driver_nl80211_ops; /* driver_nl80211.c */
|
||||
#ifdef CONFIG_DRIVER_HOSTAP
|
||||
extern struct wpa_driver_ops wpa_driver_hostap_ops; /* driver_hostap.c */
|
||||
#endif /* CONFIG_DRIVER_HOSTAP */
|
||||
#ifdef CONFIG_DRIVER_PRISM54
|
||||
extern struct wpa_driver_ops wpa_driver_prism54_ops; /* driver_prism54.c */
|
||||
#endif /* CONFIG_DRIVER_PRISM54 */
|
||||
#ifdef CONFIG_DRIVER_HERMES
|
||||
extern struct wpa_driver_ops wpa_driver_hermes_ops; /* driver_hermes.c */
|
||||
#endif /* CONFIG_DRIVER_HERMES */
|
||||
@ -96,9 +93,6 @@ struct wpa_driver_ops *wpa_drivers[] =
|
||||
#ifdef CONFIG_DRIVER_HOSTAP
|
||||
&wpa_driver_hostap_ops,
|
||||
#endif /* CONFIG_DRIVER_HOSTAP */
|
||||
#ifdef CONFIG_DRIVER_PRISM54
|
||||
&wpa_driver_prism54_ops,
|
||||
#endif /* CONFIG_DRIVER_PRISM54 */
|
||||
#ifdef CONFIG_DRIVER_HERMES
|
||||
&wpa_driver_hermes_ops,
|
||||
#endif /* CONFIG_DRIVER_HERMES */
|
||||
|
@ -19,12 +19,6 @@ CONFIG_WIRELESS_EXTENSION=y
|
||||
CONFIG_L2_PACKET=linux
|
||||
endif
|
||||
|
||||
ifdef CONFIG_DRIVER_PRISM54
|
||||
DRV_CFLAGS += -DCONFIG_DRIVER_PRISM54
|
||||
DRV_OBJS += ../src/drivers/driver_prism54.o
|
||||
CONFIG_WIRELESS_EXTENSION=y
|
||||
endif
|
||||
|
||||
ifdef CONFIG_DRIVER_NL80211
|
||||
DRV_CFLAGS += -DCONFIG_DRIVER_NL80211
|
||||
DRV_OBJS += ../src/drivers/driver_nl80211.o
|
||||
|
@ -1,177 +0,0 @@
|
||||
#ifndef PRISM54_H
|
||||
#define PRISM54_H
|
||||
|
||||
struct ieee802_3_hdr_s {
|
||||
unsigned char da[6];
|
||||
unsigned char sa[6];
|
||||
unsigned short type;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
typedef struct ieee802_3_hdr_s ieee802_3_hdr;
|
||||
|
||||
#define PIMOP_GET 0
|
||||
#define PIMOP_SET 1
|
||||
#define PIMOP_RESPONSE 2
|
||||
#define PIMOP_ERROR 3
|
||||
#define PIMOP_TRAP 4
|
||||
|
||||
struct pimdev_hdr_s {
|
||||
int op;
|
||||
unsigned long oid;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
typedef struct pimdev_hdr_s pimdev_hdr;
|
||||
|
||||
#define DOT11_OID_ATTACHMENT 0x19000003
|
||||
|
||||
/* really need to check */
|
||||
#define DOT11_PKT_BEACON 0x80
|
||||
#define DOT11_PKT_ASSOC_RESP 0x10
|
||||
#define DOT11_PKT_REASSOC_RESP 0x30
|
||||
#define DOT11_PKT_PROBE_RESP 0x50
|
||||
|
||||
struct obj_attachment_hdr {
|
||||
char type;
|
||||
char reserved;
|
||||
short id;
|
||||
short size;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct obj_attachment {
|
||||
char type;
|
||||
char reserved;
|
||||
short id;
|
||||
short size;
|
||||
char data[1];
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define DOT11_OID_MLMEAUTOLEVEL 0x19000001
|
||||
#define DOT11_MLME_AUTO 0
|
||||
#define DOT11_MLME_INTERMEDIATE 0x01000000
|
||||
#define DOT11_MLME_EXTENDED 0x02000000
|
||||
|
||||
#define DOT11_OID_DEAUTHENTICATE 0x18000000
|
||||
#define DOT11_OID_AUTHENTICATE 0x18000001
|
||||
#define DOT11_OID_DISASSOCIATE 0x18000002
|
||||
#define DOT11_OID_ASSOCIATE 0x18000003
|
||||
#define DOT11_OID_BEACON 0x18000005
|
||||
#define DOT11_OID_PROBE 0x18000006
|
||||
#define DOT11_OID_REASSOCIATE 0x1800000b
|
||||
|
||||
struct obj_mlme {
|
||||
char address[6];
|
||||
short id;
|
||||
short state;
|
||||
short code;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define DOT11_OID_DEAUTHENTICATEEX 0x18000007
|
||||
#define DOT11_OID_AUTHENTICATEEX 0x18000008
|
||||
#define DOT11_OID_DISASSOCIATEEX 0x18000009
|
||||
#define DOT11_OID_ASSOCIATEEX 0x1800000a
|
||||
#define DOT11_OID_REASSOCIATEEX 0x1800000c
|
||||
|
||||
struct obj_mlmeex {
|
||||
char address[6];
|
||||
short id;
|
||||
short state;
|
||||
short code;
|
||||
short size;
|
||||
char data[1];
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define DOT11_OID_STAKEY 0x12000008
|
||||
|
||||
#define DOT11_PRIV_WEP 0
|
||||
#define DOT11_PRIV_TKIP 1
|
||||
|
||||
/* endian reversed to bigger endian */
|
||||
#define DOT11_STAKEY_OPTION_DEFAULTKEY 0x100
|
||||
|
||||
struct obj_stakey {
|
||||
char address[6];
|
||||
char keyid;
|
||||
char reserved;
|
||||
short options;
|
||||
char type;
|
||||
char length;
|
||||
char key[32];
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define DOT11_OID_DEFKEYID 0x12000003
|
||||
#define DOT11_OID_DEFKEY1 0x12000004
|
||||
#define DOT11_OID_DEFKEY2 0x12000005
|
||||
#define DOT11_OID_DEFKEY3 0x12000006
|
||||
#define DOT11_OID_DEFKEY4 0x12000007
|
||||
|
||||
struct obj_key {
|
||||
char type;
|
||||
char length;
|
||||
char key[32];
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define DOT11_OID_STASC 0x1200000a
|
||||
|
||||
struct obj_stasc {
|
||||
char address[6];
|
||||
char keyid;
|
||||
char tx_sc;
|
||||
unsigned long sc_high;
|
||||
unsigned short sc_low;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define DOT11_OID_CLIENTS 0x15000001
|
||||
#define DOT11_OID_CLIENTSASSOCIATED 0x15000002
|
||||
#define DOT11_OID_CLIENTST 0x15000003
|
||||
#define DOT11_OID_CLIENTEND 0x150007d9
|
||||
#define DOT11_OID_CLIENTFIND 0x150007db
|
||||
|
||||
#define DOT11_NODE_UNKNOWN
|
||||
#define DOT11_NODE_CLIENT
|
||||
#define DOT11_NODE_AP
|
||||
|
||||
/* endian reversed to bigger endian */
|
||||
#define DOT11_STATE_NONE 0
|
||||
#define DOT11_STATE_AUTHING 0x100
|
||||
#define DOT11_STATE_AUTH 0x200
|
||||
#define DOT11_STATE_ASSOCING 0x300
|
||||
#define DOT11_STATE_REASSOCING 0x400
|
||||
#define DOT11_STATE_ASSOC 0x500
|
||||
#define DOT11_STATE_WDS 0x600
|
||||
|
||||
struct obj_sta {
|
||||
char address[6];
|
||||
char pad[2];
|
||||
char state;
|
||||
char node;
|
||||
short age;
|
||||
char reserved1;
|
||||
char rssi;
|
||||
char rate;
|
||||
char reserved2;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define DOT11_OID_SSID 0x10000002
|
||||
#define DOT11_OID_SSIDOVERRIDE 0x10000006
|
||||
|
||||
struct obj_ssid {
|
||||
char length;
|
||||
char octets[33];
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define DOT11_OID_EAPAUTHSTA 0x150007de
|
||||
#define DOT11_OID_EAPUNAUTHSTA 0x150007df
|
||||
/* not in 38801 datasheet??? */
|
||||
#define DOT11_OID_DOT1XENABLE 0x150007e0
|
||||
#define DOT11_OID_MICFAILURE 0x150007e1
|
||||
#define DOT11_OID_AUTHENABLE 0x12000000
|
||||
#define DOT11_OID_PRIVACYINVOKED 0x12000001
|
||||
#define DOT11_OID_EXUNENCRYPTED 0x12000002
|
||||
|
||||
#define DOT11_AUTH_OS 0x01000000
|
||||
#define DOT11_AUTH_SK 0x02000000
|
||||
#define DOT11_AUTH_BOTH 0x03000000
|
||||
|
||||
#define DOT11_BOOL_TRUE 0x01000000
|
||||
|
||||
#endif /* PRISM54_H */
|
@ -55,11 +55,6 @@ CONFIG_DRIVER_HOSTAP=y
|
||||
# Set include directory to the madwifi source tree
|
||||
#CFLAGS += -I../../madwifi
|
||||
|
||||
# Driver interface for Prism54 driver
|
||||
# (Note: Prism54 is not yet supported, i.e., this will not work as-is and is
|
||||
# for developers only)
|
||||
#CONFIG_DRIVER_PRISM54=y
|
||||
|
||||
# Driver interface for ndiswrapper
|
||||
# Deprecated; use CONFIG_DRIVER_WEXT=y instead.
|
||||
#CONFIG_DRIVER_NDISWRAPPER=y
|
||||
|
@ -14,7 +14,7 @@
|
||||
servers. It implements IEEE 802.11 access point management, IEEE
|
||||
802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and
|
||||
RADIUS authentication server. The current version supports Linux (Host
|
||||
AP, madwifi, Prism54, mac80211-based drivers) and FreeBSD (net80211).</p>
|
||||
AP, madwifi, mac80211-based drivers) and FreeBSD (net80211).</p>
|
||||
|
||||
<p>hostapd is designed to be a "daemon" program that runs in the
|
||||
background and acts as the backend component controlling
|
||||
@ -85,7 +85,6 @@ available in <a href="/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=hostapd/eap
|
||||
<li><a href="http://wireless.kernel.org/en/developers/Documentation/mac80211">Linux mac80211 drivers</a></li>
|
||||
<li><a href="http://w1.fi/">Host AP driver for Prism2/2.5/3</a></li>
|
||||
<li><a href="http://sourceforge.net/projects/madwifi/">madwifi (Atheros ar521x)</a></li>
|
||||
<li><a href="http://www.prism54.org/">Prism54.org (Prism GT/Duette/Indigo)</a></li>
|
||||
<li>BSD net80211 layer (e.g., Atheros driver) (FreeBSD 6-CURRENT)</li>
|
||||
</ul>
|
||||
|
||||
@ -252,7 +251,7 @@ bug/feature request</a>.
|
||||
<address><a href="mailto:j@w1.fi">Jouni Malinen</a></address>
|
||||
<!-- Created: Sun Jan 2 17:20:17 PST 2005 -->
|
||||
<!-- hhmts start -->
|
||||
Last modified: Sat Nov 28 23:23:12 EET 2009
|
||||
Last modified: Sat Dec 12 20:45:27 EET 2009
|
||||
<!-- hhmts end -->
|
||||
</div>
|
||||
</body>
|
||||
|
@ -116,9 +116,9 @@ href="hostapd/">hostapd's own page</a>.</p>
|
||||
|
||||
<p>Supported drivers:</p>
|
||||
<ul>
|
||||
<li>Linux mac80211-based drivers with AP mode support</li>
|
||||
<li>Host AP driver for Prism2/2.5/3</li>
|
||||
<li>madwifi (Atheros ar521x)</li>
|
||||
<li>Prism54.org (PrismGT)</li>
|
||||
<li>BSD net80211 layer (e.g., Atheros driver) (FreeBSD 6-CURRENT)</li>
|
||||
</ul>
|
||||
|
||||
@ -266,7 +266,7 @@ get lost, please report it through the bug tracking system as
|
||||
<address><a href="mailto:j@w1.fi">Jouni Malinen</a></address>
|
||||
<!-- Created: Mon May 27 20:08:41 EEST 2002 -->
|
||||
<!-- hhmts start -->
|
||||
Last modified: Sat Nov 21 22:43:15 EET 2009
|
||||
Last modified: Sat Dec 12 20:45:09 EET 2009
|
||||
<!-- hhmts end -->
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user