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: WL2171, WPA2 PATCH issue

Tool/software: Linux

hi,

Right now we are using the following things in our product

 

Linux version 3.2.0-svn978

Compat-wireless backport release: ol_R5.SP4.01

Backport based on wl12xx.git ol_R5.SP4.01-2-g1aa2c8e

cfg80211: Calling CRDA to update world regulatory domain

wl12xx: driver version: ol_R5.SP4.01-2-g1aa2c8e

wl12xx: compilation time: Thu Oct 12 15:17:07 2017

wl12xx: loaded

wl12xx: state: 0

wl12xx: firmware booted (Rev 6.3.10.0.136)

 

we would like to know  the released version details like

 

  •  Compatibility with 3.2 kernel  
  •  Delta part compared to our version , change logs if any
  •  Any Firmware change is required ?
  •  Re certification is required or not ?

 

Thanks & Regards

Raghu Ramaraj

  • Hi,

    The WPA2 fix has been done on top of our latest release only which was R5 SP8.
    Both this fixes has been pushed into a new release (R5 SP9).

    The fix is compose of a changes to the firmware file (new one is Rev 7.3.10.0.142) and also patches on top of the wpa_supplicant.
    So the changes are not to the kernel drivers, but as it doesn't seem like you are using our latest service pack I am not sure if just replacing the firmware/supplicant in your build is going to work.
    So basically you need to try and take the latest firmware and supplicant from the new release and see if they work with the drivers you are now using.
    If they don't you will probably have no alternative other then upgrading your product to a newer release.

    Best Regards,
    Eyal
  • Hi Eyal,

    Thanks for your update ,

    It would be good if you share the following details

    1) could you share the delta part between Rev 6.3.10.0.136 & Rev 7.3.10.0.142
    2)Re certification is required or not ?
    3)Compatibility with 3.2 kernel
    4) Any other LIB dependency if i cross compile for my 3.2 kernel

    Moreover i tried to download the latest one from "https://git.ti.com/wl12xx/" . but failed to clone .. could you also share the download process/git setup process from ubuntu ?

    Thanks & Regars
    Raghu Ramaraj
  • 1. There is no delta description between 6.3.10.0.136 & Rev 7.3.10.0.142 as there are multiple releases in between.

    You can follow the release notes of all the versions that were release in between.
    For R5_SP8 that this fix is on top you can find it in:
    processors.wiki.ti.com/.../WL127x_Software_Releases
    gforge.ti.com/.../WL12xx_R5_SP8_Release_Notes.pdf

    2. In theory re certification may be needed between any firmware upgrade but since no RF changes have been made between 6.3.10.0.136 and 6.3.10.0.142, re certification is probably not needed.

    3. There is a good chance that you can just take the latest firmware (6.3.10.0.42) and the latest supplicant and stay with your current kernel/drivers. It looks like no driver API changes have been made so you may be saved from doing this driver porting work. I suggest you try it out and let's hope it works.

    Best Regards,
    Eyal
  • Hi Eyal,

    Based on your input , i tried to download the latest one from "https://git.ti.com/wl12xx/" . but failed to clone ..

    could you share the download process/git setup process from ubuntu ?

    Thanks & Regards
    Raghu Ramaraj
  • Hi Rafghu,

    For firmware:
    git://git.ti.com/wl12xx/ti-utils.git
    using the "ol_R5.SP9.01" tag.
    Firmware files are under:
    git.ti.com/.../ol_R5.SP9.01

    For wpa_supplicant:
    git://git.ti.com/wl12xx/hostap.git
    using the "ol_R5.SP9.01" tag.
    or
    git.ti.com/.../ol_R5.SP9.01

    Best Regards,
    Eyal
  • Hi Eyal,

    Thanks for your response

    I will try based on your input

    "
    3. There is a good chance that you can just take the latest firmware (6.3.10.0.42) and the latest supplicant and stay with your current kernel/drivers. It looks like no driver API changes have been made so you may be saved from doing this driver porting work. I suggest you try it out and let's hope it works.

    "

    what is current the firmware version number ? Got diffrent num from your previous post ( 6.3.10.0.42/7.3.10.0.142/6.3.10.0.142 )

    Tried with hostapd clone & Compile .. got the following error

    /mygitdir/build-utilites$ ./wl12xx_build.sh hostapd build
    Checking python...OK
    Checking python-m2crypto...OK
    Checking bash...OK
    Checking bison...OK
    Checking flex...OK
    Checking perl...OK
    Checking bc...OK
    Checking corkscrew...OK
    Cloning into 'hostap'...
    remote: Counting objects: 39317, done.
    remote: Compressing objects: 100% (14318/14318), done.
    remote: Total 39317 (delta 24945), reused 39234 (delta 24870)
    Receiving objects: 100% (39317/39317), 44.55 MiB | 232 KiB/s, done.
    Resolving deltas: 100% (24945/24945), done.
    git hostap cloned.
    HEAD is now at 7190ff7 P2P: wait on GO negotiation confirm
    ./wl12xx_build.sh: line 837: cd: ./hostap: No such file or directory
    ./wl12xx_build.sh: line 468: cd: ./hostap/hostapd: No such file or directory
    make: *** No rule to make target `clean'. Stop.

    Regards
    Raghu Ramaraj
  • Hi Rafgu,

    Firmware version seems ok. it should be 7.3.10.0.142 (wilink7) or 6.3.10.0.142(wilink6).
    Regarding hostapd, the commit in your log doesn't seem like the latest:
    It should have been:
    git.ti.com/.../ol_R5.SP9.01

    which is:
    git.ti.com/.../4f3adaf26ee73e58edf723db47477cca3a8477d0

    Are you checking out the correct commit?
    In addition, is your build script environment setup correctly? Seems like it is not finding the hostap source directory.

    BR,
    Eyal
  • Hi Eyal,

    For firmware , i got the clarity and am direclty replacing the firmware from 6.3.10.0.136 to 6.3.10.0.142 ..

    Right now i am using the "wl12xx_build.sh" script to download. i am not sure its updated properly

    From .....the "wl12xx_build.sh " ,

    1) its referring ol_R5.SP8.01 .. but you are asking me use "ol_R5.SP9.01" Do i need to replace?
    2) This web "linuxwireless.org/.../crda-1.1.1.tar.bz2" is not reachable ( got error like from browser...Server error - server 5.9.151.49 is unreachable at this moment.)
    3) I have compiled hostapd . but its not showing any ssid name ... Is there any dependent lib also needed to update ?


    #!/bin/bash
    2
    3
    declare -A gen_tag="ol_R5.SP8.01"
    4
    #### R5 SP8.01
    5
    declare -A wl12xx_download_target="git://git.ti.com/wl12xx/wl12xx.git"




    function crda ()
    111
    {
    112
    stage=$1
    113
    if [ x"$stage" = "xdownload" -o x"$stage" = "xall" ]
    114
    then
    115
    download "linuxwireless.org/.../crda-1.1.1.tar.bz2" "crda-1.1.1.tar.bz2"
    116
    download "linuxwireless.org/.../2011.04.28-regulatory.bin" "2011.04.28-regulatory.bin"


    Regards
    Raghu Ramaraj
  • I am also working on this (wl12xx_build.sh firmware install). Seems need to chang "ol_R5.SP8.01" to "ol_R5.SP9.01" in wl12xx_build.sh, even i specified to ol_R5.SP9.01 in setup-env. Otherwise, the downloaded are still old firmware files.
  • Correct,

    wl12xx_build.sh need to be modified for using the latest tag.

    BR,

    Eyal