WLAN Communications
Protocols and Routing in Internet (IN5030) Andrew Adrians (27.03.2020)
WLAN Communications Protocols and Routing in Internet (IN5030) - - PowerPoint PPT Presentation
WLAN Communications Protocols and Routing in Internet (IN5030) Andrew Adrians (27.03.2020) Wireless Communication Definition: Transfer of information among two or more points that are not connected by wires or any kind of electric conductor.
Protocols and Routing in Internet (IN5030) Andrew Adrians (27.03.2020)
Definition: Transfer of information among
two or more points that are not connected by wires or any kind of electric conductor.
Applications: Broadcast information (e.g.
news, weather reports, road conditions), satellite communications (e.g. GPS), WLAN (PCs, printers, wireless keyboards/mouse/headsets/USB and Bluetooth devices), Mobile phones communication and medical technologies such as MBAN (Mobile Body Area Network) to transfer data such as heartbeat or blood pressure to nursing centers, etc.
How does it work?
Information is transmitted via electromagnetic (EM) waves. Some of the examples
EM waves are modulated to transmit the information. There are two types of modulation techniques: AM or FM AM (Amplitude Modulation):
AM is a type of modulation where the height of the carrier signal changes in accordance with the height of the message signal. In AM, only the amplitude of the carrier wave changes and not its frequency or phase.
FM (Frequency Modulation):
FM is a type of modulation where the information (message signal) is transmitted over a carrier wave by varying its frequency in accordance with the amplitude of the message signal. In FM, the frequency of the carrier signal is varied whereas the amplitude of the carrier signal remains constant.
FM:
can match them quickly. Conclusion: FM is better for digital transfer.
Nano: few micrometers distance NFC (Near-Field Communication): within 4 CM Of distance, e.g. Keycards, contact payment, etc. BAN (Body Area Network): E.g. wearable computing devices to monitor heart rate or blood pressure etc. PAN (Personal Area Network): within a radius of one
LAN (Local Area Netwrok): covering the area of one Building. CAN (Campus/Corporate Area Network): unites LAN within a limited geographical area such as a university. MAN (Metropolitan Area Network): a bigger network to cover certain areas of a city using microwave transmission technology. WAN (Wide Area Network): unites LANs and MANs.
as a school, a hospital, a university, a residential building, etc.
It is a LAN where devices communicate wirelessly. The most common WLAN technology is Wi-Fi.
(Physical Layer) and layer 2 (Data Link Layer) of the OSI model. Layer 1 or Physical layer is about medium, topology, and signaling format:
and logically. (e.g. Ring, star, mesh, bus, etc.)
Layer 2 or Data Link Layer is about media access method, MAC address and data frame.
(A collision happens when two transmitters transmit at the same time using the same medium.)
sure data packets are not lost and data integrity is maintained.
Ethernet LANs). Once the collision is detected, CSMA CD immediately stops the transmission so that the transmitter does not have to waste a lot of time in continuing it. The last information is retransmitted.
where the transmitter first checks if the medium is free before sending data packets. This reduces the possibility of collison and saves time.
Data frame is a data unit at the Data Link Layer of OSI
This means more overhead compared to Ethernet frame and less efficiency compared to Ethernet traffic.
frame is intact.
security in use.
devices will know when the channel will be available again.
is the AP’s MAC address
is fragmented. Are all 4 address fields always used?
and saves the cost of cable installations.
campuses, hotels, restaurants, manufacturing plants, hospitals, etc.
Wi-Fi Router can connect directly to internet via modem but AP can’t. Wi-Fi Router can connect to both wireless devices and wired ones but AP can only connect to wireless devices. AP is connected to Wi-Fi Router via an Ethernet port.
Wi-Fi Router has Firewall but AP doesn’t.
Wi-Fi Router can automatically assign IP addresses to devices, but …
AP can’t assign any IP address and it simply passes the IP addresses that are assigned by Wi-Fi Router to the devices.
AP is used to boost the signal strength. It is connected via Ethernet cable to Wi-Fi Router and the Wi-Fi Router is connected to Modem which is connected to Internet.
A typical setting using Wi-Fi Router
A typical setting using Wi-Fi Router and using AP to boost the signals.
Using only Wi-Fi Router makes it harder to manage because every change in network must be made in each wi-fi router separately.
common coordination function. Coordination function determines whether stations within BSS is permitted to transmit and receive or not.
appears as single BSS to LLC layer.
integrated LANs to make ESS.
between two peer MAC entities using PHY layer.
between two MAC users.
within a limited range. There can be many Aps in a WLAN and the client’s software tries to find the one with the strongest signal.
devices to communicate with each other
without involving central AP.
RTS = Request To Send. This packet is sent to AP to ask for trasmission permit. CTS = Clear To Send. It means AP is free to receive my laptop’s request. *RTS and CTS is part of CSMA/CA technology used in IEEE 802.11 based WLAN. (If activity is detected, my laptop waits for a specific amount of time)
(channel) access technique used in IEEE 802.11 standard. It uses CSMA/CA technology to minimize collision. In DCF user stations first “listen” to the channel before trying to transmit any packet. DCF has 4 main components:
1. Interframe Space 2. Duration Field (Frame Transmission) 3. CSMA/CA (using RTS / CTS) 4. Random Backoff Timer
transmissions of wireless frames. The main purpose of IFS:
There are 6 types of Interframe Space which are used according to the importance of the packet being transmitted:
The 6 types of IFS. The shortest time period means the highest priority.
1. Reduced Interframe Space (RIFS, is the shortest which means highest priority) 2. Short Interframe Space (SIFS, the second highest priority) 3. Point Coordination Function Interframe Space (PIFS, the third highest priority. Used in AP) 4. Distributed Coordination Funtion Interframe Space (DIFS), used by user stations 5. Arbitration Interframe Space (AIFS), used by QoS stations 6. Extended Interframe Space (EIFS), used after receipt of corrupted frames
*RIFS is not being used anymore.
It is a virtual carrier-sensing mechanism in IEEE 802.11 standard. NAV equals the duration value of the frame being transmitted. The duration value = Duration of the sequences of frames and interframe spaces AFTER the current frame is transmitted. NAV is not zero => medium is busy NAV is zero => medium is free and can be used.
free, they wait a random amount of time before they start sending. This duration corresponds to the contention window. This time window doubles with each collision and corresponds to the binary exponential backoff (BEB) that is familiar from CSMA/CD.
It is the best try to avoid second collision and the CW grows more aggressively in exponential growth. This means wider range of option for stations and lower possibility to choose the same number.
802.11ac Wireless Networks For Enterprise-Based Applications (Publisher: Cisco Press; 2 edition April 29, 2015)
"Communications Magazine, IEEE , Volume: 35 , Issue: 9 , Sept. 1997.
Networks, 2007. Tilgjengelig online via www.sciencedirect.com.