Understanding WLAN tutorial : 802.11 WiFi basics, architecture, protocols, QoS, Security

Introducion : Wireless Local Area Networks (WLAN) have revolutionized the way devices communicate, enabling wireless connectivity in homes, offices, and public spaces. The most popular form of WLAN is Wi-Fi (Wireless Fidelity), allowing users to connect to the internet without physical connections. This wlan tutorial delves into the WiFi basics, its various 802.11 standard versions, architecture working principles, protocols, QoS, security and a comparison with other wireless technologies.

What is WiFi ?

Wi-Fi is a wireless networking technology that uses radio waves to provide high-speed internet and network connections. It allows devices like laptops, smartphones, tablets, and IoT devices to communicate with a router without the need for wired connections. Wi-Fi operates under the IEEE 802.11 standards, enabling short-range wireless communication typically within 50-100 meters indoors.

In WLAN there are series of standards to support different frequencies, data rates and coverage range requirements. These standards define physical and MAC layers. These 802.11 WLAN standards include 802.11b (WiFi 1), 802.11a (WiFi 2), 802.11g (WiFi 3), 802.11n (WiFi 4), 802.11 ac (WiFi 5), 802.11 ax (WiFi 6), 802.11 be (WiFi 7) and 802.11 bn (WiFi 8).

WiFi Architecture modes : How WiFi Works

Wi-Fi functions by transmitting data between devices via radio waves. A Wi-Fi-enabled device, such as a smartphone, sends a signal to a router, which acts as a bridge between the device and the internet. The router decodes the radio signal into data that can be sent to the internet, and it receives data from the internet to send back to the device over radio waves.

wlan

WiFi operates in various frequency bands such as 2.4 GHz, 5 GHz and 6 GHz. These frequencies allow wireless signals to travel and avoid interference, providing seamless connectivity to multiple devices. WiFi architecture works in two modes viz. adhoc and infrastructure.

WLAN adhoc mode

In adhoc mode, WLAN wireless network is composed of only stations (802.11 compliant NICs). There will not be any access point in the network. The networked systems i.e. stations communicate directly with one another. It is also referred as IBSS(Independent Basic Service Set) or peer to peer mode.

WLAN infrastructure mode

In infrastructure mode, wlan network is composed of stations as well as one or more access points(APs). The device Access Point is like base station used in cellular system. All the communications between stations will go through AP. Access point is like a router.

WiFi 802.11 Standards Overview

802.11-1997: Originally WLAN is introduced in 1997 and later clarified in 1999. Two rates 1 or 2 Mbps along with FEC is specified. There are 3 PHY specified here viz. infrared at 1Mbps, FH spread spectrum at 1/2 Mbps and DSSS at 1/2Mbps. Later it was superseded by 802.11b.
802.11b (WiFi 1) :It supports higher range but has smaller data rates max. upto 11Mbps. It has interference issues at 2.4GHz as other technology products exist at the same band.
802.11a (WiFi 2): It uses same layer-2 and frame as defined in the initial standard but it uses OFDM as modulation technique. It operates at 5GHz frequency band and data rate of max.54Mbps can be achieved. 802.11a has smaller wavelength due to which 11a signals are absorbed more than 11b signal counterpart.
802.11g (WiFi 3): It combines 11a and 11b features. It uses 2.4GHz band like 11b and OFDM modulation like 11a. It also supports 54Mbps.
802.11n (WiFi 4): MIMO concept is added here to increase the data rates.It supports both 2.5 GHz and 5GHz bands. Maximum bandwidth supported here is 40MHz.
802.11 ac (WiFi 5): It operates at 5Ghz and supports bandwidth upto 80 and 160MHz to take care of further increase in the data rates. It supports modulation scheme upto 256QAM. Max. 8 spatial streams are supported by 802.11ac standard.
802.11 ax (WiFi 6): This WLAN standard is successor to IEEE 802.11ac. In addition to higher speed, 802.11ax offers greater coverage range compare to legacy wifi networks such as 802.11a/g/n/ac. It has advanced features such as downlink and uplink OFDMA, Uplink resource scheduling without any contention unlike 802.11ac, MU-MIMO (DL and UL), Long OFDM symbol, higher modulation scheme (1024-QAM), More spatial streams (up to 8), support for 2.4 GHz and 5 GHz both, BSS coloring etc.
802.11 ax Extended (WiFi 6E) : WiFi 6 extended to the 6 GHz frequency band , Supports 160 MHz channel bandwidth
802.11 be (WiFi 7): Planned to be published in 2024, data rates of about 46 Gbps, Multi-user MIMO 16 streams, MLO, 320 MHz BW, 4096 QAM etc.
802.11bn (WiFi 8) : Planned to be published in 2028, data rates of about 100 Gbps, Integrated mm-wave, distributed MLO, 320 MHz BW, 8192 QAM etc.

