From 01b4f520893b369da1fffd148dfa4b882ea4f0e5 Mon Sep 17 00:00:00 2001 From: Joshua Oreman Date: Wed, 24 Jun 2009 00:37:52 -0700 Subject: [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 --- src/config/config_net80211.c | 7 +++++++ src/config/general.h | 6 ++++++ 2 files changed, 13 insertions(+) (limited to 'src/config') diff --git a/src/config/config_net80211.c b/src/config/config_net80211.c index bcb76a747..59986b90c 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 0acc00d3d..c0370ca40 100644 --- a/src/config/general.h +++ b/src/config/general.h @@ -64,6 +64,12 @@ FILE_LICENCE ( GPL2_OR_LATER ); //#undef SANBOOT_PROTO_AOE /* AoE protocol */ //#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 * -- cgit v1.2.3-55-g7522