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

Other Parts Discussed in Thread: WL1271

Tool/software: Linux

Hi ,

we got a field issue like TCP pocket is delayed while receiving randomly  .The transmission log shows it is sent . we are seeing this issue after up-gradation of  wl127x  stack to fix the KRACK issue .

Please let us know anything notices  and also share the latency test report between Transmit & Receiver over TCP  

Logs:

Compat-wireless backport release: ol_R5.SP8.01
Backport based on wl12xx.git ol_R5.SP8.01
cfg80211: Calling CRDA to update world regulatory domain
wl12xx: driver version: ol_R5.SP8.01
wl12xx: compilation time: Thu Feb 22 17:48:19 2018
wl12xx: loaded
wl12xx: state: 0
wl12xx: firmware booted (Rev 6.3.10.0.142)

Thanks & Regards

Raghu Ramaraj

  • Raghu,
    The issue described is not clear - can you pls elaborate on the issue with more details, logs etc.

    Saurabh
  • Hi,
    We are closing this thread since there has been no response for last 1 week. Please open a new thread in case you have any further queries.

    Thanks
    Saurabh
  • Hi ,
    we were using the Wl1271 chip set along with Am335x ... we are sending TCP pockets (3k bytes ) at every 200 ms interval and receiving the data within 250 ms,with out any issue from pc ... .

    But recently we applied the patch due to KRACH issue and getting the delayed data (400-800 ms) from PC



    Earlier environment :

    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)




    Currently we are using the following driver setup due to KRACH patch

    Compat-wireless backport release: ol_R5.SP8.01
    Backport based on wl12xx.git ol_R5.SP8.01
    cfg80211: Calling CRDA to update world regulatory domain
    wl12xx: driver version: ol_R5.SP8.01
    wl12xx: compilation time: Thu Feb 22 17:48:19 2018
    wl12xx: loaded
    wl12xx: state: 0
    wl12xx: firmware booted (Rev 6.3.10.0.142)


    please help us to resolve this issue... Both case test bench is same ....

    Regards
    Raghu Ramaraj
  • Hello Raghu,

    The KRACK fix adds several checks on the FW level and some on the WPA_Supplicant layer.
    On the FW level the change is in broadcast packets - so if that's not the case then it might be caused by the WPA_Supplicant changes.

    Concerning these we have less control as these were added by the Linux community.

    Can you please send us FW logs and Driver logs so we can take a deeper look into it.

    BR,
    Chen Loewy
  • Hi Chen ,

    Please guide me how to take the takes from driver & FW .... And also share any standard test bench for sender/receiver . so that , we can be in sync ...

    Regards
    Raghu Ramaraj
  • Any update on this ? Please guide me how to take the takes from driver & FW .... And also share any standard test bench for sender/receiver
  • Hi ,
    Please open a new thread with logs when you have them available. Pls share working / non-working logs when available.

    Thanks
    Saurabh
  • Hi ,

    I will share the logs once its  ready .... Meanwhile it would be great if share info regarding ... , how to reduce the wlan -TCP receive latency and improve the throughput ?

    Thanks & Regards

    Raghu Ramaraj

  • Hi Raghu,
    From WiFi standpoint, multiple factors can govern throughput :
    - Quality of air . More APs in and around the band your AP is on can affect TP since all devices will fight for air and there could more packet re-transmissions etc.
    - Ensure your AP supports 11n . Packet aggregation is important for better TP
    -Ensure your DUT is transmitting at intended power etc. For this you will need a spectrum analyzer etc.
    - Host CPU speed , SDIO bus speed

    From TCP standpoint make sure window size is set correctly. Since we don't control TCP/UDP layers, I won't be able to comment much on that.

    Thanks
    Saurabh
  • Hi Saurabh,

    I just tried to enable 11n mode in wl127x  from hopstapd config file ...

    interface=wlan0
    driver=nl80211
    ssid=Aapmode_f00180
    hw_mode=n
    #ieee80211n=1
    wmm_enabled=1
    channel=8
    macaddr_acl=0
    auth_algs=1
    ignore_broadcast_ssid=0
    wpa=3
    wpa_passphrase=0123456789
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=TKIP
    rsn_pairwise=CCMP
    bssid=00:09:fb:f0:01:80

    But it was giving error .. please confirm & is there anything  am i missing here ?

    Regards

    Raghu Ramaraj

  • What is the error message, you are getting?

    Thanks
  • Closing the thread as there is no activity.. Please, issue a new ticket, with details..

    Thanks