Implementing 802.11 with Microcontrollers: Wireless Networking for Embedded Systems Designers

Chapter 15: WEP and the AirDrop

I should have said, "Attempt to secure the data we send with our AirDrop module across an 802.11b link" in the last sentence of the previous chapter. WEP (Wired Equivalent Privacy) is an attempt to give wireless LANs the security that wired LANs enjoy by default.

It's relatively simple to add WEP capability to the AirDrop 802.11b driver. So, this chapter will be short and sweet. Let's do it.

Incorporating WEP into the AirDrop 802.11b Driver

Sub Snippet 15.1 is the code segment that makes up the main function of the AirDrop 802.11b driver that is shipped with the assembled and tested EDTP AirDrop variants. As you can see in the Sub Snippet, WEP capability is very easy to add.

Sub Snippet 15.1
**********************************************************void main(void){       unsigned int i,temp,evstat_data;       char rc;       init_USART1();       init_cf_card();       airdrop_cfg(BSS);       airdrop_cfg(SSID);       airdrop_cfg(MAX_DATALEN);       airdrop_cfg(NIC_RATE);       <span style="background-color:dadada">airdrop_cfg(WEP_KEY_128);</span>       <span style="background-color:dadada">airdrop_cfg(WEP_KEYID);</span>       <span style="background-color:dadada">airdrop_cfg(WEP_AUTH_SK);</span>       <span style="background-color:dadada">airdrop_cfg(WEP_ON);</span>       temp = rid_read(RID_cfgOwnMACAddress);       for(i=0;i<6;i++)       {        if(i%2)  ...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Vacuum Pumps and Vacuum Generators
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.