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.

WL1837MOD: Wilink8 5 GHz Diversity Testing Tx Antenna Selection

Part Number: WL1837MOD

I am trying to do Tx testing with 5 GHz as outlined in processors.wiki.ti.com/.../WL18xx_TX_Testing

Below are details of the platform that I am using

  • Host platform (Sitara EVM, BeagleBone, etc.)
    • Freescale IMX6 based expansion board with integrated Wilink8

  • Operating system (Linux, Android, etc.)
    • Linux
  •  WiLink™ flavor (WL1837MOD, etc.)
    • WL1837MOD
  •  Module vendor, if any (TI, Jorjin, Murata, etc.)
    • TI
  •  WiLink™ firmware version (click here for more information)
    •  FRev 8.9.0.0.70
      FRev 8.2.0.0.237
      119381,46,release.c,PrintRevision,0|Firmware Revision (FRev) Rev 8.9.0.0.70

The commands are:

/usr/bin/calibrator wlan0 plt power_mode on

/usr/bin/calibrator wlan0 wl18xx_plt tune_channel 165 1 0
/usr/bin/calibrator wlan0 wl18xx_plt set_tx_power 15000 0 1 165 0 2 0 0 0 0 0 0
/usr/bin/calibrator wlan0 wl18xx_plt start_tx  200000 11 1024 0 0 0 0 0 00:11:22:33:44:55 55:44:33:22:11:00 0

I do not get any transmissions with the above commands. The 802.11 sniffer draws a blank.Note that the antenna is selected as antenna #2. If I use antenna #1 with the following command:

/usr/bin/calibrator wlan0 wl18xx_plt set_tx_power 15000 0 1 165 0 1 0 0 0 0 0 0

with all other commands being same I get transmissions as expected. So the issue is when selecting antenna #2 for Tx testing.

Is there anything else that needs to be configured apart from the above to get the antenna #2 to work for Tx testing?

  • Hi ,
    We have assigned your query to WiFi expert. We will get back to you shortly.

    Thanks
    Saurabh
  • Hi,
    Can you please refer to the following wiki page?:

    processors.wiki.ti.com/.../WL18xx_Testing_Misc_Commands

    This should have the missing info you are looking for.

    Best Regards,
    Eyal
  • Hi Eyal,

    Thanks for the link. I tried the commands in the link but found that it doesn't transmit even on antenna 1. Below are the commands used:

    calibrator wlan0 plt power_mode on
    calibrator wlan0 wl18xx_plt set_antenna_mode_5G 1 1 0 1
    calibrator wlan0 wl18xx_plt tune_channel 132 1 1
    calibrator wlan0 wl18xx_plt set_tx_power 20000 0 1 132 0 0 0 1 0 0 0 0 
    calibrator wlan0 wl18xx_plt start_tx 400 19 3000 0 0 0 0 0 00:11:22:33:44:55 01:02:03:04:05:06 0

    It is the same as the commands in the link, except that channel 44 is replaced with 132 as 44 was very noisy.

    I also tried doing calibrator wlan0 wl18xx_plt set_antenna_diversity_5G 1 just before the start_tx command but that doesn't help either.

    Is there anything in the ini file or some other configuration that I could be missing?

    Thanks,

    Cibu

  • Can you try channel 132 or channel 136 instead?

    Best Regards,

    Eyal

  • Hi Eyal,

    I have tried both 132 and 136. The results are the same. There are no errors but nothing is captured by the packet analyzer.

    Thanks,

    Cibu

  • Hi,

     

    Ifor using the second 5GHz antenna you need to use:

     

    Examples

    The following set antenna diversity example set to work on the main antenna:

    calibrator wlan0 wl18xx_plt set_antenna_diversity_5G 1

    The following set antenna diversity example set to work on the secondary antenna:

    calibrator wlan0 wl18xx_plt set_antenna_diversity_5G 0

    before the TX commands.

    Did you do this? I didn't see it in your capture above.

    Also make sure that you have used configure-device.sh script and selected  the right flavor of device and enabled the diversity by picking 2 5GHZ antennas.

    Best Regards,

    Eyal

  • Hi Eyal,

    Below are the commands that I used:

    calibrator wlan0 plt power_mode on
    calibrator wlan0 wl18xx_plt set_antenna_mode_5G 1 1 0 1
    calibrator wlan0 wl18xx_plt tune_channel 132 1 1

    calibrator wlan0 wl18xx_plt set_antenna_diversity_5G 0
    calibrator wlan0 wl18xx_plt set_tx_power 20000 0 1 132 0 0 0 1 0 0 0 0
    calibrator wlan0 wl18xx_plt start_tx 400 19 3000 0 0 0 0 0 00:11:22:33:44:55 01:02:03:04:05:06 0

    Below are the settings from the wl18xx-conf.bin:

    wl18xx.phy.number_of_assembled_ant2_4 = 0x02
    wl18xx.phy.number_of_assembled_ant5 = 0x02

    wl18xx.ht.mode = 0x01

    wl18xx.phy.low_band_component = 0x02

    wl18xx.phy.board_type = 0x04

    Also attached is the wl18xx-conf.bin that I am using (I changed the extension to ini so that it can be uploaded but it is actually .bin file). I have had no luck in getting the calibrator tool to transmit using the secondary antenna.

    Thanks,

    Cibuwl18xx-conf.bin.ini

  • Hi Cibu,

    To make sure the issue is not related to using a DFS channel, can you try channel 36 and see if you get transmission?

    Best Regards,

    Eyal

  • Hi Eyal,

    I changed the channel to 36 but the results are the same.

    Thanks,

    Cibu