In Chapter 3, Discovering Kernel, HAL, and Virtual Hardware, we discussed the porting layers related to the Android system, we used goldfish lights as an example to depict the calling sequence from an application to HAL to access the hardware. We will use a similar approach in this chapter to explore the Wi-Fi architecture of Android. Based on what we understand about Wi-Fi architecture, we will add Wi-Fi to the emulator later in this chapter.
Wi-Fi on Android
The Wi-Fi architecture
As we know from previous chapters, Android applications use managers to access system services. The managers will use various system services to access Hardware Abstraction Layer (HAL). The Wi-Fi architecture also follows the same approach for applications to access Wi-Fi hardware.
Android...