1 Reply Latest reply on Oct 18, 2019 2:44 AM by ZhengbaoZ_96

    wifi bring up issue

    tepa_4520591

      Hi ,

       

      We have using cypress wifi chip and integrated wifi driver and wifi HAL. Still WiFi bring up issue.


      Dmesg log time: 

       

      dhd_prot_ioctl : return error code-23 below error comes and i was check driver code and it check ifdef and return BCME_UNSUPPORTED rertun code by -23?

       

      Cypress provide any patch overcome for this issue  -23 ?

       

      #define BCME_UNSUPPORTED        

      -23/* Unsupported */

       

       

      [
      [2.101205] dhd_prot_ioctl: status ret value is -23
      [2.101210] dhd_preinit_ioctls Disable rsdb_mode is failed ret= -23
      [2.101213] Firmware up: op_mode=0x0005, MAC=a0:c9:a0:8f:dc:ab
      [2.102742] dhd_prot_ioctl: status ret value is -23
      [2.102747] dhd_preinit_ioctls Set txbf returned (-23)
      [2.103582] dhd_prot_ioctl: status ret value is -23
      [2.103585] dhd_preinit_ioctls pspretend_threshold for HostAPD failed  -23
      [2.105620] clm version = Cypress.Automotive
      [2.105781] Firmware version = wl0: Mar 12 2018 01:06:33 version 9.40.80 (r684423 CY) FWID 01-35ae044b
      [2.106165] dhd_prot_ioctl: status ret value is -14
      [2.106168] dhd_pno_init: Support Android Location Service
      [2.106419] dhd_prot_ioctl: status ret value is -16
      [2.106421] dhd_interworking_enable: set wnm returned (-16)
      [2.106621] dhd_prot_ioctl: status ret value is -23

       

       

      logcat log with android HAL and wpa_supplicant:

      --------------------------------------------------------------------

      05-16 12:58:51.814  1048  1048 I wpa_supplicant: Successfully initialized wpa_supplicant

       

      rfkill errror : rfkill unlock all required ? then below issue resolved?

      05-16 12:58:51.979  1048  1048 I wpa_supplicant: rfkill: Cannot open RFKILL control device

      05-16 12:58:52.030  1048  1048 I wpa_supplicant: rfkill: Cannot get wiphy information

       

      After that wifi HAL error comes

      05-16 12:58:52.086   128   128 E WifiHAL : Failed to register debug response; result = -23 --> Debug_command in WiFI Hal start request response failed ..libnl issue ? because call nl_sock_send_msg.  i have checking send_msg path ?

       

      05-16 12:58:52.088   128   128 D WifiHAL : createRequest Monitor packet fate request

      05-16 12:58:52.088   128   128 E WifiHAL : Failed to register get pkt fate response; result = -95