Wired Equivalent Privacy (WEP)

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Wired Equivalent Privacy (WEP)
WIRED EQUIVALENT PRIVACY (WEP)

Security loop holes are present and this is not recommend!!! 

WEP security modes supported are

  • WF_SECURITY_WEP_40

WEP Encryption using 40 bit keys. Also known as WEP 64 keys. 

This security method uses a 40 bit (10 Hex character) "secret key" and a 24 bit Initialization Vector (IV).

  • WF_SECURITY_WEP_104

WEP Encryption using 104 bit keys Also known as WEP 128 keys. 

This security method uses a 104 bit (26 Hex Character) "secret key", and a 24 bit Initialization Vector (IV). 

 

MRF24W only accepts WEP hex keys (MY_DEFAULT_WEP_KEYS_40 or MY_DEFAULT_WEP_KEYS_104) and NOT passphrase. Some Web sites offer this automatic WEP key generators, whereby WEP keys are generated from ordinary text called a passphrase. 

 

WEP key types supported are

  • WF_SECURITY_WEP_OPENKEY

Default 

Both AP/router & client STA do not use the key during the connection process (authentication and association). Thus the connection process is exactly the same as open mode. Once the connection is established, then both AP/router and client STA can start to use the key to encrypt the data packets. For the case when the key mismatches, connection can still be established. However, it will fail during operations such as DHCP, etc. 

 

  • WF_SECURITY_WEP_SHAREDKEY

Supported by MRF24WG0M. 

Supported by MRF24WB0M (RF module FW version 0x1209 and later) 

This involves the key during the authentication process. When the key mismatches, this will cause the connection process to fail. 

 

According to 802.11 specifications, WEP can have a total of 4 keys ( or 4 key indices ). However, in commercial products , only 1 key index (0) is really used. As an example, for iOS, Android and even Windows, there is probably no option to choose WEP key index. That implies they are using only 1 WEP key index.

Functions
 
Name 
Description 
 
Gets the WEP key type for the specified Connection Profile ID. 
 
Returns the value of the active WEP keys to use. Only WEP key index 0 is used in RF module FW. 
 
Set up the WEP key index. Only WEP key index 0 is used in RF module FW. 
 
Sets the WEP key type for the specified Connection Profile ID. 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.