370 likes | 510 Views
Wireless Networking Understanding the departure from wired networks, Case study: IEEE 802.11 (WiFi). Many Motivations for Wireless. Unrestricted mobility / deployability Unplugged from power outlet Significantly lower cost No cable layout, service provision Low maintenance Ease
E N D
Wireless NetworkingUnderstanding the departure from wired networks,Case study: IEEE 802.11 (WiFi)
Many Motivations for Wireless • Unrestricted mobility / deployability • Unplugged from power outlet • Significantly lower cost • No cable layout, service provision • Low maintenance • Ease • Direct communication with minimum infratructure
From Links to Networks • Variety of architectures • Single hop networks • Multi-hop networks
Internet The Wireless Future …
No Free Lunch • Numerous challenges • Channel fluctuation • Lower bandwidth • Limited Battery power • Disconnection due to mobility • Security • …
Question Is … Can’t we use the rich “wireline” knowledge ? In solving the wireless challenges
The Answer Wireless channel: A dispersive medium The PHY and MAC layer completely dissimilar The whole game changes
On Our Agenda • Key Physical layer behavior • From Wired to Wireless • The principles of wireless medium access control • Collision avoidance (CSMA/CA) not detection • The emergence of 802.11 (WiFi)
The Channel Access Problem • Multiple nodes share a channel • Pairwise communication desired • Simultaneous communication not possible • MAC Protocols • Suggests a scheme to schedule communication • Maximize number of communications • Ensure fairness among all transmitters A B C
The Trivial Solution • Transmit and pray • Plenty of collisions --> poor throughput at high load A B C
The Simple Fix Don’t transmit • Transmit and pray • Plenty of collisions --> poor throughput at high load • Listen before you talk • Carrier sense multiple access (CSMA) • Defer transmission when signal on channel A B C Can collisions still occur?
CSMA collisions spatial layout of nodes Collisions can still occur: Propagation delay non-zero between transmitters When collision: Entire packet transmission time wasted note: Role of distance & propagation delay in determining collision probability
CSMA/CD (Collision Detection) • Keep listening to channel • While transmitting • If (Transmitted_Signal != Sensed_Signal) Sender knows it’s a Collision ABORT
2 Observations on CSMA/CD • Transmitter can send/listen concurrently • If (Sensed - received = null)? Then success • The signal is identical at Tx and Rx • Non-dispersive The transmitter can DETECT if and when collision occurs
Unfortunately … Both observations do not hold for wireless Leading to …
Wireless Medium Access Control C D A B Signal power SINR threhold Distance
Wireless Media Disperse Energy A cannot send and listen in parallel C D A B Signal power Signal not same at different locations SINR threhold Distance
Collision Detection Difficult • Signal reception based on SINR • Transmitter can only hear itself • Cannot determine signal quality at receiver
Calculating SINR B A C
Red < Blue = collision Red signal >> Blue signal C D X A B Signal power SINR threhold Distance
Important: C has not heard A, but can interfere at receiver B C is the hidden terminal to A C D X A B Signal power SINR threhold Distance
Important: X has heard A, but should not defer transmission to Y Y X is the exposed terminal to A C D X A B Signal power SINR threhold Distance
Hidden and Exposed Terminal Problems Critical to wireless networks even today
Idea! C D X A B Signal power SINR threhold Sensitivity threshold Distance
Idea! Do not transmit in this region Will this solve the wireless MAC problem? C D X A B Signal power SINR threhold T Sensitivity threshold Distance
The Emergence of 802.11 • Wireless MAC proved to be non-trivial • 1992 - research by Karn (MACA) • 1994 - research by Bhargavan (MACAW) • Led to IEEE 802.11 committee • The standard was ratified in 1999
RTS = Request To Send CTS = Clear To Send IEEE 802.11 with Omni Antenna M Y S RTS D CTS K
IEEE 802.11 with Omni Antenna silenced M Y silenced S Data D ACK silenced X K silenced
RTS CTS RTS/CTS • Does it solve hidden terminals ? • Assuming carrier sensing zone = communication zone E F A B C D E does not receive CTS successfully Can later initiate transmission to D. Hidden terminal problem remains.
Hidden Terminal Problem • How about increasing carrier sense range ?? • E will defer on sensing carrier no collision !!! RTS E F CTS A B C D Data
Hidden Terminal Problem • But what if barriers/obstructions ?? • E doesn’t hear C Carrier sensing does not help RTS E F CTS A B C D Data
Exposed Terminal • B should be able to transmit to A • RTS prevents this E RTS CTS A B C D
Exposed Terminal • B should be able to transmit to A • Carrier sensing makes the situation worse E RTS CTS A B C D
Thoughts ! • 802.11 does not solve HT/ET completely • Only alleviates the problem through RTS/CTS and recommends larger CS zone • Large CS zone aggravates exposed terminals • Spatial reuse reduces A tradeoff • RTS/CTS packets also consume bandwidth • Moreover, backing off mechanism is also wasteful The search for the best MAC protocol is still on. However, 802.11 is being optimized too. Thus, wireless MAC research still alive