WifiNative: Separate connect to supplicant

Since we have separate interfaces for P2P & STA operations to supplicant
in the HIDL world, separate out these initialization sequence.

PS: This new flag (isStaIface) is currently unused in the legacy socket
interface.

Bug: 35915447
Test: Wifi comes up and able to connect to networks.
Change-Id: Idf1df650670e9b329c11443223c9e177fd6b3b32
4 files changed
tree: 54a1a47247742b8eeb6e5463ad32263fdf3d87f6
  1. libwifi_hal/
  2. libwifi_system/
  3. service/
  4. tests/
  5. PREUPLOAD.cfg