Linux SDIO-WiFi 协议栈 1. 简介 2. BCMDHD 2.1 WiFi模组 2.2 驱动初始化(dhd_module_init) 3. Broadcom fullmac WLAN
1. 简介
2. BCMDHD
BCMDHD:Broadcom Dongle Host Driver SIP:System In Package
2.1 WiFi模组
2.2 驱动初始化(dhd_module_init)
dhd_module_init = > dhd_wifi_platform_register_drv = > wifi_ctrlfunc_register_dr = > dhd_wifi_platform_load = > dhd_wifi_platform_load_sdio = > dhd_bus_register = > bcmsdh_register = >
static bcmsdh_driver_t dhd_sdio = { dhdsdio_probe,dhdsdio_disconnect,dhdsdio_suspend,dhdsdio_resume
} ;
dhdsdio_probe = > dhd_attach = > wl_cfg80211_attach wl_iw_attach dhd_dpc_thread dhd_rxf_thread dhd_attach_net = > dhd_register_if wl_cfg80211_net_attach
3. Broadcom fullmac WLAN
The brcm80211 drivers are included in the kernel. They are named brcmsmac for PCI cards and brcmfmac for SDIO devices. SDIO设备驱动代码
drivers/net/wireless/broadcom/brcm80211/brcmfmac