This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1837MOD: WL1837MOD

Part Number: WL1837MOD
Other Parts Discussed in Thread: WL1837

Hi,

Is there a similar link like processors.wiki.ti.com/.../WL18xx_First_Time_Getting_Started_Guide_(IMX6) Androi Oreo. 

Looking for similar steps to bringup wifi and bluetooth of wl1837 on Oreo in an imx6 platform.

Regards,

Sreejith

  • Hi,

    No, we have not ported internally to any newer version, than the one on this wiki.

    We are not maintaining Android support internally.

    BR,

    Eyal

  • This release has Wifi enabled "WiLink Hardware: wl18xxQ" on DRA7 Ref EVM:

    More info :
    processors.wiki.ti.com/.../6AO.1.0_Release_Notes

    This might be a good starting point to bring up wifi on oreo based on automotive ref platform (6AO.1.0)
  • Has bluetooth been brought up on oreo for Wilink?

    For platform/hardware/ti/wpan.git project , dont see a oreo release.

  • Hi,

    Integrated into the imx6 4.9 oreo kernel. When uim service is starting getting below log. On comparing with log of previous android version where it was successfully integrated, dont see prints from ti_st_send_frame function in btwilink.c like "<7>hci0: type 1 len 4". Also a process is getting killed. Any suggestion on what could be the reason for the issue?

    (stk) :sysfs entries created
    type=1400 audit(5822.420:18): avc: denied { write } for pid=397 comm="Binder:397_1" name="timerslack_ns" dev="proc" ino=16217 scontext=u:r:system_server:s0 tcontext=u:r:untrusted_app_25:s0:c512,c768 tclass=file permissive=1
    type=1400 audit(5858.200:19): avc: denied { module_load } for pid=1248 comm="uim-sysfs" scontext=u:r:su:s0 tcontext=u:r:su:s0 tclass=system permissive=1
    (hci_tty): inside hci_tty_init
    (stc): chnl_id list empty :4
    (stk) : st_kim_start
    (hci_tty): allocated 240, 0
    (stk) :ldisc_install = 1(stc): st_tty_open
    (stk) :line discipline installed(stk) :ti-connectivity/TIInit_11.8.32.bts
    kim kim: Direct firmware load for ti-connectivity/TIInit_11.8.32.bts failed with error -2
    kim kim: Falling back to user helper
    ueventd: firmware: loading 'ti-connectivity/TIInit_11.8.32.bts' for '/devices/soc0/kim/firmware/ti-connectivity!TIInit_11.8.32.bts'
    (stk) :change remote baud rate command in firmwareueventd: loading /devices/soc0/kim/firmware/ti-connectivity!TIInit_11.8.32.bts took 0.024772 seconds
    init: Untracked pid 1254 exited with status 0
    (stk) :skipping the wait event of change remote baud
    (stc): add_channel_to_table: id 4
    (stc): add_channel_to_table: id 2
    (stc): add_channel_to_table: id 3

    Regards,

    Sreejith

  • Only Wifi is part of Processor SDK Android Automotive Release 6AO.1.0(with 4.4 kernel).

    BT is not part of the release.

  • Hi,

    Below steps were followed to bringup Wilink8 wifi in imx6 Oreo aosp with 4.9 kernel

    Enabled wifi in mainline kernel.

    Added hardware/ti/wlan and external/wpa_supplicant_8 from TI SDK Android Automotive Release 6AO.1.0.

    Can see driver successfully loading firmware.

    wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
    wl18xx_driver wl18xx.0.auto: Falling back to user helper
    wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    wlcore: loaded

    wlan0 interface is seen in ifconfig -a

    wlan0 Link encap:Ethernet HWaddr e0:e5:cf:98:6e:fc Driver wl18xx_driver
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 TX bytes:0

    But scanning is not happening. In logcat see below error. What could be the cause for this issue?

    E wificond: NL80211_CMD_TRIGGER_SCAN failed: Network is down
    E WificondScannerImpl: Failed to start scan, freqs=null

    Below is wifi related logs in logcat.

    I android.hardware.wifi@1.0-service: Wifi Hal is booting up...
    wificond: wificond is starting up...
    W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.CONFIGURE_WIFI_DISPLAY in package: com.android.systemui at: Binary XML file line #130
    W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.CHANGE_WIFI_STATE in package: com.android.nfc at: Binary XML file line #47
    I SystemServer: StartWifi
    I SystemServiceManager: Starting com.android.server.wifi.WifiService
    D WifiApConfigStore: 2G band allowed channels are:1,6,11
    I WifiNative-wlan0: Vendor HAL not supported, Ignore stop...
    D WificondControl: tearing down interfaces in wificond
    D WifiController: isAirplaneModeOn = false, isWifiEnabled = true, isScanningAvailable = false
    W WifiDiags: no ring buffers found
    W WifiDiags: Failed to start packet fate monitoring
    I WifiService: Registering wifi
    D SystemServerTiming: StartWifi took to complete: 377ms
    I SystemServer: StartWifiScanning
    I SystemServiceManager: Starting com.android.server.wifi.scanner.WifiScanningService
    I WifiScanningService: Creating wifiscanner
    I WifiScanningService: Publishing wifiscanner
    D SystemServerTiming: StartWifiScanning took to complete: 13ms
    I SystemServer: StartWifiRtt
    I SystemServiceManager: Starting com.android.server.wifi.RttService
    D SystemServerTiming: StartWifiRtt took to complete: 4ms
    I SystemServer: StartWifiP2P
    I SystemServiceManager: Starting com.android.server.wifi.p2p.WifiP2pService
    I WifiP2pService: Registering wifip2p
    D SystemServerTiming: StartWifiP2P took to complete: 14ms
    D ConnectivityService: wifiOnly=true
    I WifiService: WifiService starting up with Wi-Fi enabled
    D HalDeviceManager: IWifi registration notification: fqName=android.hardware.wifi@1.0::IWifi, name=default, preexisting=true
    W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.wifi@1.0::IWifi/default in either framework or device manifest.
    D WifiService: setWifiEnabled: true pid=398, uid=1000, package=android
    I system_server: Looking for service android.hardware.wifi@1.0::IWifi/default
    I WifiScanningService: Starting wifiscanner
    D WifiController: WifiController msg { when=0 what=155656 target=com.android.internal.util.StateMachine$SmHandler } deferred for 499ms
    W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.wifi@1.0::IWifi/default in either framework or device manifest.
    D WifiController: DEFERRED_TOGGLE handled
    W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.wifi@1.0::IWifi/default in either framework or device manifest.
    I WifiNative-wlan0: Vendor HAL not supported, Ignore start...
    D WificondControl: Setting up driver for client mode
    I wificond: create scanner for interface with index: 4
    I wificond: subscribe scan result for interface with index: 4
    W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.wifi.offload@1.0::IOffload/default in either framework or device manifest.
    E wificond: No Offload Service available
    I WifiScanningService: wifi driver unloaded
    I system_server: Looking for service android.hardware.wifi.supplicant@1.0::ISupplicant/default
    W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.wifi.supplicant@1.0::ISupplicant/default in either framework or device manifest.
    D WifiConfigManager: Legacy store files not found. No migration needed!
    D WifiStateMachine: Setting OUI to DA-A1-19
    W WifiDiags: no ring buffers found
    W WifiDiags: Failed to start packet fate monitoring
    I WifiStateMachine: disconnectedstate enter
    I wificond: New interface event callback registered
    D RttService: EnabledState got{ when=-1ms what=160516 obj=android.net.wifi.IClientInterface$Stub$Proxy@1ae4604 target=com.android.internal.util.StateMachine$SmHandler }
    I WifiScanningService: wifi driver loaded with scan capabilities: max buckets=16
    D WifiService: New client listening to asynchronous messages
    D WifiConfigStore: Reading from stores completed in 4 ms.
    W WifiConfigManager: No stored networks found.
    D WIFI : Registering NetworkFactory
    D WIFI_UT : Registering NetworkFactory
    D ConnectivityService: Got NetworkFactory Messenger for WIFI
    D ConnectivityService: Got NetworkFactory Messenger for WIFI_UT
    D WIFI : got request NetworkRequest [ TRACK_DEFAULT id=4, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0
    D WifiConnectivityHelper: Firmware supported feature set: 0
    D WifiConnectivityHelper: Firmware roaming is not supported
    E wificond: NL80211_CMD_TRIGGER_SCAN failed: Network is down
    D WIFI : got request NetworkRequest [ REQUEST id=1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0
    D WIFI : got request NetworkRequest [ BACKGROUND_REQUEST id=2, [ Transports: CELLULAR Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0
    D WIFI : got request NetworkRequest [ TRACK_DEFAULT id=3, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0
    D WIFI_UT : got request NetworkRequest [ REQUEST id=1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0
    D WIFI_UT : got request NetworkRequest [ BACKGROUND_REQUEST id=2, [ Transports: CELLULAR Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0
    E WificondScannerImpl: Failed to start scan, freqs=null
    D WIFI_UT : got request NetworkRequest [ TRACK_DEFAULT id=3, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0
    D WifiConfigStore: Reading from user store completed in 1 ms.
    D WifiConfigStore: Writing to stores completed in 51 ms.
    I SupplicantP2pIfaceHal: IServiceNotification.onRegistration for: android.hardware.wifi.supplicant@1.0::ISupplicant, default preexisting=true
    I system_server: Looking for service android.hardware.wifi.supplicant@1.0::ISupplicant/default
    W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.wifi.supplicant@1.0::ISupplicant/default in either framework or device manifest.
    E wificond: NL80211_CMD_TRIGGER_SCAN failed: Network is down
    E WificondScannerImpl: Failed to start scan, freqs=null


    01-01 01:10:14.428 299 299 E wificond: NL80211_CMD_TRIGGER_SCAN failed: Network is down
    01-01 01:10:14.429 398 476 E WificondScannerImpl: Failed to start scan, freqs=null
    01-01 01:10:21.251 398 476 I chatty : uid=1000(system) WifiScanningSer identical 2 lines
    01-01 01:10:26.255 398 476 E WificondScannerImpl: Failed to start scan, freqs=null

    Regards,

    Sreejith