AP6335模块(BCM4339)在上电运行时,是需要刷入固件的,其在普通WIFI模式和AP模式之间切换时,也是需要加载不同的固件的,其位于/system/etc/firmware/下面:
fw_bcm4339a0_ag.bin
fw_bcm4339a0_ag_apsta.bin
下面的日志即是WIFI热点开启时加载的固件:
[ 1276.966022] dhd_bus_devreset: == WLAN ON ==
[ 1276.966038] dhd_bus_devreset called when dongle is not in reset
[ 1276.966045] Will call dhd_bus_start instead
[ 1276.966092] dhd_conf_set_fw_name_by_chip: firmware_path=/system/etc/firmware/fw_bcm43341b0_ag_apsta.bin
[ 1276.966220] Final fw_path=/system/etc/firmware/fw_bcm43341b0_ag_apsta.bin
[ 1276.966229] Final nv_path=/system/etc/firmware/nvram_AP6335.txt
[ 1276.966237] Final conf_path=/system/etc/firmware/config.txt
[ 1277.005227] NVRAM version: AP6335_NVRAM_V1.7_04102014
WiFi的驱动目录:
kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd
千兆以太网的驱动目录:
kernel/drivers/net/ethernet/rockchip/gmac