I am using Android 6.0.
I am using realtek kernel driver https://github.com/RinCat/RTL88x2BU-Linux-Driver
Android wpa_supplicant worked with reference to RTL8188EUS_RTL8189ES_linux_v4.1.7_9024.20131125.
If you have realtek wifi porting data on android 6.0, please share.
The error log is as below.
01-01 00:11:58.649 232 311 D AudioFlinger: mixer(0xb4300000) throttle end: throttle time(6)
01-01 00:11:58.918 1458 1458 D SubSettings: Launching fragment com.android.settings.wifi.WifiSettings
01-01 00:11:59.177 602 956 D WifiService: New client listening to asynchronous messages
01-01 00:11:59.262 1458 1458 I Choreographer: Skipped 33 frames! The application may be doing too much work on its main thread.
01-01 00:11:59.265 1458 1684 D WifiTracker: ------ Dumping SSIDs that were not seen on this scan ------
01-01 00:11:59.266 1458 1684 D WifiTracker: ---- Done dumping SSIDs that were not seen on this scan ----
01-01 00:11:59.429 1458 1687 D Index : Deleting data for locale 'en_US' took 39 millis
01-01 00:11:59.438 1458 1687 D WifiTracker: ------ Dumping SSIDs that were not seen on this scan ------
01-01 00:11:59.438 1458 1687 D WifiTracker: ---- Done dumping SSIDs that were not seen on this scan ----
01-01 00:11:59.453 1458 1687 D Index : Indexing locale 'en_US' took 23 millis
01-01 00:11:59.534 602 636 I ActivityManager: Displayed com.android.settings/.SubSettings: +884ms
01-01 00:12:00.797 232 311 W audio_hw_primary: crazyboys out_set_parameters routing=2, ret 0, out -1243290304
01-01 00:12:00.801 602 1066 D WifiService: setWifiEnabled: true pid=1458, uid=1000
01-01 00:12:00.801 602 1066 E WifiService: Invoking mWifiStateMachine.setWifiEnabled
01-01 00:12:00.803 602 955 D CRZ WifiHW: insmod /system/lib/modules/wlan.ko
01-01 00:12:00.826 232 311 D AudioFlinger: mixer(0xb4300000) throttle end: throttle time(7)
01-01 00:12:01.761 602 635 D Tethering: sendTetherStateChangedBroadcast 0, 0, 0
01-01 00:12:01.761 602 635 D Tethering: InitialState.processMessage what=4
01-01 00:12:01.769 602 955 D CRZ WifiHW: wifi_ifname: index 0
01-01 00:12:01.770 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find wlan0
01-01 00:12:01.770 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find p2p0
01-01 00:12:01.770 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find sit0
01-01 00:12:01.770 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find lo
01-01 00:12:01.770 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find eth0
01-01 00:12:01.770 602 955 D CRZ WifiHW: wifi_ifname: index 0
01-01 00:12:01.770 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find wlan0
01-01 00:12:01.770 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find p2p0
01-01 00:12:01.770 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find sit0
01-01 00:12:01.770 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find lo
01-01 00:12:01.770 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find eth0
01-01 00:12:01.778 602 635 D Tethering: sendTetherStateChangedBroadcast 0, 0, 0
01-01 00:12:01.787 602 635 D Tethering: sendTetherStateChangedBroadcast 0, 0, 0
01-01 00:12:01.787 602 635 D Tethering: InitialState.processMessage what=4
01-01 00:12:01.791 602 635 D Tethering: sendTetherStateChangedBroadcast 0, 0, 0
01-01 00:12:01.811 602 955 E WifiMonitor: killSupplicant p2pfalse init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
01-01 00:12:03.889 232 311 W audio_hw_primary: do_out_standby... -1243290304
01-01 00:12:06.821 602 955 D wifi : Can not initialize the vendor function pointer table
01-01 00:12:06.821 602 955 E WifiNative-HAL: Could not start hal
01-01 00:12:06.821 602 955 E WifiStateMachine: Failed to start HAL
01-01 00:12:06.821 602 955 D CRZ WifiHW: CRZ p2p_supported=0
01-01 00:12:16.845 602 955 D CRZ WifiHW: wifi_ifname: index 0
01-01 00:12:16.846 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find wlan0
01-01 00:12:16.846 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find p2p0
01-01 00:12:16.846 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find sit0
01-01 00:12:16.846 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find lo
01-01 00:12:16.846 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find eth0
01-01 00:12:16.846 602 955 D CRZ WifiHW: wifi_ifname: index 0
01-01 00:12:16.846 602 955 E CRZ WifiHW: ctrl_interface != wlan0
01-01 00:12:16.848 602 955 D CRZ WifiHW: wifi_ifname: index 0
01-01 00:12:16.848 602 955 D CRZ WifiHW: check_wifi_ifname_from_proc: find wlan0
01-01 00:12:16.946 1690 1690 I wpa_supplicant: Successfully initialized wpa_supplicant
01-01 00:12:16.948 1690 1690 I wpa_supplicant: rfkill: Cannot open RFKILL control device
01-01 00:12:36.879 602 955 E WifiStateMachine: Failed to start supplicant!
01-01 00:22:08.941 602 626 I UsageStatsService: User[0] Flushing usage stats to disk
01-01 00:31:00.036 602 627 I ProcessStatsService: Prepared write state in 17ms