[brcmfmac][wlan] Add simulator configuration
Add a simulator configuration to lay the groundwork for driver unit tests. This first step creates a build target that doesn't use the zircon driver/device framework. To do so, we create two sets of sources, one (for the actual driver) that instantiates a devmgr device and one (for testing) that instantiates a simulated device. WLAN-1126 TEST: Built, ran brcmfmac unit tests, ran smoke test with fx-linksys. This patch is the first step in a unit test framework for the brcmfmac driver. Change-Id: Icecadcfd75f727084447953c6a521775ca499737
Showing
- src/connectivity/wlan/drivers/testing/lib/sim-device/BUILD.gn 14 additions, 0 deletions...connectivity/wlan/drivers/testing/lib/sim-device/BUILD.gn
- src/connectivity/wlan/drivers/testing/lib/sim-device/device.cc 10 additions, 0 deletions...onnectivity/wlan/drivers/testing/lib/sim-device/device.cc
- src/connectivity/wlan/drivers/testing/lib/sim-device/device.h 14 additions, 0 deletions...connectivity/wlan/drivers/testing/lib/sim-device/device.h
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/BUILD.gn 35 additions, 15 deletions...ivity/wlan/drivers/third_party/broadcom/brcmfmac/BUILD.gn
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/bcmsdh.cc 10 additions, 4 deletions...vity/wlan/drivers/third_party/broadcom/brcmfmac/bcmsdh.cc
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/bus.h 6 additions, 2 deletions...ectivity/wlan/drivers/third_party/broadcom/brcmfmac/bus.h
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/cfg80211.cc 36 additions, 25 deletions...ty/wlan/drivers/third_party/broadcom/brcmfmac/cfg80211.cc
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/core.cc 35 additions, 8 deletions...tivity/wlan/drivers/third_party/broadcom/brcmfmac/core.cc
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/d11.cc 1 addition, 0 deletions...ctivity/wlan/drivers/third_party/broadcom/brcmfmac/d11.cc
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/debug.cc 13 additions, 6 deletions...ivity/wlan/drivers/third_party/broadcom/brcmfmac/debug.cc
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/debug.h 11 additions, 1 deletion...tivity/wlan/drivers/third_party/broadcom/brcmfmac/debug.h
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/firmware.cc 6 additions, 0 deletions...ty/wlan/drivers/third_party/broadcom/brcmfmac/firmware.cc
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/linuxisms.h 9 additions, 10 deletions...ty/wlan/drivers/third_party/broadcom/brcmfmac/linuxisms.h
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/pcie.cc 1 addition, 1 deletion...tivity/wlan/drivers/third_party/broadcom/brcmfmac/pcie.cc
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/sdio.cc 6 additions, 0 deletions...tivity/wlan/drivers/third_party/broadcom/brcmfmac/sdio.cc
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/sdio.h 0 additions, 4 deletions...ctivity/wlan/drivers/third_party/broadcom/brcmfmac/sdio.h
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/sim.cc 25 additions, 0 deletions...ctivity/wlan/drivers/third_party/broadcom/brcmfmac/sim.cc
- src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/test/BUILD.gn 2 additions, 2 deletions.../wlan/drivers/third_party/broadcom/brcmfmac/test/BUILD.gn
Loading
Please register or sign in to comment