lec17-wireless
lec17-wireless
Widespread Deployment
• Worldwide cellular subscribers
– 1993: 34 million
– 2005: more than 2 billion
– 2012: 6.8 billion
(2.1B with mobile broadband)
Wireless Networks >> 1.2B landline subscribers
3 4
Wireless Properties
• Interference / bit errors
– More sources of corruption compared to wired
• Broadcast medium
– All traffic to everyone
• Power trade-offs
– Important for power constrained devices
1
5 6
Wireless Links: High Bit Error Rate Wireless Links: High Bit Error Rate
• Decreasing signal strength • Interference from other sources
– Disperses as it travels greater distance – Radio sources in same frequency band
– E.g., 2.4 GHz wireless phone interferes with 802.11b
– Attenuates as it passes through matter
wireless LAN
– Electromagnetic noise (e.g., microwave oven)
7 8
Wireless Links: High Bit Error Rate Dealing With Bit Errors
• Multi-path propagation • Wireless vs. wired links
– Electromagnetic waves reflect off objects – Wired: most loss is due to congestion
– Taking many paths of different lengths – Wireless: higher, time-varying bit-error rate
– Causing blurring of signal at the receiver
• Dealing with high bit-error rates
receiver – Sender could increase transmission power
transmitter • Requires more energy (bad for battery-powered hosts)
• Creates more interference with other senders
– Stronger error detection and recovery
• More powerful error detection/correction codes
• Link-layer retransmission of corrupted frames
2
9 10
11 12
3
13 14
15 16
4
17 18
19 20
5
21 22
Questions
• Loss is primary caused by bit errors
(Y) Ethernet (Wired)
(M) 802.11 (Wireless)
(C) Both WiFi: 802.11 Wireless LANs
(A) Neither
23 24
6
25 26
CA: Collision Avoidance, Not Detection CA: Collision Avoidance, Not Detection
• Collision detection in wired Ethernet • Collision detection in wired Ethernet
– Station listens while transmitting – Station listens while transmitting
– Detects collision with other transmission – Detects collision with other transmission
– Aborts transmission and tries sending again – Aborts transmission and tries sending again
• Problem #1: cannot detect all collisions • Problem #1: cannot detect all collisions
– Hidden terminal problem – Hidden terminal problem
– Fading – Fading
• Problem #2: listening while sending
– Strength of received signal is much smaller
– Expensive to build hardware that detects collisions
• So, 802.11 does collision avoidance, not detection
27 28
• A and C can’t see each other, both send to B • If other node sees CTS, will idle for specified period
• Occurs b/c 802.11 relies on physical carrier sensing, • If other node sees RTS but not CTS, free to send
which is susceptible to hidden terminal problem
7
29 30
A B C A B C D
31 32
8
33 34
Questions
• RTS/CTS more like:
(Y) Statistical multiplexing
(M) Time-division multiplexing
(C) Frequency-division multiplexing
Bluetooth: 802.15.1
• Which of following is NOT true?
“personal-area-networks”
(Y) Collisions are minimized when RTS/CTS used.
(M) Sender can always detect a collision without
feedback from receiver.
(C) TCP congestion control works poorly in wireless
without link-layer retransmission.
(A) Wireless generally has higher loss rates than wired.
35 36
• Bluetooth
• Up to 7 “slave devices and 225 “parked” devices
– 79 frequencies, on each frequency for 625 microseconds
• Operates on unlicensed wireless spectrum – Each channel also uses TDMA, with each frame taking
– How to prevent interference? 1/3/5 consecutive slots.
– Only master can start in odd slot, slave only in response
9
37 38
10