Wi-fi Ethernet (802.11) | Computer Networks - Computer Science Engineering (CSE) PDF Download

WI-FI (802.11)
This section takes a closer look at a specific technology centered on the emerging IEEE 802.11 standard, also known as Wi-Fi. Wi-Fi is technically a trademark, owned by a trade group called the Wi-Fi alliance that certifies product compliance with 802.11. 802.11 is designed for use in a limited geographical area (homes, office buildings, campuses) and its primarily challenge is to mediate access to a shared communication medium in this case, signals propagating through space.

Physical Properties:
802.11 run over six different physical layer protocols. Five are based on spread spectrum radio, and one on diffused infrared (and is of historical interest only at this point). The fastest runs at a maximum of 54 Mbps.The original 802.11 standard defined two radio based physical layers standards, one using frequency hopping and the other using direct sequence. Both provide up to 2 Mbps. Then physical layer standard 802.11 b was added. Using a variant of direct exempt 2.4GHz frequency band of the electromagnetic spectrum. Then came 802.11a, which delivers up to 54 Mbps using a variant of FDM called orthogonal frequency division multiplexing (OFDM). 802.11 a runs in the license-exempt 5GHz band. The most recent standard is 802.11g, which is backward compatible with 802.11b.

Collision Avoidance:
A wireless protocol wait until the link becomes idle before transmitting and back off should a collision occur. Consider the situation where A and C are both within range of B but not each other. Suppose both A and C want to communicate with B and so they each send it a frame. A and C are unaware of each other since their signals do not carry that far. These two frames collide with each other at B, but unlike an Ethernet, neither A or C is aware of this collision. A and C are said to be hidden nodes with respect to each other.

A related problem called the exposed node problem where each of the four nodes is able to send and receive signals that reach just the nodes to its immediate left and right. For EX: a B can exchange frames with A and C but it cannot reach D , while C can reach B and D but not A. Suppose B is sending to A. Node C is aware of this communication because it hear B‟s transmission. It would be a mistake, however, for C to conclude that it cannot transmit to anyone just because it can hear B‟s transmission. For example, suppose C wants to transmit to node D. This is not a problem since C‟s transmission to D will not interfere with A‟s ability to receive from B.

Wi-fi Ethernet (802.11) | Computer Networks - Computer Science Engineering (CSE)

802.11 addresses these two problems with an algorithm called multiple access with collision avoidance (MACA). The idea is for the sender and receiver ot exchange control frames with each other before the sender actually transmits any data. This exchange informs all nearby nodes that a transmission is about to begin. Specifically, the sender transmits a Request to send (RTS) frame to the receiver; the RTS frame includes a field that indicates how long the sender wants to hold the medium. The receiver then replies with a clear to send (CTS) frame. This frame echoes this length field back to the sender. Any node that sees the RTS frame will collide with each other.

802.11 does not support collision detection, but instead the senders realize the in which case they each wait a random amount of time before trying again. The amount of time a given node delay is defined by the same exponential backoff algorithm used on the Ethernet.

Distribution System
Instead of all nodes created equal, some nodes are allowed to roam and some are connected to a wired network infrastructure. 802.11 calls these base stations access points (AP), and they are connected to each other by a so-called distribution systemA distribution system that connects three access points, each of which services the nodes in some region. Although two nodes can communicate directly with each other if they are within reach of each other, the idea behind this configuration is that each node associates itself with one access point. For node A to communicate with node E, for example, A first sends a frame to its access point (AP-1), which forwards the frame across the distribution system to AP-3 , which finally transmits the frame to E.

Wi-fi Ethernet (802.11) | Computer Networks - Computer Science Engineering (CSE)

The technique for selecting an AP is called scanning and involves the following four steps:
1.     The node sends a probe frame;
2.     All APs within reach reply with a probe Response frames;
3.     The node selects one of the access points, and sends that AP an Association Request frames;
4.     The AP replies with an Association Response frame.

Because the signal from its current AP has weakened due to the node moving away from it. Whenever a node acquires a new AP, the new AP notifies the old AP of the change via the distribution system.Here in this fig., where node C moves from the cell serviced by AP-1 to the cell serviced by AP-2. At some point, C prefers AP-2 over AP-1,and so it associates itself with that access point.The mechanism just described is called active scanning since the node is actively searching for an access point. APs also periodically send a BEACON frame that the capabilities of the access point; these include the transmission rates supported by the AP.

This is called passive scanning, and a node can change to this AP based on the BEACON frame simply by sending an ASSOCIATION REQUEST frame back to the access point.

Frame Format:

Wi-fi Ethernet (802.11) | Computer Networks - Computer Science Engineering (CSE)

 

