imx6 Android 9 RTL8723BU bringup

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6 Android 9 RTL8723BU bringup

763 Views
aravinthkumarja
Senior Contributor II

Hi All,

Anyone done rtl8723bu wifi bringup in android 9.

 

 

I'm getting below error:


07-18 04:16:36.244 382 382 V SettingsProvider: Notifying for 0: content://settings/global/wifi_on
07-18 04:16:36.244 382 948 D WifiStateMachinePrimeinit: starting service 'wpa_supplicant'...
: received a message in WifiDisabledState: { when=0 what=0 targettype=1400 audit(1658117783.830:63): avc: denied { dac_read_search } for pid=259 comm="Binder:259_3" capability=2 scontext=u:r:installd:s0 tcontext=u:r:installd:s0 tclass=capability permissive=1
=com.android.internal.util.StateMinit: Created socket '/dev/socket/wpa_wlan0', mode 660, user 1010, group 1010
type=1400 audit(1658117796.310:64): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=1
achine$SmHandler }
07-18 04:16:36.244 382 948 D WifiStateMachinePrime: Switching from WifiDisabledState to ClientMode
07-18 04:16:36.244 382 948 D WifiStateMachinePrime: Entering ClientModeActiveState
07-18 04:16:36.249 382 948 D WifiClientModeManager: entering IdleState
07-18 04:16:36.250 382 948 D WifiStateMachinePrime: State changed from client mode. state = 2
07-18 04:16:36.255 382 382 D WifiP2pService: Wifi enabled=false, P2P Interface availability=false
07-18 04:16:36.257 230 1854 W audio_hw_primary: card 0, port 0 device 0x2
07-18 04:16:36.257 230 1854 W audio_hw_primary: rate 44100, channel 2 period_size 0xc0
07-18 04:16:36.264 227 227 I android.hardware.wifi@1.0-service: Wifi HAL started
07-18 04:16:36.274 382 948 I WifiVendorHal: Vendor Hal started successfully
07-18 04:16:36.276 382 950 I WifiP2pNative: Registering for interface available listener
07-18 04:16:36.315 382 950 D WifiP2pNative: P2P InterfaceAvailableListener true
07-18 04:16:36.315 382 950 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true, Number of clients=0
07-18 04:16:36.316 382 950 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true
07-18 04:16:36.352 382 948 I android_os_HwBinder: HwBinder: Starting thread pool for default::android.hidl.manager@1.0::IServiceManager
07-18 04:16:36.310 1 1 I init : type=1400 audit(0.0:64): avc: denied { dac_read_search } for capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=1
07-18 04:16:36.830 1872 1872 I wpa_supplicant: Processing hidl events on FD 3
07-18 04:16:36.839 1872 1872 I wpa_supplicant: Successfully initialized wpa_supplicant
07-18 04:16:36.855 382 1254 I android_os_HwBinder: HwBinder: Starting thread pool for default::android.hardware.wifi.supplicant@1.0::ISupplicant
07-18 04:16:36.861 382 1254 I SupplicantStaIfaceHal: Completed initialization of ISupplicant.
07-18 04:16:36.883 227 227 I WifiHAL : Initializing wifi, version : v1.0.2
07-18 04:16:36.883 227 227 I WifiHAL : Creating socket
07-18 04:16:36.886 227 227 I WifiHAL : Initialized Wifi HAL Successfully; vendor cmd = 103
07-18 04:16:36.887 227 227 I android.hardware.wifi@1.0-service: Adding interface handle for wlan0
07-18 04:16:36.887 227 227 I android.hardware.wifi@1.0-service: Adding interface handle for wlan1
07-18 04:16:36.887 227 227 E android.hardware.wifi@1.0-service: Failed to register radio mode change callback
07-18 04:16:36.888 227 227 I android.hardware.wifi@1.0-service: Configured chip in mode 0
07-18 04:16:36.889 227 227 E android.hardware.wifi@1.0-service: Failed to set DFS flag; DFS channels may be unavailable.
07-18 04:16:36.922 382 948 D WificondControl: Setting up interface for client mode
07-18 04:16:36.926 265 265 I wificond: create scanner for interface with index: 6
07-18 04:16:36.926 265 265 I wificond: subscribe scan result for interface with index: 6
07-18 04:16:36.928 199 199 W hwservicemanager: getTransport: Cannot find entry android.hardware.wifi.offload@1.0::IOffload/default in either framework or device manifest.
07-18 04:16:36.928 265 265 E wificond: No Offload Service available
07-18 04:16:36.928 265 265 I wificond: Offload HAL not supported
07-18 04:16:36.935 382 948 E SupplicantStaIfaceHal: Can't call setupIface, ISupplicantStaIface is null
07-18 04:16:36.937 382 948 I android_os_HwBinder: HwBinder: Starting thread pool for default::android.hardware.wifi.supplicant@1.0::ISupplicant
07-18 04:16:36.942 382 948 I android_os_HwBinder: HwBinder: Starting thread pool for default::android.hardware.wifi.supplicant@1.0::ISupplicant
07-18 04:16:36.962 1872 1872 I wpa_supplicant: Copied template conf file from /vendor/etc/wifi/wpa_supplicant.conf to /data/vendor/wifi/wpa/wpa_supplicant.conf
07-18 04:16:36.970 1872 1872 I wpa_supplicant: rfkill: Cannot open RFKILL control device
07-18 04:16:36.972 382 403 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
07-18 04:16:37.057 382 948 E SupplicantStaIfaceHal: Failed to create ISupplicantIface 1
07-18 04:16:37.057 382 948 E SupplicantStaIfaceHal: setupIface got null iface
07-18 04:16:37.058 382 948 E WifiNative: Failed to setup iface in supplicant on Iface:{Name=wlan0,Id=0,Type=STA}
07-18 04:16:37.063 382 948 E WifiNative: Failed to unregister network observer on Iface:{Name=wlan0,Id=0,Type=STA}
07-18 04:16:37.064 382 948 E SupplicantStaIfaceHal: Can't call teardownIface, ISupplicantStaIface is null
07-18 04:16:37.064 382 948 E WifiNative: Failed to teardown iface in supplicant on Iface:{Name=wlan0,Id=0,Type=STA}
07-18 04:16:37.065 265 265 I wificond: Unsubscribe scan result for interface with index: 6
RTL871X: RTW_ADAPTIVITY_EN_
AUTO, chplan:0x21, Regulation:2,3
RTL871X: RTW_ADAPTIVITY_MODE_
NORMAL
RTL871X: nolinked power save leave
init: Received control message 'stop' for 'wpa_supplicant' from pid: 265 (/system/bin/wificond)
init: Sending signal 9 to service 'wpa_supplicant' (pid 1872) process group...
07-18 04:16:38.518 382 403 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
libprocessgroup: Successfully killed process cgroup uid 0 pid 1872 in 129ms
init: Service 'wpa_supplicant' (pid 1872) received signal 9
07-18 04:16:38.691 382 963 W SupplicantStaIfaceHal: ISupplicant died: cookie=0
07-18 04:16:38.764 382 948 D WificondControl: tearing down interfaces in wificond
07-18 04:16:38.768 227 1873 E WifiHAL : wifi_event_loop: Read after POLL returned 4, error no = 0 (Success)
07-18 04:16:38.768 227 1873 D WifiHAL : Got a signal to exit!!!
07-18 04:16:38.769 227 1873 I WifiHAL : Exit wifi_event_loop
07-18 04:16:38.769 227 227 E WifiHAL : wifi_cleanup: Read after POLL returned 4, error no = 0 (Success)
07-18 04:16:38.769 227 227 E WifiHAL : Event processing terminated
07-18 04:16:38.769 227 227 I android.hardware.wifi@1.0-service: Legacy HAL stop complete callback received
07-18 04:16:38.769 227 227 I WifiHAL : Internal cleanup completed
07-18 04:16:38.854 382 392 I system_server: Background concurrent copying GC freed 9145(866KB) AllocSpace objects, 11(476KB) LOS objects, 19% free, 5MB/6MB, paused 218us total 161.488ms
07-18 04:16:38.971 227 227 I android.hardware.wifi@1.0-service: Wifi HAL stopped
07-18 04:16:38.974 382 948 I WifiVendorHal: Vendor Hal stopped
07-18 04:16:38.974 382 948 I WifiNative: Successfully torn down Iface:{Name=wlan0,Id=0,Type=STA}
07-18 04:16:38.976 382 948 E HalDevMgr: Should have at least 1 chip!
07-18 04:16:38.977 382 948 E HalDevMgr: dispatchAvailableForRequestListeners: no chip info found
07-18 04:16:38.979 382 948 I WifiNative: Successfully initiated teardown for iface=wlan0
07-18 04:16:38.979 382 948 E WifiClientModeManager: Failed to create ClientInterface. Sit in Idle
07-18 04:16:38.979 382 948 D WifiStateMachinePrime: State changed from client mode. state = 4
07-18 04:16:38.979 382 948 D WifiClientModeManager: expected stop, not triggering callbacks: newState = 1
07-18 04:16:38.981 382 382 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true
07-18 04:16:38.982 382 948 D WifiStateMachinePrime: ClientMode failed, return to WifiDisabledState.
07-18 04:16:38.982 382 401 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
07-18 04:16:38.982 382 948 D WifiController: ClientMode unexpected failure: state unknown
07-18 04:16:38.984 382 948 D WifiClientModeManager: currentstate: IdleState
07-18 04:16:38.988 382 948 D WifiStateMachinePrime: Entering WifiDisabledState
07-18 04:16:38.988 382 948 D ActiveModeManager: sending scan available broadcast: false
07-18 04:16:38.990 382 949 I WifiScanningService: wifi driver unloaded
07-18 04:16:38.989 382 948 D WifiStateMachinePrime: received a message in WifiDisabledState: { when=-4ms what=3 target=com.android.internal.util.StateMachine$SmHandler }
07-18 04:16:38.990 382 948 D WifiStateMachinePrime: Switching from WifiDisabledState to WifiDisabled
07-18 04:16:38.991 382 948 D WifiStateMachinePrime: Entering WifiDisabledState
07-18 04:16:38.991 382 948 D ActiveModeManager: sending scan available broadcast: false
07-18 04:16:38.992 382 949 I WifiScanningService: wifi driver unloaded
07-18 04:16:39.396 230 334 W audio_hw_primary: do_out_standby... 0xb2258000

0 Kudos
1 Reply

727 Views
jimmychan
NXP TechSupport
NXP TechSupport

Normally, there is wifi chip's porting guide for android. You could contact RT for their documentation.

0 Kudos