wifi: Set the mode at native layer

 * Set normal/AP mode so that the HAL can specify correct module
   arguments when loading the driver.

Change-Id: Ic460f00f0308840d4875582673020786e46258f7
Merge "wifi: Set the mode at native layer" into android-4.4
Merge remote-tracking branch 'cm/android-4.4' into android-4.4