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.

Retry limit on the wl1271/1273

Other Parts Discussed in Thread: WL1271

I am trying to set the retry limit on the wl1271 using the iwconfig

         iwconfig eth0 retry 1

But the command does not seem to have an effect

If I observe the transmissions with a power detector,  it looks like the wl1271 is trying to re-transmit the same packet 9 or 10 times

if the channel is degraded (running at 11b it seem to decrease the TX rate twice to try to get the packet through )

Has someone observed similar behaviour?

Does the re-try limit work with the wl1271 ?

Bernard

  • Hi Bernard,

    If you are trying to change parameters on the wireless lan interface you should use the following command format: 

    iwconfig wlan0 xxxxx  yyyyy

    Specifically for the WL1271, the retry command is not supported from the iwconfig.

    Which driver are you using? try to look at the driver configuration file for short / long retries configuration.

    Regarding the  9/10 packet re transmissions it is exactly what is expected to be the behavior of the wlan chip. In addition to the re transmissions there is also a rate fall-back to try and send the frame in lower MCS rates (phy rates) - this improves the chances the packet will be received by the other device.

    Regards,

    Barak

  • Yes you are correct,  I meant to say wlan0 not eth0

    You say that the command does not work but you also say to look at the driver configuration

       is the retry limit hard-coded in the driver and I could edit / re-compile to change it?

    The driver version from the files I got seem to be compat-wireless (corresponding to 2.6.39)  with kernel 2.6.37

    thanks

    Bernard

  • Hi Bernard,

    The values for the retry are not hard-coded but can be changed in the driver configuration file.

    This will allow you to change the values without re-compiling the driver. However you will need to reboot the device (reload the driver).

    Regards,

    Barak

  • By configuration file you mean the NVS file ?

    or something else?

    thanks

    Bernard

  • No, you should look for an 'ini' file (the original name is ti_wlan1273.ini).

    In this file you will find the following parameters:

    RatePolicyUserShortRetryLimit = 10
    RatePolicyUserLongRetryLimit = 10

    You can change them to fit your application.

    Regards,

    Barak