Network infrastructure: the larger network with which a wireless host may wish to communicate.
Infrastructure mode: hosts associated with a base station
Single-hop, infrastructure-less: No base station, one of the nodes in this single-hop network may coordinate the transmissions of the other nodes. Not connected to outside. (Bluetooth)
Multi-hop, infrastructure-based: Some wireless nodes may have to relay their communication through other wireless nodes in order to communicate via the base station. (Wireless mesh networks, 360 wifi)
Multi-hop, infrastructure-less: No base station, nodes may have to relay messages among several other nodes in order to reach a destination. (mobile ad hoc networks, vehicular ad hoc network)
Path loss: Wireless signals (Electromagnetic radiation) attenuates propagating through matter.
Interference: electromagnetic noise & same-frequency signals will interfere with one another
Multipath propagation: Bounce off objects and the ground, taking paths of different lengths between a sender and receiver. Cause signal blurring at receiver.
Wireless networks are more prone to bit errors.
Signal-to-Noise Ratio (SNR): Strength of the received signal (i.e., the information being transmitted) vs. Strength of the noise. A larger SNR makes it easier for the receiver to extract the transmitted signal from the background noise.
Bit Error Rate (BER): Probability that a transmitted bit is received in error at the receiver.
With a given physical layer: Boost signal --> Higher SNR --> Lower BER
With a given SNR: pick a physcial layer that provide a wide throughput with low BER.
Hidden Terminal Problem: Some physical obstruction prevent 2 hosts from hearing one another, but the signals are interferring at another destination where the signals are not blocked.
Signal Attenuation Problem: signals from two hosts attenuates so cannot be detected by one another, but a middleware destination can.
Code division multiple access, a channel partitioning protocol
IEEE 802.11 wireless LAN
2.4 GHz range: unlicensed, compete with microwaves
5 GHz range: shorter transmission distance, more multipath propagation
Antennas
“smart” antennas: 802.11ac, adaptively beamform, decreases interference and increases distance
(MIMO) antennas: two or more antennas on the sending side and two or more antennas on the receiving side that are transmitting/receiving different signals
CSMA/CA senses the wire and if no-one is using it, they it will broadcast onto the frame.
Basic Service Set (BSS): many wireless stations + 1 AP (access point, base station)
Many BSS connect to a switch/router and go to a larger network
Each wireless station has a MAC address, each AP has a MAC address, globally unique.
Admin assigns a one- or two-word Service Set Identifier (SSID) to the AP
802.11 defines 11 partially overlapping channels.
Admin assigns 1 channel to the AP (a channel number).
Each mobile device is associated with an AP, which means the wireless device creates a virtual wire between itself and the AP.
Once associated with an AP, the device will want to join the subnet by sending a DHCP discovery message into the subnet via the AP in order to obtain an IP address on the subnet
AP periodically send beacon frames, each of which includes the AP’s SSID and MAC address
Wireless device scans the 11 channels, and selects one of the available APs for association
Wireless device broadcasts a probe frame that will be received by all APs, and chooses one that is available.
Avoid instead of detection (It is hard to do collision detection in a wireless environment.)
CSMA/CA = “carrier sense multiple access,” meaning that each station senses the channel before transmitting, and refrains from transmitting when the channel is sensed busy.
SENDER
RECEIVER
Packet OK, wait SIFS then send ACK
A mechanism for a sender to reserve for a space in the channel and CA.
RTS frame: indicating the total time required to transmit the DATA frame and the acknowledgment (ACK) frame
CTS frame: gives the sender explicit permission to send and also instructs the other stations not to send for the reserved duration.
H1 moves with-in the same subnet (BSS1 --> BSS2): IP stays the same, TCP connection maintained
A node can change the transmission rate dynamically according to the network situation. This is a mechanism for ensure frames will be delivered successfully.
A node can set its power-management bit in the header of an 802.11 frame to 1 to indicate sleep.
2.4 GHz unlicensed radio band
TDM (time slots of 625 microseconds) + FDM (each time slot has 79 channels)
Ad hoc: No network infrastructure
Piconet: 1 master device and and many client devices. master can transmit to any active device in the network, client can only respond.
Parked device are sleeping devices and can be waken up by the master.
Data Plane responsibility: Forward datagrams between UE (over the LTE radio access network) and the P-GW. UE datagrams are encapsulated at eNode-B, and tunneled to the P-GW through EPC.
Allocates IP addresses to the UEs
Performs QoS (quality of service) enforcemant
Performs datagram encapsulation/decapsulation
All UE traffic will pass through the S-GW
Performs charging/billing functions
Performs lawful traffic interception
Performs connection and mobility management
Receives UE subscription information from the HHS
Home agent in the mobile node’s home network can track the foreign network in which the mobile node resides
Foreign agent update the mobile node’s location to the home agent.
COA (care-of address)
Created by foreign agent
Used as foreign address of the mobile device
Network portion of the COA matching that of the foreign network
eg. Foreign network address: 79.129.13/24, COA: 79.129.13.2
Mobile node registers with the foreign agent when attaching to the foreign network
Foreign agent will register the mobile node’s COA with the home agent
Foreign agent receives and decapsulates the datagram, and forwards the original datagram to the mobile node.
Respond message can either go through home agent or go directly to correspondent
Indirect routing 绕路,不划算
Mobile node registers with the foreign agent when attaching to the foreign network
Foreign agent will register the mobile node’s COA with the home agent
Foreign agent in that foreign network where the mobile node was first found as the anchor foreign agent
Correspondent agent then tunnels datagrams directly to the mobile node’s COA
Foreign agent receives and decapsulates the datagram, and forwards the original datagram to the mobile node.
If the mobile node moves to another network
Mobile node registers with the new foreign agent
New foreign agent provides the anchor foreign agent with the mobile node’s new COA
Correspondent agent tunnels the datagram to anchor foreign agent
Anchor foreign agent re-encapsulate the datagram and forward it to the mobile node using the new COA
Repeat Step 1&2 if moves agagin
As the signal from the mobile device degrades,