The frame contains the source and destination node address, each of which is 48 bits long, up to 2,312 bytes of data, and a 32-bit CRC. The Control field contains three subfields of interest : a 6-bit Type field that indicates whether the frame carries data, is an RTS or CTS frame, or is being used by the scanning algorithm; and a pair of 1-bit fields-called ToDS and .The 802.11 frame format is that it contains four, rather than two, address. how these address are interpreted depends on the settings of the ToDS and FromDS bits in the frame‟s Control field. This is to account for the possibility that the frame had to be forwarded across the distribution systems, which would mean that the original sender is not necessarily the same as the most recent transmitting node.

Similar reasoning applies to the destination address. In the simplest case, when one node is sending directly to another, the DS bits are 0, Addr1 identifies the target node, and Addr2 identifies the source node.In the most complex case, both DS bits are set to 1, indicating that the message went from a wireless node onto the distribution system and then from the distribution system to another wireless node. With both bits set, Addr1 identifies the ultimate destination, Addr2 identifies the immediate sender (the one that forwarded the frame from the distribution system to the ultimate destination), Addr3 identifies the intermediate destination (the one that accepted the frame from a wireless node and forwarded it across the distribution system), and Addr4 identifies the original source. In terms of the example given in fig., Addr1 corresponds to E, Addr2 identifies AP-3, Addr3 corresponds to AP-1, and Addr4 identifies A.

The document Wi-fi Ethernet (802.11) | Computer Networks - Computer Science Engineering (CSE) is a part of the Computer Science Engineering (CSE) Course Computer Networks.
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)
21 videos|107 docs|66 tests

Up next

FAQs on Wi-fi Ethernet (802.11) - Computer Networks - Computer Science Engineering (CSE)

1. What is Wi-Fi Ethernet (802.11)?
Ans. Wi-Fi Ethernet (802.11) refers to the wireless networking technology that allows devices to connect to a local area network (LAN) or the internet without the need for physical cables. It uses radio waves to transmit data between devices, providing wireless connectivity.
2. How does Wi-Fi Ethernet (802.11) work?
Ans. Wi-Fi Ethernet (802.11) works by using a wireless access point (WAP) or router to create a wireless network. The access point or router receives data from devices connected to it and transmits it wirelessly using radio waves. Devices with Wi-Fi capabilities, such as smartphones, laptops, and tablets, can connect to this network and access the internet or communicate with other devices on the network.
3. What is the difference between Wi-Fi and Ethernet?
Ans. Wi-Fi and Ethernet are both methods of connecting devices to a network, but they differ in their mode of connection. Wi-Fi uses wireless radio waves to transmit data, allowing devices to connect without the need for physical cables. On the other hand, Ethernet uses physical cables, such as Ethernet cables, to establish a wired connection between devices and the network. Wi-Fi offers the advantage of mobility and flexibility, while Ethernet provides a more stable and reliable connection.
4. What are the advantages of Wi-Fi Ethernet (802.11)?
Ans. Wi-Fi Ethernet (802.11) offers several advantages. Firstly, it provides wireless connectivity, allowing devices to connect without the need for physical cables, which offers convenience and flexibility. Secondly, it enables mobility, as devices can connect to the network from different locations within the coverage area. Additionally, Wi-Fi Ethernet supports multiple devices simultaneously, allowing for seamless connectivity for multiple users. It also simplifies network setup and eliminates the need for extensive cabling.
5. How secure is Wi-Fi Ethernet (802.11)?
Ans. The security of Wi-Fi Ethernet (802.11) networks depends on the security measures implemented. By default, Wi-Fi networks use encryption protocols such as WPA2 (Wi-Fi Protected Access II) to secure the data transmitted over the network. However, it is important to set a strong and unique password for the network to prevent unauthorized access. Additional security measures, such as enabling network firewalls and using virtual private networks (VPNs), can further enhance the security of Wi-Fi Ethernet networks.
21 videos|107 docs|66 tests
Download as PDF

Up next

Explore Courses for Computer Science Engineering (CSE) exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Wi-fi Ethernet (802.11) | Computer Networks - Computer Science Engineering (CSE)

,

past year papers

,

study material

,

shortcuts and tricks

,

Semester Notes

,

Important questions

,

ppt

,

Previous Year Questions with Solutions

,

MCQs

,

Extra Questions

,

pdf

,

Wi-fi Ethernet (802.11) | Computer Networks - Computer Science Engineering (CSE)

,

Viva Questions

,

practice quizzes

,

Objective type Questions

,

Summary

,

Sample Paper

,

video lectures

,

Wi-fi Ethernet (802.11) | Computer Networks - Computer Science Engineering (CSE)

,

Exam

,

Free

,

mock tests for examination

;