I have a custom hardware with Two separate Wif-Fi adapter. Android M will be the OS running on it. My question is Is it possible to control and configure those two Wi-Fi devices independently from android application layer? What will be the changes that I should implement in Wi-Fi HAL module to make this possible? In order to connect to wifi on a single adapter device we use WifiManager, But how can it be used for connecting both adapters? What we trying to achieve in here is to use one wifi adapter to act as an access point (tethering) and the other adapter to connect to a different network. These connections management should be available from the application layer so that user can connect and disconnect wifi to his needs.