WiFi Access Protocols

Wi-Fi uses several access control protocols to manage communication between devices and the access point (AP). Key access protocols include following.
• CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance): Devices listen to the channel before transmitting to avoid collisions.
• DIFS (Distributed Inter-Frame Space): Used to prioritize traffic and manage collisions on the network.
• Request to Send/Clear to Send (RTS/CTS): Prevents collisions in congested networks by using control signals to reserve the channel.
➨Refer CSMA/CD versus CSMA/CA.

WiFi Quality of Service (QoS)

Quality of Service (QoS) in Wi-Fi refers to managing data traffic to ensure that critical applications receive priority. This is especially important in environments with video streaming, voice calls, and gaming, where low latency and high reliability are essential. WiFi QoS uses a feature known as Wi-Fi Multimedia (WMM), which prioritizes packets by categorizing traffic into voice, video, best-effort, and background traffic.

WiFi Security

In Wireless LAN, security is critical to protecting the data exchanged over wireless networks. Common threats to Wi-Fi networks include unauthorized access, man-in-the-middle attacks, and password cracking. Using strong passwords, updating encryption protocols, and enabling firewalls can help secure WiFi networks. Key security protocols used in WLAN are as follows.
• WEP (Wired Equivalent Privacy): An outdated security standard, vulnerable to attacks.
• WPA (WiFi Protected Access): Improved encryption over WEP, providing stronger security.
• WPA2 (WiFi Protected Access 2): Uses AES encryption for robust security, a widely used standard.
• WPA3 (WiFi Protected Access 3): Introduced in 2018, offers better encryption and security mechanisms like individualized data encryption.
➨Refer WEP vs WPA vs WPA2.

WLAN Physical layer and MAC layer

WiFi’s physical layer defines the technology used to transmit data over the air, while the Medium Access Control (MAC) layer manages access to the shared wireless medium.
Physical Layer: Defines the modulation schemes, frequencies (2.4 GHz, 5 GHz), and data rates (up to 10 Gbps with 802.11ax).
MAC Layer: Implements mechanisms for frame delivery, retransmissions, and access control. It includes protocols like CSMA/CA and RTS/CTS to manage access to the wireless channel.
➨The PHY and MAC specifications have been developed as per user and network requirements. These wlan specs are defined in various 802.11 series of standards.

Advantages and disadvantages of WLAN

Following are the benefits or advantages of WLAN i.e. WiFi networks.
1. Wi-Fi provides fast data transmission, with speeds up to 10 Gbps (Wi-Fi 6).
2. Effective over medium distances (50-100 meters indoors).
3. Supports multiple devices simultaneously, ideal for home and office use.
4. Requires only a router and compatible devices, making it affordable and easy to set up.

Following are the drawbacks or disadvantages of WiFi networks.
1. Prone to interference from other devices like microwaves, Bluetooth and other Wi-Fi networks.
2. Vulnerable to hacking if not properly secured, especially in public networks.
3. WiFi devices typically consume more power compared to other technologies like Bluetooth.

Conclusion

WiFi continues to be a cornerstone of modern communication, providing wireless internet access in a wide range of environments. From basic browsing to supporting smart homes and the IoT, WiFi plays a pivotal role in today’s connected world. While it has its challenges, particularly in security and interference, the constant evolution of standards, such as WiFi 6, WiFi 7 and WiFi 8, ensures that WiFi remains a powerful and adaptable technology for years to come. This wifi basics tutorial is very useful for beginners who would like to start learning Wireless LAN i.e. WLAN fundamentals.



11ac, 11ad, 11af, 11n, 11ax wlan tutorial Links

WLAN 802.11ax tutorial related links

WLAN MAC frames Links


Wireless LAN tutorial RELATED LINKS