How libc0607/rtl88x2eu-20230815 works
This repository is a Linux Wi-Fi driver for RTL8812EU/RTL8822EU adapters. Its main user-to-result path is wireless configuration through Linux WEXT/cfg80211 interfaces, driver MLME and channel/power handling, then chip and USB hardware control; monitor-mode injection and narrow-band operation are documented capabilities. The graph also includes calibration, efuse, PHY management, and Bluetooth coexistence. Some subsystem links are documented at a high level; unsampled implementation details are not inferred.
Main entry points: rtw_mlme.c Link management · hal_halmac.h HALMAC driver API · rtl8822e_ops.c RTL8822E operations · halmac_common_88xx.c HALMAC common
Components 23
Linux interfaces
- WEXT and cfg80211
os_dep/linux/ioctl_linux.c
Wireless runtime
- Link management
core/rtw_mlme.c - Channel planning
core/rtw_chplan.c - TX power control
core/rtw_txpwr.h - Wireless crypto
core/crypto/aes-internal.c - Wi-Fi data definitions
include/wifi.h
Chip and transport
- Efuse calibration
core/efuse/rtw_efuse.c - PHY configuration
hal/hal_com_phycfg.c - PHY management
hal/phydm/phydm_antdiv.c - RTL8822E operations
hal/rtl8822e/rtl8822e_ops.c - RTL8822E definitions
hal/rtl8822e/rtl8822e.h - HALMAC driver API
hal/hal_halmac.h - HALMAC common
hal/halmac/halmac_88xx/halmac_common_88xx.c - HALMAC registers
hal/halmac/halmac_reg2.h - USB transport
hal/hal_hci/hal_usb.c - Efuse masks
hal/efuse/efuse_mask.h - PHYDM support
hal/phydm/phydm_precomp.h - HALMAC API
hal/halmac/halmac_api.h
Radio features
- Monitor radiotap
core/monitor/rtw_radiotap.c - Bluetooth coexistence
hal/btc/halbtccommon.c - RTL8822E coexistence
hal/btc/halbtc8822e.c
Other components
- Wireless user
- RTL8812EU/RTL8822EU adapter
Connections 22
- Wireless user → WEXT and cfg80211: configures
- WEXT and cfg80211 → Link management: sets link state
- Wireless user → Monitor radiotap: sets monitor mode
- Monitor radiotap → RTL8812EU/RTL8822EU adapter: injects packets
- Wireless user → Channel planning: sets channel
- Wireless user → TX power control: sets TX power
- Channel planning → RTL8812EU/RTL8822EU adapter: configures bandwidth
- TX power control → PHY configuration: sets radio power
- Link management → Wireless crypto: secures traffic
- Efuse calibration → HALMAC driver API: reads efuse
core/efuse/rtw_efuse.c - Efuse masks → Efuse calibration: selects masks
core/efuse/rtw_efuse.c - RTL8822E operations → RTL8822E definitions: uses definitions
hal/rtl8822e/rtl8822e_ops.c - RTL8822E operations → HALMAC driver API: uses HALMAC
hal/rtl8822e/rtl8822e_ops.c - PHY configuration → RTL8822E definitions: uses chip definitions
hal/hal_com_phycfg.c - PHYDM support → PHY management: supports PHYDM
hal/phydm/phydm_antdiv.c - Bluetooth coexistence → RTL8822E coexistence: uses chip coexistence
- HALMAC driver API → HALMAC API: declares operations
hal/hal_halmac.h - HALMAC common → HALMAC API: uses API
hal/halmac/halmac_88xx/halmac_common_88xx.c - HALMAC common → HALMAC registers: uses registers
- USB transport → RTL8812EU/RTL8822EU adapter: transfers frames
- RTL8812EU/RTL8822EU adapter → Wireless user: provides Wi-Fi
- Wi-Fi data definitions → Link management: defines Wi-Fi types