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.

Linux/WL1831MOD: wifi certification Wi-Fi_Direct_Interoperability_Test_Plan_v1.1 6.1.10 failed

Part Number: WL1831MOD

Tool/software: Linux

Hi,

  We are certificating our car Head Unit product with wl1831MOD.It's failed  in direct case 6.1.10.

Our platform is imx6dl,linux4.1.15.The wifi driver is get from linux 4.1.15 kernel source code.

log of loading wifi driver:

wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 3865.260373] wlcore: loaded
[ 3865.727480] wlcore: PHY firmware version: Rev 8.2.0.0.237
[ 3865.774754] wlcore: firmware booted (Rev 8.9.0.0.70)

************************************************************************************************************

I have add some log in wpa_supplicant,and try as follow:

1 set Head Unit(our product with TI WL1831MOD called A) as auto Go

2 smart phone Nexus 6p connect to Head Unit

3 Another Head Unit  (called B) with broadcom wifi module witch have  certificated connect to smart phone by p2p_connect

4 Connect failed and B will send Device Discoverability Request to A.

5 The log in wpa_supplicant function:wpa_supplicant_event  p2p_rx_p2p_action shows that wpa_supplicant didn't receive any Action frame p2p Device Discoverability Reponse.

So I think It's bug of driver or firmware.

Please help me to fix this bug,Thank you very much.

 

 

  

  • Hi,

    This query has been assigned to a relevant expert. We will get back to you shortly.

    Best regards,
    Vihang
  • Hi,

    It seems like you are using the built in wl18xx drivers from the Linux 4.1.15 kernel with our latest firmware (Rev 8.9.0.0.70)?
    This firmware is coming form our latest release (R8.7_SP1)

    You should also use our latest drivers (From the R8.7_SP1) release and not the ones in the 4.1 kernel which are not the latest.
    Please refer to the following wiki for build our R8.7_SP1 release with your kernel.

    processors.wiki.ti.com/.../WL18xx_System_Build_Scripts

    BR,
    Eyal
  • Hi, 

      Thanks for replay.Could you please provided us firmware suit for 4.1.15 wifi driver?We don't want to change driver at this point.And Could you please tell us this version driver build in 4.1.15 kernel can pass 6.1.10 wifi certiofication?Thank you.

    Best regards

  • Hi,

    Sorry, it not possible for us to commit to the quality of the drivers that are part of mainline 4.1 as we are not testing mainline kernels in our system test.
    Our system test is done on specific versions that we know exactly the content of them.
    If you were using latest mainline (v4.9) for example you would have been in a better position as most of the patches from our latest release has been accepted upstream in v4.9

    I see no other option other then moving to our latest drivers and then if you still have issues we can support you.

    Best Regards,
    Eyal
  • Hi,

      We want to update driver,before that I want to ask several questions:

      1、Which one is stable R8.6_SP1 or R8.7_SP1?

      2、As you known our kernel is 4.1.15 so is it will build wifi driver in compat wireless in the path: build-utilites/src/compat_wireless 

            but not in the path build-utilites/src/driver/drivers/net/wireless/ti, Am I right?

      3、I have already proted R8.7 SP1 in our kernel,here is the log when install driver:

                  Backport generated by backports.git R8.7_SP1-0-gd4777ef   // compat.ko

                  wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
                  wlcore: loaded
                  wlcore: driver version: ol_r8.a9.22

                  wlcore: PHY firmware version: Rev 8.2.0.0.237

                  wlcore: firmware booted (Rev 8.9.0.0.70)

                 I want to know if the firmware(wl1271-nvs.bin wl18xx-fw-4.bin) and driver is matched each other?

     

               

  • Hi,

    R8.7_SP1 is indeed the latest release. You are using the correct label.

    You are also correct that when using the build script all the build sources that are being prepared inside:
    build-utilites/src/compat_wireless/

    After the build is completed, all the output files are generated under:
    build-utilites/fs/...

    And there is also a tar file containing the content of the build-utilites/fs direcory, including the built modules (.ko), firmware, supplicant, etc.
    This tar file (fs_skeleton.tbz2) is created under build-utilites/outputs amd you can extract it into your target file system.

    and yes, Firmware 8.9.0.0.70 is the latest firmware matching R8.7_SP1 so it seems like you are using the correct one.

    Best Regards,
    Eyal
  • Hi,
    I understand thank you.One more question,I found that version R8.6_SP1 and R8.7_SP1 build-utilites/src/compat_wireless git log is same:
    commit b8e1720d9f98f04689f23556f66907a0031e9047
    Author: White <d-white@ti.com>
    Date: Wed Mar 29 14:44:07 2017 -0500

    Updated the beaglebone cape patch files

    This means R8.6_SP1 and R8.7_SP1 wifi driver is same.Am I right?
  • I got this information from flairmicro,the element MAC firmware version is not match with what I got  from TI(8.9.0.0.70),which is right?

  • tag in compat_wireless:
    ol_r8.a7.01
    ol_r8.a7.02
    ol_r8.a8.01
    ol_r8.a9.01
    ol_r8.a9.01_32
    ol_r8.a9.02
    ol_r8.a9.02_32
    ol_r8.a9.03_32
    ol_r8.a9.04
    ol_r8.a9.04_32
    ol_r8.a9.05
    ol_r8.a9.06
    ol_r8.a9.07
    ol_r8.a9.08
    ol_r8.a9.09
    ol_r8.a9.10
    ol_r8.a9.11
    ol_r8.a9.12
    ol_r8.a9.13
    ol_r8.a9.14
    ol_r8.a9.15
    ol_r8.a9.17

    which one is R8.6_SP1 which one is R8.7_SP1?
  • build-utilites/src/compat_wireless is an artifact generated by the build script.

    The source files come from build-utilites/src/driver and the are pulled into the compat_wireless directory as part of the backports process.

    So the labels inside this directory are not relevant.

    Please use the build script with the R8.7_SP1 as the label given.

    BR,

    Eyal