Unpacking the Linux WiFi Stack: Writing and Integrating Wireless Drivers
summary
Covers how to support a Wi‑Fi device end to end: shows a minimal driver skeleton that registers hardware, implements eight ops (add/remove interface, start/stop, TX, wake_txq, config, filter, RX), and contrasts mac80211 vs cfg80211 flows including full‑MAC cases like wil1000/wlk3000 that are already upstream. Explains firmware handling via linux‑firmware, regulatory via wireless‑regdb, and concrete test/debug steps using iw/wpa_supplicant/iwd, netlink monitoring, ftrace/dynamic debug and tcpdump/wireshark. Good if building or debugging real drivers.
AI-written summary · about
chapters (20)
- 0:00Linux WiFi stack intro
- 1:04WiFi standards and 802.11 specs
- 3:35Hardware variations and firmware
- 5:42Full MAC vs Soft MAC devices
- 6:24Linux wireless stack overview
- 8:57Soft MAC driver skeleton
- 11:24Driver registration basics
- 13:10Transmitting frames
- 15:37Receiving frames and interrupts
- 18:27Full MAC driver differences
- 23:08Firmware loading and compliance
- 24:32Key management and WPA supplicant
- 26:18Regulatory framework and rules
- 29:30Power save mechanisms
- 32:40Driver development best practices
- 35:29Testing drivers with tools
- 36:54WPA supplicant testing
- 37:58Debugging wireless drivers
- 39:44Resources and documentation
- 40:28Q&A
related talks
53mInto the Jungle - How to write a Linux kernel driver for any subsystem
55mReliable Linux Wireless - Techniques for Debugging Wireless Module Integrations
51mNew Wireless Daemon for Linux
44mThe New Wi-Fi Experience for Linux
52mIn the Kernel Trenches: Mastering Ethernet Drivers on Linux
01h 01mDeveloping a New WiFi Daemon for Linux
10mUpstreaming a linux kernel driver.
24mLightweight and Fast WiFi Access in Virtual Machines
