summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorJoshua Oreman2009-06-24 09:37:52 +0200
committerMarty Connor2010-01-05 15:14:08 +0100
commit01b4f520893b369da1fffd148dfa4b882ea4f0e5 (patch)
tree01718afbb55cfa117105187c24d3759d811e8ab4 /src/config
parent[iwmgmt] Add wireless management commands and text for common errors (diff)
downloadipxe-01b4f520893b369da1fffd148dfa4b882ea4f0e5.tar.gz
ipxe-01b4f520893b369da1fffd148dfa4b882ea4f0e5.tar.xz
ipxe-01b4f520893b369da1fffd148dfa4b882ea4f0e5.zip
[802.11] Add support for WEP-protected networks
WEP is a highly flawed cryptosystem, barely better than no encryption at all, but many people still use it. It does have the advantage of being very simple and small in code size. Signed-off-by: Marty Connor <mdc@etherboot.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_net80211.c7
-rw-r--r--src/config/general.h6
2 files changed, 13 insertions, 0 deletions
diff --git a/src/config/config_net80211.c b/src/config/config_net80211.c
index bcb76a74..59986b90 100644
--- a/src/config/config_net80211.c
+++ b/src/config/config_net80211.c
@@ -31,3 +31,10 @@ REQUIRE_OBJECT ( iwmgmt_cmd );
REQUIRE_OBJECT ( wireless_errors );
#endif
+/*
+ * Drag in 802.11 cryptosystems and handshaking protocols
+ *
+ */
+#ifdef CRYPTO_80211_WEP
+REQUIRE_OBJECT ( wep );
+#endif
diff --git a/src/config/general.h b/src/config/general.h
index 0acc00d3..c0370ca4 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -65,6 +65,12 @@ FILE_LICENCE ( GPL2_OR_LATER );
//#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
/*
+ * 802.11 cryptosystems and handshaking protocols
+ *
+ */
+#define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
+
+/*
* Name resolution modules
*
*/