120 likes | 128 Views
Wireless LANs. Wireless LAN. Basic structure: Stations plus an access point Stations talk to the access point, then to outside Access point talks to stations Stations talk to stations Problem: If more than one station talk at the same time, the packets will be corrupted Design goal:
E N D
Wireless LAN • Basic structure: • Stations plus an access point • Stations talk to the access point, then to outside • Access point talks to stations • Stations talk to stations • Problem: • If more than one station talk at the same time, the packets will be corrupted • Design goal: • A MAC protocol to determine who talks next
Wireless communications • Signal decays according to a power law with the distance, at least to the power of -2 with distance • When a station is sending, not all stations can hear the medium is busy.
Wireless communications • When a station is sending, he cannot hear other stations – cannot decide if there is a collision. No collision detection in wireless LAN.
Wireless communications • Being able to sense the carrier does not mean that you can decode the data • If received signal having power P means that you can decode the data, it may be true that at power P/2 you can realize that there is something going on
Wireless communication • The received signal can be decoded if the signal to noise ratio is larger than a certain threshold. Whether there is a collision depends on the signal to noise ratio at the receiver. • You may allow two transmissions at the same time without collision. A B C D A B C D A->B, D->C A->B, C->D
Wireless communications • Hidden terminal, A->B, C->D. C did not hear A. A B C D • Exposed terminal. A->B, C->D. C hears A. B A C D
MAC • What if we just let everyone talk when he wants to? • There will be collisions.
MAC • When medium is free, what if we say just let people who has been waiting to talk? • More than one station could start at the same time.
MAC • How to make sure that a packet is delivered? • Use ACK.
DCF • Simplified 802.11 DCF operation for unicast. (Automating Cross-Layer Diagnosis of Enterprise Wireless Networks, Sigcomm 2007)