Computer Science 37 Lecture 30
Computer Science 37 Lecture 30
Wireless Networks
Reasons to Go Wireless
1) 2) 3)
Wireless communications use the electromagnetic spectrum, which is regulated by government institutions such as the Federal Communications Commission (FCC). Regulations specify what bands of frequency can be used for different applications. For instance: FM radio has 88-108MHz (200KHz) and AM radio has 540-1600KHz (10KHz bandwidth). Regulations also specify the transmission power that can be used in each band. There are portions of the spectrum that are UNLICENSED, however. The most popular wireless networks of today operate in unlicensed bands.
Omnidirectional Antenna
Radiates in all azimuth directions.
Directional Antenna
Radiates in a cone.
Design Alternatives
Point-to-point channels: Information flows in beams that connect communicating parties.
signal received
The antennas on the transmitter and receiver need to be properly aligned for signals to go through. On the flip-side, directional antennas have great power efficiency and range.
Directional antennas are a good choice for systems with fixed infrastructure. They introduce additional difficulties in infrastructure-less systems or when transmitters and receivers can move around, but offer reduced power consumption.
Design Alternatives
Broadcast channels: Information radiates in all possible directions from the transmitter.
signal received
Theres no need to align antennas on the transmitter and receiver. If signals radiate in all directions, a receiver will the transmitters independently of their relative positions. Because power radiates all around, omnidirectional antennas cant reach as far as directional antennas. Note also that quite a bit of power can be wasted.
signal received
This is a good choice for mobile systems. At the expense of increased power consumption, coverage reaches 360o.
D A E B
Multipath Noise Interference
Frequency Division Multiple Access (FDMA): each pair of nodes uses a distinct subrange of the total frequency band for the application. T0 T1 T2 T3 T4 T5 T6 T7 T8
frequency spectrum
Code Division Multiple Access (CDMA): can be seen as a combination of FDMA and TDMA. Frequency Hopping Spread Spectrum (FHSS): transmitters use each frequency band for a random time then move to another randomly chosen TX and RX must agree to a hopping sequence. T0 time T1 T2
time time
10
11
NAV=0
NO
NAV starts with the Duration field value of the last transmission sensed on the medium and counts down to zero.
YES
Sense Medium
Medium Idle
NO
YES
Transmit Frame
Collision?
YES
NO
12
13
Solution: RTS/CTS/DATA/ACK handshake A sends RTS to B, B sends CTS to A, C hears CTS and stays quiet, A sends DATA to B, B replies to A with an ACK.
14
An exposed node is one that is in range of the transmitter, but outside range of the receiver.
15
BS
BS
BS
Ad Hoc
Easy to deploy. Good in changing environments. Allows for node mobility. Can be designed for self-configurability. Can be designed for scalability.
16
Power is a scarce resource (so is the RF spectrum). Collisions lead to wasted power (AND wasted spectrum). Need to impose some kind of access discipline so as to avoid collisions.
17
18
Will the routing protocol scale up to LARGE networks? Can routing adapt to changes in network traffic, propagation conditions, etc.? Packet forwarding costs power. Can we do routing in a way that balances power consumption?
19
Security Issues
Desirable properties:
As of today, the network can be vulnerable at multiple levels: PHY: radio jamming. MAC: DoS via fake requests or schedules. NET: fake route advertisements (black hole attack). A funny but scary notion: caveman attacks.
20