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.

wl1271: ERROR sdio write/read failed (-110)

Other Parts Discussed in Thread: OMAP-L138, WL1271

Hi

I am using OMAP-L138 LOGICPD evaluation board with WL1271 based WLAN.

When i run the "calibrator dev wlan0 plt get_rx_statcs" command, it is giving many errors as follows and then crashing.

wl1271: ERROR sdio write failed (-110)

wl1271: ERROR sdio read failed (-110)

The wlan0 interface modules are loaded successfully, its functionality is ok.

but when i try to use calibrator to get statistics and set channel etc, it is giving the error. I am putting the wlan0 interface down when i run calibrator.

These errors are getting when i use "calibrator dev wlan0 plt get_rx_statcs" and " calibrator dev wlan0 plt tune_channel <band> <channel>"

But when i use "calibrator dev wlan0 plt power_mode on/off", it works fine.

Please help me to resolve this issue.

  • Hi Kolusu,

    What is the wl1271 driver version you are using? And can you please provide a complete log of what you did and what the console shows?
    If you follow the instruction on this page (http://linuxwireless.org/en/users/Drivers/wl12xx/calibrator#wl12xx_Calibration), your calibration should work fine.

  • Hi Victor,

    Thank you very much for your prompt response.

    I have found where is the problem. The problem is due to executing the command "calibrator wlan0 plt tune_channel 0 1" without executing the "calibrator wlan0 plt power_mode on" command.

    This problem is resolved now.

    but now another problem i observed that calibrator is keep waiting sometimes after executing the command. For example if i try to set the channel number second time, calibrator is not comming out of the flow. This behaviour is observed not only setting the channel number but also in other scenarios, like executing the  "calibrator wlan0 plt power_mode off" after executing the command "calibrator wlan0 plt power_mode on"

    please look at the following log for your reference.

    root@arago:/# modprobe wl1271
    root@arago:/# modprobe wl1271_sdio
    root@arago:/# calibrator wlan0 plt power_mode on
    root@arago:/# calibrator wlan0 plt tune_channel 0 11

     root@arago:/# calibrator wlan0 plt tune_channel 0 1

     ********CALIBRATOR IS WAITING HERE -------------------------- ******************************

    Please let me know  why the calibratror is behaving like this (keep waiting)? is there any specific flow of commands to be run..

    Thanks in advance.

  • Hi Kolusu,

    May I know which driver version you are using so I can reproduce the issue? I tried these commands with driver ver ol_R5.SP3.06, but I got some firmware error recovery messages instead of your "CALIBRATOR IS WAITING HERE." If you get the recovery error message like I have, then try to follow the instruction in this forum thread (http://e2e.ti.com/support/low_power_rf/f/307/p/241196/846032.aspx#846032, 4th post) because this is a known issue.

    Let me know if you have anymore issues.

  • Hi Victor,

    Thank you very much for your prompt response.

    Sorry, i fogot to mention the driver version in my previous post.

    Log shows the firmware version as "wl1271: firmware booted (Rev 6.1.0.50.350)".

    I could not find the driver version. could you please let me know where can i get the driver version from?

    and another issue is , how to get the current values of tx_power/channel/data rate etc of the module using calibrator?

    Thanks in advance.

     

     

  • Hi Kolusu,

    When you boot up the board, you should see a message like this: [   10.218292] wl12xx: driver version: ol_R5.SP3.06

    I'm not sure what you mean in your second question. You should know what you just configured, right? If you are asking about how to configure TX using calibrator, here's the info: http://processors.wiki.ti.com/index.php/WL127x_TX_Testing