Mạng không dâyWireless Networking
Thuộc bộ kiến thức Network Engineer Roadmap.
Tổng quan
Mạng không dây (wireless) thay thế cáp đồng hoặc cáp quang của một LAN truyền thống bằng sóng vô tuyến (radio). Thay vì giới hạn tín hiệu bên trong một medium có bọc chắn, thiết bị không dây điều chế dữ liệu lên một sóng mang điện từ và phát nó vào không gian, nơi bất kỳ máy thu nào cùng tần số và cùng protocol đều có thể nhận được. Thay đổi này — từ medium có dẫn hướng sang medium không dẫn hướng, dùng chung, quảng bá — là nguồn gốc của mọi đặc tính khiến wireless khác biệt: tiện lợi và di động, nhưng cũng half-duplex, dựa trên tranh chấp (contention), chịu interference và suy hao, và về bản chất là không an toàn nếu bạn không mã hóa.
Công nghệ chủ đạo cho mạng không dây cục bộ là Wi-Fi, tên thương mại cho họ tiêu chuẩn IEEE 802.11. Nhưng “mạng không dây” rộng hơn Wi-Fi: nó còn bao gồm Bluetooth cho các liên kết personal-area tầm ngắn, cellular (3G/4G/5G) cho dữ liệu di động diện rộng, và một loạt công nghệ khác (Zigbee, Thread, LoRa, NFC) cho IoT và các mục đích chuyên biệt. Note này tập trung vào Wi-Fi — phần mà một network engineer thiết kế, triển khai và troubleshoot hằng ngày — rồi khảo sát các công nghệ lân cận bạn cần nhận biết.
Chúng ta đi từ vật lý (spectrum, band, channel, interference), qua dòng thời gian các tiêu chuẩn 802.11 (từ 802.11b năm 1999 đến Wi-Fi 7 ngày nay), vào kiến trúc WLAN (autonomous vs controller-based vs cloud-managed), rồi wireless security (WEP → WPA → WPA2 → WPA3, PSK vs enterprise, và sự nhầm lẫn WPA-với-WPS), và kết thúc bằng các công nghệ không dây lân cận cùng một mô hình troubleshoot thực tế cho ba lớp sự cố kinh điển: coverage, interference và capacity.
Note liên quan:
- Network types & topologies (bối cảnh WLAN, PAN, WAN): ./02-network-types-and-topologies.md
- Network devices (access point, WLC, controller): ./04-network-devices.md
- Network security (bối cảnh 802.1X, RADIUS, mã hóa): ./11-network-security.md
Kiến thức nền tảng
Radio spectrum và các band ISM/U-NII
Truyền thông vô tuyến diễn ra trên phổ điện từ (electromagnetic spectrum), đo bằng hertz (Hz). Wi-Fi nằm trong những lát phổ mà cơ quan quản lý (FCC ở Mỹ, ETSI ở châu Âu…) dành riêng làm phổ unlicensed — nghĩa là bạn không cần giấy phép cho từng máy phát, nhưng phải tuân thủ quy tắc về công suất và hành vi, và phải chấp nhận interference từ tất cả những ai cùng dùng band đó. Đây là lý do lò vi sóng, Wi-Fi của hàng xóm và tai nghe Bluetooth của bạn đều có thể hợp pháp gây nhiễu cho mạng của bạn.
Wi-Fi dùng ba band chính:
| Band | Dải tần (xấp xỉ) | Giới thiệu bởi | Đặc tính |
|---|---|---|---|
| 2.4 GHz | 2.400–2.4835 GHz (ISM) | 802.11b (1999) | Tầm xa, xuyên tường tốt, nhưng đông đúc và chậm; chỉ có 3 channel 20 MHz không chồng lấn |
| 5 GHz | 5.150–5.895 GHz (U-NII) | 802.11a (1999) | Nhiều phổ hơn, nhanh hơn, ít đông hơn, nhưng tầm ngắn hơn và xuyên tường kém hơn; ~24 channel (một số cần DFS) |
| 6 GHz | 5.925–7.125 GHz (U-NII-5 đến 8) | Wi-Fi 6E (2020) | Phổ mới rất lớn, tới 59 channel 20 MHz (tùy khu vực), sạch/ít nghẽn; tầm ngắn nhất; cần client Wi-Fi 6E/7 |
Sự đánh đổi là vật lý cơ bản: tần số thấp = tầm xa hơn và xuyên vật cản tốt hơn; tần số cao = nhiều bandwidth hơn nhưng tầm ngắn hơn. Cùng công suất, tín hiệu 2.4 GHz đi xa hơn và xuyên nhiều lớp tường hơn so với tín hiệu 6 GHz.
Channel và channel width
Mỗi band được chia thành các channel — các lát tần số nhỏ mà một AP và các client của nó thống nhất sử dụng. Một channel có tần số trung tâm và một độ rộng (width/bandwidth). Channel rộng hơn mang được nhiều dữ liệu hơn nhưng chiếm nhiều phổ hơn và dễ bị interference hơn.
- 20 MHz — độ rộng channel cơ bản; lựa chọn duy nhất hợp lý ở 2.4 GHz.
- 40 MHz — ghép (bond) hai channel 20 MHz (802.11n trở đi).
- 80 MHz — ghép bốn channel (802.11ac trở đi).
- 160 MHz — ghép tám channel (802.11ac/ax); cần nhiều phổ sạch, thực tế chủ yếu ở 5 GHz (với DFS) và 6 GHz.
- 320 MHz — Wi-Fi 7 (802.11be), chỉ khả thi ở 6 GHz.
Vấn đề channel ở 2.4 GHz. Ở 2.4 GHz có 14 channel (1–13 ở hầu hết khu vực, riêng channel 14 chỉ ở Nhật), nhưng mỗi channel 20 MHz rộng hơn khoảng cách 5 MHz giữa các số channel, nên các channel liền kề chồng lấn nhau. Chỉ có channel 1, 6 và 11 là không chồng lấn. Bất kỳ triển khai nào bỏ qua điều này — ví dụ đặt các AP lân cận vào channel 3 và 5 — sẽ tạo ra co-channel và adjacent-channel interference âm thầm phá hủy throughput. Quy tắc “chỉ dùng 1, 6, 11” ở 2.4 GHz là một trong những kiến thức Wi-Fi thực tế quan trọng nhất.
Các channel không chồng lấn ở 2.4 GHz:
Ch1 Ch6 Ch11
|===| |===| |===|
2412 MHz 2437 MHz 2462 MHz
DFS (Dynamic Frequency Selection). Một số channel 5 GHz dùng chung với radar thời tiết và quân sự. Trên các channel này, AP phải lắng nghe radar và rời khỏi channel nếu phát hiện (DFS). DFS cho bạn thêm phổ nhưng có thể gây gián đoạn ngắn khi một sự kiện radar buộc phải đổi channel.
Interference và attenuation (suy hao)
Vì medium là dùng chung và mở, tín hiệu không dây suy giảm theo những cách mà cáp không bao giờ gặp:
- Attenuation (suy hao) — cường độ tín hiệu giảm theo khoảng cách và mỗi vật cản. Đo bằng dBm (thang logarit, mỗi −3 dB là giảm một nửa công suất). Một client khỏe thấy khoảng −65 dBm trở lên; dưới ~−80 dBm thì kết nối chật vật.
- Co-channel interference (CCI) — hai AP (hoặc client) trên cùng channel phải thay phiên nhau; chúng chia sẻ airtime và làm chậm nhau. Nghịch lý là CCI thường vẫn tốt hơn ACI.
- Adjacent-channel interference (ACI) — các channel chồng lấn rò rỉ năng lượng vào nhau, nâng noise floor và làm hỏng frame. Tệ hơn CCI.
- Interference không phải Wi-Fi — lò vi sóng, điện thoại không dây (2.4 GHz), Bluetooth, máy trông trẻ, camera không dây. Thể hiện qua SNR (Signal-to-Noise Ratio) thấp. Bạn muốn SNR ≥ 20 dB để có data rate tốt, ≥ 25 dB cho VoIP/video.
- Multipath — tín hiệu phản xạ khỏi bề mặt và đến máy thu qua nhiều đường với độ trễ khác nhau, gây fading. Wi-Fi hiện đại (MIMO) thực ra tận dụng multipath thay vì chỉ chịu đựng nó.
SSID, BSS và ESS
- SSID (Service Set Identifier) — tên mạng dễ đọc cho người dùng (ví dụ
CorpWiFi). Nó không phải tính năng bảo mật; ẩn SSID (không quảng bá trong beacon) chỉ che giấu sơ sài và có thể bị phát hiện dễ dàng bằng cách sniff các probe của client. - BSSID (Basic Service Set Identifier) — địa chỉ MAC của radio trên AP cho một SSID nhất định. Nó định danh duy nhất một cell.
- BSS (Basic Service Set) — một AP đơn lẻ cùng các client liên kết với nó: một cell phủ sóng.
- ESS (Extended Service Set) — nhiều AP dùng cùng một SSID, kết nối vào cùng một backbone, để client có thể roaming giữa chúng như một mạng liền mạch. Đây là cách cả một văn phòng hay campus trình diện một mạng Wi-Fi duy nhất trên hàng chục AP.
- IBSS (Independent BSS) — chế độ ad-hoc: các client nói chuyện trực tiếp, không có AP. Hiếm gặp trong thực tế.
- Beacon frame — AP định kỳ (~mỗi 100 ms) quảng bá một beacon thông báo SSID, các rate hỗ trợ, security và capability để client có thể phát hiện và tham gia.
Airtime được chia sẻ thế nào: CSMA/CA
Ethernet có dây dùng CSMA/CD (collision detection — phát hiện xung đột). Wireless không thể phát hiện xung đột trong lúc đang phát (một radio không thể vừa nghe vừa hét cùng lúc), nên 802.11 dùng CSMA/CA — Carrier Sense Multiple Access with Collision Avoidance (tránh xung đột). Một trạm lắng nghe trước khi phát, chờ một khoảng backoff ngẫu nhiên, và (tùy chọn) dùng handshake RTS/CTS để đặt trước medium. Hệ quả cốt lõi: Wi-Fi là half-duplex và là medium dùng chung. Mọi thiết bị trên một channel chia sẻ airtime; thêm client hoặc thêm AP trên cùng channel sẽ chia nhỏ airtime hữu hạn đó. Đây là lý do tại sao lập kế hoạch capacity (không chỉ coverage) lại quan trọng.
Khái niệm chính
Các tiêu chuẩn Wi-Fi (IEEE 802.11) — bảng so sánh đầy đủ
Nhóm làm việc 802.11 đã liên tục phát hành các amendment. Wi-Fi Alliance sau đó giới thiệu tên thế hệ đơn giản (Wi-Fi 4, 5, 6, 7) để thay cho các hậu tố chữ cái khó nhớ.
| Standard | Tên Wi-Fi | Năm | Band | Channel width tối đa | Modulation | Rate lý thuyết tối đa | Tính năng chính |
|---|---|---|---|---|---|---|---|
| 802.11 | — | 1997 | 2.4 GHz | 20 MHz | DSSS/FHSS | 2 Mbps | Bản gốc |
| 802.11a | — | 1999 | 5 GHz | 20 MHz | OFDM | 54 Mbps | 5 GHz đầu tiên; không tương thích b/g |
| 802.11b | — | 1999 | 2.4 GHz | 20 MHz | DSSS | 11 Mbps | Tầm xa, phổ biến hóa Wi-Fi |
| 802.11g | — | 2003 | 2.4 GHz | 20 MHz | OFDM | 54 Mbps | Nâng tốc độ ở 2.4 GHz; tương thích b |
| 802.11n | Wi-Fi 4 | 2009 | 2.4 & 5 GHz | 40 MHz | OFDM | 600 Mbps | MIMO (tới 4 stream), channel bonding, frame aggregation |
| 802.11ac | Wi-Fi 5 | 2013 | Chỉ 5 GHz | 160 MHz | 256-QAM | ~3.5 Gbps (wave 2) | MU-MIMO (downlink), channel rộng hơn, nhiều stream hơn |
| 802.11ax | Wi-Fi 6 | 2019 | 2.4 & 5 GHz | 160 MHz | 1024-QAM | ~9.6 Gbps | OFDMA, MU-MIMO uplink+downlink, BSS Coloring, TWT (tiết kiệm pin); hiệu quả trong môi trường dày đặc |
| 802.11ax | Wi-Fi 6E | 2020 | + 6 GHz | 160 MHz | 1024-QAM | ~9.6 Gbps | Wi-Fi 6 mở rộng vào band 6 GHz sạch |
| 802.11be | Wi-Fi 7 | 2024 | 2.4, 5 & 6 GHz | 320 MHz | 4096-QAM | ~46 Gbps | MLO (Multi-Link Operation), channel 320 MHz, Multi-RU, độ trễ thấp có tính xác định |
Các ý niệm quan trọng ẩn trong bảng trên:
- MIMO (Multiple-Input Multiple-Output) — nhiều antenna gửi/nhận nhiều luồng dữ liệu độc lập cùng lúc (spatial stream), nhân throughput lên. Viết dạng
4×4:4(4 antenna TX, 4 antenna RX, 4 stream). - MU-MIMO (Multi-User MIMO) — AP nói chuyện với nhiều client cùng lúc bằng các spatial stream khác nhau, thay vì phục vụ từng client một.
- OFDMA (Orthogonal Frequency-Division Multiple Access) — tính năng nổi bật của Wi-Fi 6. Nó chia một channel thành các Resource Unit (RU) nhỏ để AP phục vụ nhiều client trong một lần truyền, cải thiện đáng kể hiệu quả cho nhiều gói tin nhỏ (IoT, chat, voice). Đây là lý do lớn nhất khiến Wi-Fi 6 giúp mạng dày đặc nhiều hơn là con số tốc độ thuần túy.
- BSS Coloring — gắn “màu” cho frame để thiết bị phân biệt traffic của BSS mình với của hàng xóm trên cùng channel, cho phép tái sử dụng không gian (spatial reuse) nhiều hơn.
- TWT (Target Wake Time) — cho phép thiết bị chạy pin lên lịch thời điểm thức dậy và giao tiếp, kéo dài đáng kể tuổi thọ pin IoT.
- MLO (Multi-Link Operation) — tính năng nổi bật của Wi-Fi 7: một client dùng nhiều band (ví dụ 5 GHz + 6 GHz) đồng thời để có throughput cao hơn, độ trễ thấp hơn và độ tin cậy cao hơn.
Kiến trúc WLAN: autonomous, controller-based, cloud-managed
Cách bạn quản lý một đội AP là một lựa chọn kiến trúc mang tính định hình.
Autonomous (standalone/fat) AP. Mỗi AP hoàn toàn tự chứa: có config riêng, tự làm mã hóa, tự quản lý RF và forwarding. Ổn cho gia đình hoặc văn phòng rất nhỏ (1–3 AP). Cực nhọc khi mở rộng — mỗi thay đổi config và cập nhật firmware đều phải làm trên từng AP, và không có quản lý channel/công suất phối hợp hay roaming liền mạch.
Controller-based (lightweight/thin AP + WLC). Phần thông minh chuyển sang một WLAN Controller (WLC) trung tâm. AP trở nên “lightweight” — chỉ lo radio, còn controller lo config, chính sách bảo mật, quản lý RF (RRM: tự động tinh chỉnh channel và công suất trên toàn bộ AP), và thường cả việc forwarding dữ liệu. AP và WLC giao tiếp qua CAPWAP (Control And Provisioning of Wireless Access Points), một protocol tunneling chuẩn hóa:
- CAPWAP control channel (UDP 5246) mang management/config.
- CAPWAP data channel (UDP 5248) có thể tunnel traffic của client về controller (centralized/tunneled forwarding) hoặc AP forward tại chỗ (FlexConnect/local switching cho chi nhánh).
Lợi ích: một nơi cấu hình mọi thứ, RF phối hợp, roaming nhanh/liền mạch, giám sát tập trung. Mô hình enterprise on-prem kinh điển (ví dụ Cisco WLC + AP Aironet/Catalyst).
Cloud-managed Wi-Fi. Chức năng controller nằm trên cloud của hãng (ví dụ Cisco Meraki, Aruba Central, controller của UniFi). AP “gọi về nhà” một dashboard cloud để lấy config, giám sát và analytics; dữ liệu thường vẫn forward tại chỗ ở AP. Lợi ích: không cần phần cứng controller on-prem, quản lý nhiều site từ một dashboard, mở rộng dễ. Đánh đổi: phụ thuộc vào khả năng kết nối internet/cloud và (thường là) licensing định kỳ.
| Mô hình | Config nằm ở đâu | Phù hợp cho | Roaming/RF | Nhược điểm |
|---|---|---|---|---|
| Autonomous | Trên từng AP | Gia đình, 1–3 AP | Thủ công, không phối hợp | Không mở rộng được |
| Controller (WLC) | Controller on-prem | Campus/enterprise | Phối hợp, roaming nhanh | Controller là chi phí & điểm lỗi |
| Cloud-managed | Cloud của hãng | Đa site, MSP | Phối hợp | Phụ thuộc internet/cloud, licensing |
Access point, controller và roaming
Một access point (AP) làm cầu nối giữa thế giới không dây (802.11) và có dây (802.3 Ethernet): nó chuyển đổi frame giữa hai bên và thực thi association cùng mã hóa. Hầu hết AP enterprise dùng nguồn qua PoE (Power over Ethernet) để một sợi cáp mang cả dữ liệu lẫn nguồn. Xem ./04-network-devices.md về vị trí của AP trong phân loại thiết bị.
Roaming là quá trình một client đang di chuyển rời khỏi cell của một AP và tham gia AP khác mà không rớt kết nối. Chính client (không phải AP) quyết định khi nào roaming, dựa trên cường độ tín hiệu. Roaming thông thường phải làm lại toàn bộ authentication với mỗi AP, gây một khoảng gián đoạn có thể nhận thấy — chí mạng với cuộc gọi VoIP. Các tiêu chuẩn fast roaming khắc phục điều này:
- 802.11r (Fast BSS Transition / FT) — thiết lập trước các khóa bảo mật để re-association gần như tức thì.
- 802.11k (Neighbor Reports) — AP cho client biết những AP/channel lân cận cần cân nhắc, để client không phải quét mù.
- 802.11v (BSS Transition Management) — cho phép mạng gợi ý một AP tốt hơn cho client (cân bằng tải, steering).
Kết hợp k/v/r mang lại roaming liền mạch mà enterprise cần cho voice và video.
Cơ bản về coverage vs capacity planning.
- Coverage planning trả lời “có tín hiệu đủ mạnh ở mọi nơi cần không?” Bạn thiết kế theo một mức tín hiệu mục tiêu (ví dụ ≥ −67 dBm) ở rìa cell. Một site survey (dự đoán bằng phần mềm, hoặc vật lý bằng công cụ như Ekahau) lập bản đồ phủ sóng và tìm điểm chết. Tư duy cũ “đặt AP xa nhau để phủ rộng hơn” thất bại ở không gian mật độ cao.
- Capacity planning trả lời “mạng có tải nổi tất cả client ở đây không?” Một giảng đường 300 laptop cần nhiều AP với công suất thấp hơn và cell nhỏ hơn để airtime được chia cho nhiều radio hơn — dù nếu chỉ xét coverage thì hai AP là đủ. Thiết kế high-density hiện đại lấy capacity làm trọng tâm: nhiều cell nhỏ hơn; tắt các data rate legacy chậm; dùng 5/6 GHz; cân bằng client giữa các band (band steering).
Wireless security: WEP → WPA → WPA2 → WPA3
Vì bất kỳ ai trong tầm sóng đều có thể bắt frame của bạn, mã hóa là bắt buộc. Các protocol bảo mật tiến hóa khi mỗi thế hệ bị bẻ gãy.
| Protocol | Năm | Mã hóa | Trao đổi khóa / integrity | Trạng thái |
|---|---|---|---|---|
| WEP | 1999 | RC4 (40/104-bit) | Khóa tĩnh, IV yếu, CRC-32 | Đã bị phá — bẻ trong vài phút. Không bao giờ dùng. |
| WPA | 2003 | RC4 + TKIP | Trộn khóa từng gói, MIC | Bản vá tạm cho WEP; nay đã lỗi thời/không an toàn |
| WPA2 | 2004 | AES-CCMP | 4-way handshake, integrity mạnh | Tiêu chuẩn lâu năm; vẫn phổ biến. Dễ bị KRACK (đã vá) và tấn công dictionary offline lên PSK |
| WPA3 | 2018 | AES / GCMP-256 | SAE (Simultaneous Authentication of Equals), PFS | Best practice hiện tại; chống tấn công dictionary offline, có forward secrecy |
Cải tiến của WPA3 đáng gọi tên:
- SAE (handshake Dragonfly) thay thế 4-way handshake PSK của WPA2 ở chế độ Personal. Ngay cả khi kẻ tấn công bắt được handshake, chúng không thể chạy tấn công dictionary offline, và mỗi phiên có forward secrecy (lộ mật khẩu sau này không giải mã được traffic quá khứ).
- Chế độ 192-bit cho WPA3-Enterprise (chính phủ/an ninh cao).
- OWE (Opportunistic Wireless Encryption) / “Enhanced Open” — mã hóa mạng mở (không mật khẩu) như Wi-Fi quán cà phê, để traffic không bị gửi dạng plaintext dù không có mật khẩu.
Personal (PSK) vs Enterprise (802.1X). Điều này độc lập với phiên bản WPA — bạn có thể chạy WPA2-Personal hoặc WPA2-Enterprise, WPA3-Personal hoặc WPA3-Enterprise.
- Personal / PSK (Pre-Shared Key) — một mật khẩu dùng chung cho cả SSID. Đơn giản, ổn cho gia đình/văn phòng nhỏ. Điểm yếu: mọi người chia sẻ một bí mật; nếu lộ, phải đổi khóa cho tất cả, và nó là mục tiêu của cracking offline (ở WPA2).
- Enterprise / 802.1X — mỗi người dùng authenticate riêng với một server RADIUS (thường gắn với Active Directory), dùng EAP (ví dụ PEAP, EAP-TLS với chứng chỉ). Không có mật khẩu dùng chung; credential theo từng người, khóa theo từng người, thu hồi tập trung, và có audit trail. Đây là tiêu chuẩn cho mọi tổ chức. Chuỗi là: supplicant (client) → authenticator (AP/WLC) → authentication server (RADIUS). Xem ./11-network-security.md về chi tiết 802.1X/RADIUS/AAA.
WPA vs WPS — một điểm hay nhầm lẫn
Hai cái nghe giống nhau nhưng là hai thứ hoàn toàn khác:
- WPA (Wi-Fi Protected Access) là họ các protocol bảo mật/mã hóa mô tả ở trên (WPA/WPA2/WPA3). Nó bảo vệ traffic của bạn.
- WPS (Wi-Fi Protected Setup) là một tính năng tiện lợi để tham gia mạng mà không cần gõ passphrase — qua một nút bấm hoặc một PIN 8 chữ số.
WPS là một rủi ro bảo mật. Phương thức PIN 8 chữ số có một lỗ hổng thiết kế nghiêm trọng: router kiểm tra PIN theo hai nửa, nên tấn công brute-force chỉ cần thử ~11.000 tổ hợp (và chữ số cuối là checksum), khiến có thể bẻ trong vài giờ (tấn công “Reaver”). Khuyến nghị: tắt WPS, nhất là phương thức PIN. WPS đang bật có thể làm suy yếu một mạng WPA2/WPA3 vốn mạnh.
Best Practices
- Không bao giờ dùng WEP hay WPA (TKIP). Dùng WPA2-AES tối thiểu; ưu tiên WPA3 (hoặc chế độ transition WPA3/WPA2 cho client hỗn hợp). Bật “Enhanced Open”/OWE cho mạng guest/mở.
- Dùng WPA-Enterprise (802.1X/RADIUS) cho tổ chức; chỉ để dành PSK cho SSID gia đình/nhỏ/IoT, và dùng passphrase dài, ngẫu nhiên (20+ ký tự) cho PSK để chống tấn công dictionary.
- Tắt hoàn toàn WPS (nhất là PIN). Tiện lợi không đáng với rủi ro phơi bày.
- Ở 2.4 GHz, chỉ dùng channel 1, 6, 11. Không bao giờ dùng channel chồng lấn. Ưu tiên độ rộng 20 MHz ở 2.4 GHz.
- Steer client sang 5/6 GHz bằng band steering; giữ 2.4 GHz cho thiết bị legacy/IoT và thiết bị tầm xa băng thông thấp.
- Thiết kế theo capacity, không chỉ coverage ở không gian dày đặc: nhiều AP công suất thấp hơn, cell nhỏ hơn, và tắt các data rate legacy thấp (ví dụ 1/2/5.5/11 Mbps) để client chậm không ngốn airtime.
- Làm site survey (dự đoán trước khi lắp, kiểm chứng sau khi lắp). Nhắm ≥ −67 dBm và SNR ≥ 25 dB ở khu vực có voice/video. Khảo sát lại sau khi thay đổi lớn về bố trí hoặc mật độ người.
- Bật fast roaming (802.11k/v/r) cho voice/video và người dùng di động; test roaming bằng một handset/laptop thật khi đi bộ qua không gian.
- Tách SSID theo mục đích và đặt lên VLAN: corporate, guest (chỉ internet, cô lập), và IoT (siết chặt). Giữ số SSID ít — mỗi SSID thừa tiêu tốn airtime với beacon riêng của nó.
- Dùng PoE và lên kế hoạch uplink: một AP Wi-Fi 6/7 có thể vượt 1 Gbps, nên cấp cho AP cao cấp bằng cổng switch multi-gig (2.5G/5G) nếu có thể.
- Vá firmware AP/WLC đều đặn (KRACK, FragAttacks và các lỗ hổng Wi-Fi tương tự được vá trong firmware).
- Giám sát RF, không chỉ đường dây có dây: theo dõi channel utilization, tỉ lệ retransmission, SNR và số client trên mỗi AP — hầu hết ticket “Wi-Fi chậm” là vấn đề airtime/interference, không phải vấn đề bandwidth.
Troubleshoot ba lớp sự cố kinh điển
Gần như mọi phàn nàn về wireless quy về một trong ba nguyên nhân gốc. Chẩn đoán bằng cách hỏi bạn đang gặp cái nào:
- Sự cố coverage — tín hiệu quá yếu tại vị trí người dùng. Triệu chứng: rớt ở những chỗ cụ thể, tín hiệu thấp (−80 dBm trở lên), chạy tốt khi gần AP. Sửa: thêm/di dời AP, tăng công suất (thận trọng), antenna tốt hơn, loại bỏ vật cản. Xác nhận bằng survey/heatmap.
- Sự cố interference — tín hiệu có mặt nhưng nhiễu. Triệu chứng: retransmission cao, SNR thấp, chạy chập chờn dù tín hiệu tốt, tệ hơn vào thời điểm nhất định (lò vi sóng giờ trưa). Sửa: đổi channel (tôn trọng 1/6/11), dùng spectrum analyzer tìm nguồn không phải Wi-Fi, giảm channel width, rời DFS nếu sự kiện radar tái diễn.
- Sự cố capacity — quá nhiều client hoặc quá nhiều tải trên mỗi cell. Triệu chứng: ổn khi ít người, xuống cấp khi phòng đầy dần, channel utilization cao (>50–70%), airtime cao ở client chậm. Sửa: thêm AP/cell nhỏ hơn, dùng thiết bị hỗ trợ OFDMA/MU-MIMO, band-steer sang 5/6 GHz, tắt legacy rate, nâng cấp lên Wi-Fi 6/6E/7.
Một checklist tư duy nhanh cho mọi sự cố Wi-Fi: Tín hiệu có đủ mạnh không (coverage)? Tín hiệu có đủ sạch không (interference)? Có đủ airtime cho tất cả không (capacity)?
Các công nghệ không dây khác
Bluetooth
Bluetooth là công nghệ PAN (Personal Area Network) tầm ngắn (thường ~10 m với Class 2) trong band 2.4 GHz, dùng frequency-hopping spread spectrum để né interference. Nó kết nối phụ kiện — tai nghe, bàn phím, chuột, wearable, audio ô tô. BLE (Bluetooth Low Energy) là một biến thể riêng, công suất thấp cho IoT và beacon nhạy về pin (vòng đeo thể thao, cảm biến, beacon định vị trong nhà). Bluetooth và Wi-Fi đều dùng 2.4 GHz và có thể nhiễu nhau; chip hiện đại phối hợp để cùng tồn tại. Bluetooth không phải công nghệ LAN đa dụng — nó là về pairing thiết bị, không phải mang traffic mạng.
Cellular / mạng di động (3G/4G/5G)
Mạng cellular cung cấp dữ liệu không dây diện rộng qua một lưới base station dùng phổ có giấy phép (“cell”). Một network engineer nên nhận biết các thế hệ:
| Thế hệ | Thời kỳ | Công nghệ lõi | Tốc độ điển hình | Ghi chú |
|---|---|---|---|---|
| 3G | ~thập niên 2000 | UMTS/HSPA | ~1–10 Mbps | Dữ liệu di động thực thụ đầu tiên; đang bị khai tử |
| 4G LTE | ~thập niên 2010 | LTE, all-IP | ~10–100+ Mbps | Chủ đạo hiện nay; độ trễ thấp, VoLTE |
| 5G | ~thập niên 2020 | NR (New Radio) | ~100 Mbps–vài Gbps | Ba dạng: eMBB (broadband nhanh), URLLC (siêu tin cậy độ trễ thấp cho công nghiệp/xe cộ), mMTC (IoT quy mô lớn). Dùng low/mid-band và mmWave (rất nhanh, tầm rất ngắn) |
Cellular liên quan tới network engineer ở WWAN failover (một modem 4G/5G làm internet dự phòng cho chi nhánh), fixed wireless access (FWA) như một giải pháp thay thế broadband, và kết nối IoT.
Hotspot và tethering
- Tethering chia sẻ internet cellular của điện thoại cho thiết bị khác qua USB, Bluetooth, hoặc Wi-Fi.
- Mobile hotspot là tethering qua Wi-Fi cụ thể: điện thoại (hoặc một thiết bị MiFi chuyên dụng) trở thành một AP nhỏ, phát một SSID cho các thiết bị khác tham gia, còn nó uplink qua cellular. Vẫn là công nghệ Wi-Fi mô tả ở trên, chỉ khác là backhaul WAN dùng cellular thay vì có dây. Hữu ích khi đi lại và làm failover khẩn cấp, nhưng chịu giới hạn data của nhà mạng và hao pin.
Tài liệu tham khảo
- IEEE 802.11 Working Group — bản thân các tiêu chuẩn (a/b/g/n/ac/ax/be)
- Wi-Fi Alliance — Discover Wi-Fi — các thế hệ Wi-Fi, WPA3, WPS, chương trình chứng nhận
- Wi-Fi Alliance — Security (WPA3) — WPA2/WPA3, SAE, Enhanced Open/OWE
- Cisco — Wireless LAN (WLAN) overview — controller, CAPWAP, RRM, mô hình triển khai
- CWNP — Certified Wireless Network Professional — spectrum, channel, thiết kế RF, site survey
- FCC — U-NII / 6 GHz unlicensed operation — quy tắc về phổ và quản lý
- IETF RFC 5415 — CAPWAP Protocol Specification
- MetaGeek — hướng dẫn về channel, interference và SNR — troubleshoot RF thực tế
Part of the Network Engineer Roadmap knowledge base.
Overview
Wireless networking replaces the copper or fiber cable of a traditional LAN with radio waves. Instead of confining a signal inside a shielded medium, a wireless device modulates data onto an electromagnetic carrier and radiates it into free space, where any receiver tuned to the same frequency and using the same protocol can pick it up. This one change — from a guided medium to an unguided, shared, broadcast medium — is the source of every property that makes wireless different: it is convenient and mobile, but also half-duplex, contention-based, subject to interference and attenuation, and fundamentally insecure unless you encrypt it.
The dominant technology for local-area wireless is Wi-Fi, the consumer-facing brand for the IEEE 802.11 family of standards. But “wireless networking” is broader than Wi-Fi: it also includes Bluetooth for short-range personal-area links, cellular (3G/4G/5G) for wide-area mobile data, and a long tail of technologies (Zigbee, Thread, LoRa, NFC) for IoT and specialized use. This note focuses on Wi-Fi — the part a network engineer designs, deploys, and troubleshoots every day — and then surveys the neighboring technologies you need to recognize.
We build up from the physics (spectrum, bands, channels, interference), through the 802.11 standards timeline (from 802.11b in 1999 to Wi-Fi 7 today), into WLAN architecture (autonomous vs controller-based vs cloud-managed), then wireless security (WEP → WPA → WPA2 → WPA3, PSK vs enterprise, and the WPA-vs-WPS confusion), and close with the neighboring wireless technologies and a practical troubleshooting model for the three classic failure classes: coverage, interference, and capacity.
Related notes:
- Network types & topologies (WLAN, PAN, WAN context): ./02-network-types-and-topologies.md
- Network devices (access point, WLC, controller): ./04-network-devices.md
- Network security (802.1X, RADIUS, encryption context): ./11-network-security.md
Fundamentals
Radio spectrum and the ISM/U-NII bands
Radio communication happens across the electromagnetic spectrum, measured in hertz (Hz). Wi-Fi lives in slices of spectrum that regulators (the FCC in the US, ETSI in Europe, etc.) have set aside as unlicensed — meaning you do not need a per-transmitter license to operate, but you must obey power and behavior rules and you must tolerate interference from everyone else sharing the band. This is why your microwave oven, your neighbor’s Wi-Fi, and your Bluetooth headphones can all legally interfere with your network.
Wi-Fi uses three main bands:
| Band | Frequency range (approx) | Introduced by | Character |
|---|---|---|---|
| 2.4 GHz | 2.400–2.4835 GHz (ISM) | 802.11b (1999) | Long range, penetrates walls well, but crowded and slow; only 3 non-overlapping 20 MHz channels |
| 5 GHz | 5.150–5.895 GHz (U-NII) | 802.11a (1999) | More spectrum, faster, less crowded, but shorter range and worse wall penetration; ~24 channels (some require DFS) |
| 6 GHz | 5.925–7.125 GHz (U-NII-5 to 8) | Wi-Fi 6E (2020) | Huge new spectrum, up to 59 × 20 MHz channels (region-dependent), clean/uncongested; shortest range; requires Wi-Fi 6E/7 clients |
The trade-off is fundamental physics: lower frequency = longer range and better penetration; higher frequency = more available bandwidth but shorter range. A 2.4 GHz signal will reach farther and go through more drywall than a 6 GHz signal at the same power.
Channels and channel width
Each band is divided into channels — sub-slices of frequency an AP and its clients agree to use. A channel has a center frequency and a width (bandwidth). Wider channels carry more data but occupy more spectrum and are more prone to interference.
- 20 MHz — the base channel width; the only sane choice in 2.4 GHz.
- 40 MHz — two bonded 20 MHz channels (802.11n and later).
- 80 MHz — four bonded channels (802.11ac and later).
- 160 MHz — eight bonded channels (802.11ac/ax); needs lots of clean spectrum, realistic mainly in 5 GHz (with DFS) and 6 GHz.
- 320 MHz — Wi-Fi 7 (802.11be), only feasible in 6 GHz.
The 2.4 GHz channel problem. In 2.4 GHz there are 14 channels (1–13 in most regions, 14 Japan-only), but each 20 MHz channel is wider than the 5 MHz spacing between channel numbers, so adjacent channels overlap. Only channels 1, 6, and 11 are non-overlapping. Any deployment that ignores this — putting neighboring APs on channels 3 and 5, for example — creates co-channel and adjacent-channel interference that quietly destroys throughput. The rule “1, 6, 11 only” in 2.4 GHz is one of the most important pieces of practical Wi-Fi knowledge.
2.4 GHz non-overlapping channels:
Ch1 Ch6 Ch11
|===| |===| |===|
2412 MHz 2437 MHz 2462 MHz
DFS (Dynamic Frequency Selection). Some 5 GHz channels are shared with weather and military radar. On these channels, an AP must listen for radar and vacate the channel if it detects one (DFS). DFS channels give you more spectrum but can cause brief outages when a radar event forces a channel change.
Interference and attenuation
Because the medium is shared and open, a wireless signal degrades in ways a cable never does:
- Attenuation — signal strength falls with distance and every obstacle. Measured in dBm (a logarithmic scale where each −3 dB halves power). A healthy client sees roughly −65 dBm or stronger; below ~−80 dBm connections struggle.
- Co-channel interference (CCI) — two APs (or clients) on the same channel must take turns; they share airtime and slow each other down. Counter-intuitively, CCI is often preferable to ACI.
- Adjacent-channel interference (ACI) — overlapping channels bleed energy into each other, raising the noise floor and corrupting frames. Worse than CCI.
- Non-Wi-Fi interference — microwave ovens, cordless phones (2.4 GHz), Bluetooth, baby monitors, wireless cameras. Measured as a low SNR (Signal-to-Noise Ratio). You want SNR ≥ 20 dB for good data rates, ≥ 25 dB for VoIP/video.
- Multipath — the signal reflects off surfaces and arrives at the receiver via multiple paths at slightly different times, causing fading. Modern Wi-Fi (MIMO) actually exploits multipath rather than just suffering from it.
SSID, BSS, and ESS
- SSID (Service Set Identifier) — the human-readable network name (e.g.,
CorpWiFi). It is not a security feature; hiding the SSID (not broadcasting it in beacons) only lightly obscures the network and can be trivially discovered by sniffing client probes. - BSSID (Basic Service Set Identifier) — the MAC address of the AP’s radio for a given SSID. It uniquely identifies one cell.
- BSS (Basic Service Set) — a single AP and its associated clients: one cell of coverage.
- ESS (Extended Service Set) — multiple APs sharing the same SSID, connected to the same backbone, so clients can roam between them as one continuous network. This is how a whole office or campus presents one Wi-Fi network across dozens of APs.
- IBSS (Independent BSS) — ad-hoc mode: clients talk directly, no AP. Rare in practice.
- Beacon frames — the AP periodically (~every 100 ms) broadcasts a beacon announcing the SSID, supported rates, security, and capabilities so clients can discover and join.
How the airtime is shared: CSMA/CA
Wired Ethernet uses CSMA/CD (collision detection). Wireless cannot detect collisions while transmitting (a radio can’t listen and shout at the same time), so 802.11 uses CSMA/CA — Carrier Sense Multiple Access with Collision Avoidance. A station listens before sending, waits a random backoff, and (optionally) uses RTS/CTS handshakes to reserve the medium. The key consequence: Wi-Fi is half-duplex and a shared medium. All devices on a channel share the airtime; adding more clients or more APs on the same channel divides that finite airtime. This is why capacity planning (not just coverage) matters.
Key Concepts
Wi-Fi standards (IEEE 802.11) — full comparison
The 802.11 working group has released a steady stream of amendments. The Wi-Fi Alliance later introduced simple generation names (Wi-Fi 4, 5, 6, 7) to replace the confusing letter suffixes.
| Standard | Wi-Fi name | Year | Band(s) | Max channel width | Modulation | Max theoretical rate | Key features |
|---|---|---|---|---|---|---|---|
| 802.11 | — | 1997 | 2.4 GHz | 20 MHz | DSSS/FHSS | 2 Mbps | The original |
| 802.11a | — | 1999 | 5 GHz | 20 MHz | OFDM | 54 Mbps | First 5 GHz; not compatible with b/g |
| 802.11b | — | 1999 | 2.4 GHz | 20 MHz | DSSS | 11 Mbps | Long range, popularized Wi-Fi |
| 802.11g | — | 2003 | 2.4 GHz | 20 MHz | OFDM | 54 Mbps | b speeds up in 2.4 GHz; b-compatible |
| 802.11n | Wi-Fi 4 | 2009 | 2.4 & 5 GHz | 40 MHz | OFDM | 600 Mbps | MIMO (up to 4 streams), channel bonding, frame aggregation |
| 802.11ac | Wi-Fi 5 | 2013 | 5 GHz only | 160 MHz | 256-QAM | ~3.5 Gbps (wave 2) | MU-MIMO (downlink), wider channels, more streams |
| 802.11ax | Wi-Fi 6 | 2019 | 2.4 & 5 GHz | 160 MHz | 1024-QAM | ~9.6 Gbps | OFDMA, uplink+downlink MU-MIMO, BSS Coloring, TWT (battery saving); efficiency in dense environments |
| 802.11ax | Wi-Fi 6E | 2020 | + 6 GHz | 160 MHz | 1024-QAM | ~9.6 Gbps | Wi-Fi 6 extended into the clean 6 GHz band |
| 802.11be | Wi-Fi 7 | 2024 | 2.4, 5 & 6 GHz | 320 MHz | 4096-QAM | ~46 Gbps | MLO (Multi-Link Operation), 320 MHz channels, Multi-RU, deterministic low latency |
Key ideas embedded in that table:
- MIMO (Multiple-Input Multiple-Output) — multiple antennas send/receive multiple independent data streams simultaneously (spatial streams), multiplying throughput. Written as
4×4:4(4 TX antennas, 4 RX antennas, 4 streams). - MU-MIMO (Multi-User MIMO) — the AP talks to several clients at once using different spatial streams, instead of serving them one at a time.
- OFDMA (Orthogonal Frequency-Division Multiple Access) — Wi-Fi 6’s headline feature. It splits a channel into small Resource Units (RUs) so the AP can serve many clients in a single transmission, dramatically improving efficiency for lots of small packets (IoT, chat, voice). This is the biggest reason Wi-Fi 6 helps dense networks more than raw speed suggests.
- BSS Coloring — tags frames with a “color” so a device can tell its own BSS’s traffic from a neighbor’s on the same channel, allowing more spatial reuse (transmit when a distant same-channel signal is present rather than always deferring).
- TWT (Target Wake Time) — lets battery devices schedule when to wake and talk, hugely extending IoT battery life.
- MLO (Multi-Link Operation) — Wi-Fi 7’s headline feature: a single client uses multiple bands (e.g., 5 GHz + 6 GHz) simultaneously for higher throughput, lower latency, and reliability.
WLAN architecture: autonomous, controller-based, cloud-managed
How you manage a fleet of APs is a defining architectural choice.
Autonomous (standalone/fat) APs. Each AP is fully self-contained: it has its own configuration, does its own encryption, RF management, and forwarding. Fine for a home or a tiny office (1–3 APs). Painful at scale — every config change and firmware update is per-AP, and there is no coordinated channel/power management or seamless roaming.
Controller-based (lightweight/thin APs + WLC). The intelligence moves to a central WLAN Controller (WLC). APs become “lightweight” — they handle radio, but the controller handles configuration, security policy, RF management (RRM: automatically tuning channels and power across all APs), and often data forwarding. The AP and WLC communicate over CAPWAP (Control And Provisioning of Wireless Access Points), a standardized tunneling protocol:
- CAPWAP control channel (UDP 5246) carries management/config.
- CAPWAP data channel (UDP 5248) can tunnel client traffic back to the controller (centralized/tunneled forwarding) or the AP can forward locally (FlexConnect/local switching for branch offices).
Benefits: one place to configure everything, coordinated RF, fast/seamless roaming, centralized monitoring. The classic enterprise on-prem model (e.g., Cisco WLC + Aironet/Catalyst APs).
Cloud-managed Wi-Fi. The controller function lives in the vendor’s cloud (e.g., Cisco Meraki, Aruba Central, UniFi’s controller). APs phone home to a cloud dashboard for config, monitoring, and analytics; data usually still forwards locally at the AP. Benefits: zero on-prem controller hardware, manage many sites from one dashboard, easy scaling. Trade-off: dependence on internet/cloud reachability and (usually) recurring licensing.
| Model | Where config lives | Best for | Roaming/RF | Downsides |
|---|---|---|---|---|
| Autonomous | On each AP | Home, 1–3 APs | Manual, no coordination | Doesn’t scale |
| Controller (WLC) | On-prem controller | Campus/enterprise | Coordinated, fast roaming | Controller is a cost & failure point |
| Cloud-managed | Vendor cloud | Multi-site, MSPs | Coordinated | Internet/cloud dependency, licensing |
Access points, controllers, and roaming
An access point (AP) bridges the wireless (802.11) and wired (802.3 Ethernet) worlds: it converts frames between the two and enforces association and encryption. Most enterprise APs are powered by PoE (Power over Ethernet) so a single cable carries data and power. See ./04-network-devices.md for the AP’s place in the device taxonomy.
Roaming is the process by which a moving client leaves one AP’s cell and joins another without dropping the connection. The client (not the AP) decides when to roam, based on signal strength. Plain roaming re-does the full authentication with each AP, which can cause a noticeable gap — fatal for a VoIP call. Fast roaming standards fix this:
- 802.11r (Fast BSS Transition / FT) — pre-establishes the security keys so re-association is near-instant.
- 802.11k (Neighbor Reports) — the AP tells the client which neighboring APs/channels to consider, so it doesn’t have to scan blindly.
- 802.11v (BSS Transition Management) — lets the network suggest a better AP to the client (load balancing, steering).
Together, k/v/r give the seamless roaming enterprises need for voice and video.
Coverage vs capacity planning (the basics).
- Coverage planning asks “is there a strong enough signal everywhere it’s needed?” You design for a target signal level (e.g., ≥ −67 dBm) at the cell edge. A site survey (predictive with software, or physical with a tool like Ekahau) maps coverage and finds dead spots. Old wisdom of “put APs far apart to cover more area” fails in high-density spaces.
- Capacity planning asks “can the network carry the load of all the clients here?” A lecture hall with 300 laptops needs many APs at lower power with smaller cells so airtime is divided among more radios — even though coverage alone would need only two APs. Modern high-density design is capacity-driven: more, smaller cells; disable slow legacy data rates; use 5/6 GHz; balance clients across bands (band steering).
Wireless security: WEP → WPA → WPA2 → WPA3
Because anyone in radio range can capture your frames, encryption is not optional. The security protocols evolved as each generation was broken.
| Protocol | Year | Encryption | Key exchange / integrity | Status |
|---|---|---|---|---|
| WEP | 1999 | RC4 (40/104-bit) | Static key, weak IV, CRC-32 | Broken — crackable in minutes. Never use. |
| WPA | 2003 | RC4 + TKIP | Per-packet key mixing, MIC | Interim fix for WEP; now deprecated/insecure |
| WPA2 | 2004 | AES-CCMP | 4-way handshake, strong integrity | Long-time standard; still common. Vulnerable to KRACK (patched) and offline PSK dictionary attacks |
| WPA3 | 2018 | AES / GCMP-256 | SAE (Simultaneous Authentication of Equals), PFS | Current best practice; resists offline dictionary attacks, forward secrecy |
WPA3 improvements worth naming:
- SAE (Dragonfly handshake) replaces WPA2’s PSK 4-way handshake in Personal mode. Even if an attacker captures the handshake, they cannot run an offline dictionary attack against it, and every session gets forward secrecy (compromising the password later doesn’t decrypt past traffic).
- 192-bit mode for WPA3-Enterprise (government/high-security).
- OWE (Opportunistic Wireless Encryption) / “Enhanced Open” — encrypts open (passwordless) networks like coffee-shop Wi-Fi, so traffic isn’t sent in the clear even with no password.
Personal (PSK) vs Enterprise (802.1X). This is orthogonal to WPA version — you can run WPA2-Personal or WPA2-Enterprise, WPA3-Personal or WPA3-Enterprise.
- Personal / PSK (Pre-Shared Key) — one shared password for the whole SSID. Simple, fine for home/small office. Weakness: everyone shares one secret; if it leaks, you must re-key everyone, and it’s the target of offline cracking (in WPA2).
- Enterprise / 802.1X — each user authenticates individually against a RADIUS server (often tied to Active Directory), using EAP (e.g., PEAP, EAP-TLS with certificates). No shared password; per-user credentials, per-user keys, central revocation, and audit trails. This is the standard for any organization. The chain is: supplicant (client) → authenticator (AP/WLC) → authentication server (RADIUS). See ./11-network-security.md for 802.1X/RADIUS/AAA details.
WPA vs WPS — a common point of confusion
These sound similar but are completely different things:
- WPA (Wi-Fi Protected Access) is the family of security/encryption protocols described above (WPA/WPA2/WPA3). It protects your traffic.
- WPS (Wi-Fi Protected Setup) is a convenience feature for joining a network without typing the passphrase — via a button press or an 8-digit PIN.
WPS is a security risk. The 8-digit PIN method has a serious design flaw: the router validates the PIN in two halves, so a brute-force attack only needs to guess ~11,000 combinations (and the last digit is a checksum), making it crackable in hours (the “Reaver” attack). Recommendation: disable WPS, especially the PIN method. WPS being enabled can undermine an otherwise strong WPA2/WPA3 network.
Best Practices
- Never use WEP or WPA (TKIP). Use WPA2-AES at minimum; prefer WPA3 (or WPA3/WPA2 transition mode for mixed clients). Enable “Enhanced Open”/OWE for guest/open networks.
- Use WPA-Enterprise (802.1X/RADIUS) for organizations; reserve PSK for home/small/IoT SSIDs, and use a long, random passphrase (20+ chars) for PSK to resist dictionary attacks.
- Disable WPS entirely (especially PIN). Convenience is not worth the exposure.
- In 2.4 GHz, use only channels 1, 6, 11. Never use overlapping channels. Prefer 20 MHz width in 2.4 GHz.
- Steer clients to 5/6 GHz with band steering; keep 2.4 GHz for legacy/IoT and long-range low-bandwidth devices.
- Design for capacity, not just coverage in dense spaces: more APs at lower power, smaller cells, and disable low legacy data rates (e.g., 1/2/5.5/11 Mbps) so slow clients don’t hog airtime.
- Do a site survey (predictive before install, validation after). Target ≥ −67 dBm and SNR ≥ 25 dB in areas that carry voice/video. Re-survey after major layout or occupancy changes.
- Enable fast roaming (802.11k/v/r) for voice/video and mobile users; test roaming with a real handset/laptop while walking the space.
- Separate SSIDs by purpose and put them on VLANs: corporate, guest (internet-only, isolated), and IoT (locked-down). Keep the number of SSIDs small — every extra SSID consumes airtime with its own beacons.
- Use PoE and plan uplinks: a Wi-Fi 6/7 AP can exceed 1 Gbps, so feed high-end APs with multi-gig (2.5G/5G) switch ports where possible.
- Keep AP/WLC firmware patched (KRACK, FragAttacks, and similar Wi-Fi vulnerabilities are fixed in firmware).
- Monitor the RF, not just the wire: watch channel utilization, retransmission rates, SNR, and client counts per AP — most “the Wi-Fi is slow” tickets are airtime/interference problems, not bandwidth problems.
Troubleshooting the three classic problem classes
Almost every wireless complaint reduces to one of three root causes. Diagnose by asking which one you’re facing:
- Coverage problem — the signal is too weak where the user is. Symptoms: drops in specific spots, low signal (−80 dBm+), works fine near the AP. Fix: add/relocate APs, increase power (carefully), better antennas, remove obstacles. Confirm with a survey/heatmap.
- Interference problem — the signal is present but noisy. Symptoms: high retransmissions, low SNR, works intermittently even with good signal, worse at certain times (microwave at lunch). Fix: change channels (respect 1/6/11), use a spectrum analyzer to find non-Wi-Fi sources, reduce channel width, move off DFS if radar events recur.
- Capacity problem — too many clients or too much load per cell. Symptoms: fine with few users, degrades as the room fills, high channel utilization (>50–70%), high airtime on slow clients. Fix: add APs/smaller cells, enable OFDMA/MU-MIMO capable gear, band-steer to 5/6 GHz, disable legacy rates, upgrade to Wi-Fi 6/6E/7.
A quick mental checklist for any Wi-Fi issue: Is the signal strong enough (coverage)? Is the signal clean enough (interference)? Is there enough airtime for everyone (capacity)?
Other wireless technologies
Bluetooth
Bluetooth is a short-range (typically ~10 m for Class 2) PAN (Personal Area Network) technology in the 2.4 GHz band, using frequency-hopping spread spectrum to dodge interference. It connects peripherals — headsets, keyboards, mice, wearables, car audio. BLE (Bluetooth Low Energy) is a separate, low-power variant for battery-sensitive IoT and beacons (fitness bands, sensors, indoor-positioning beacons). Bluetooth and Wi-Fi both use 2.4 GHz and can interfere; modern chips coordinate to coexist. Bluetooth is not a general LAN technology — it’s about pairing devices, not carrying network traffic.
Cellular / mobile networks (3G/4G/5G)
Cellular networks provide wide-area wireless data through a grid of licensed-spectrum base stations (“cells”). A network engineer should recognize the generations:
| Gen | Era | Core tech | Typical speed | Notes |
|---|---|---|---|---|
| 3G | ~2000s | UMTS/HSPA | ~1–10 Mbps | First real mobile data; being retired |
| 4G LTE | ~2010s | LTE, all-IP | ~10–100+ Mbps | The current mainstream; low latency, VoLTE |
| 5G | ~2020s | NR (New Radio) | ~100 Mbps–multi-Gbps | Three flavors: eMBB (fast broadband), URLLC (ultra-reliable low-latency for industry/vehicles), mMTC (massive IoT). Uses low/mid-band and mmWave (very fast, very short range) |
Cellular is relevant to network engineers for WWAN failover (a 4G/5G modem as backup internet for a branch), fixed wireless access (FWA) as a broadband alternative, and IoT connectivity.
Hotspot and tethering
- Tethering shares a phone’s cellular internet with another device over USB, Bluetooth, or Wi-Fi.
- Mobile hotspot is Wi-Fi tethering specifically: the phone (or a dedicated MiFi device) becomes a small AP, broadcasting an SSID that other devices join, while it uplinks over cellular. It’s the same Wi-Fi technology described above, just with a cellular WAN backhaul instead of a wired one. Useful for travel and as emergency failover, but subject to carrier data caps and battery drain.
References
- IEEE 802.11 Working Group — the standards themselves (a/b/g/n/ac/ax/be)
- Wi-Fi Alliance — Discover Wi-Fi — Wi-Fi generations, WPA3, WPS, certification programs
- Wi-Fi Alliance — Security (WPA3) — WPA2/WPA3, SAE, Enhanced Open/OWE
- Cisco — Wireless LAN (WLAN) overview — controllers, CAPWAP, RRM, deployment models
- Cisco — 802.11 Wireless Fundamentals / CWNP body of knowledge — spectrum, channels, RF design, site surveys
- FCC — U-NII / 6 GHz unlicensed operation — spectrum and regulatory rules
- IETF RFC 5415 — CAPWAP Protocol Specification
- MetaGeek — Wi-Fi channels, interference, and SNR guides — practical RF troubleshooting