Realtek Vendor Driver

Realtek do publish source code for their vendor drivers. They even have some bits to suggest they have supported it in the past on FreeBSD.

Overview

The Realtek vendor driver consists of a large part of an 802.11 stack, driver, transport and HAL for hardware access (PHY, MAC, RF, etc.) Amusingly, everything needed to have a single driver support all of their PCIe/USB devices is available - indeed there's also code for other chipsets in the HAL and core driver! - however they ship a different driver tree with different core changes for each chipset.

On Linux, the Realtek driver exports an nl80211/cfg80211 API, rather than tie into mac80211.

Structure

The top-level structure is as follows.

Specific Deep Dives

(TBD - I'm listing what I'd like to cover here)


dev/rtwn(4)/VendorDriver (last edited 2024-11-21T21:49:08+0000 by AdrianChadd)