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.

Adjusting Output power levels with the WL127x

Other Parts Discussed in Thread: WL1271, OMAP-L138, OMAP3503

I have a customer that is using a LogicPD SOM (SOM-LV) newer revision that uses the WL1271. They are trying to adjust the output power to from the WL1271 radio, but can't figure out HOW to do that.

Can someone elighten us on the IOCTL (Linux) call that will give us the ability to do this?

BTW, they are using the wl1271 driver is included in the compat-wireless 2.6.35-1 package. The header files indicate contain copyright notices from 1998-2009 from Texas Instruments and 2008-2009 from Nokia. The files all contain GPL v2 notifications.  

 http://linuxwireless.org/en/users/Download/stable/#Older_stable_releases

 

  • hello,

    Additional data - this is WL1271 connected to OMAP-L138.

    Pls let us know if there's an API to modulate WLAN o/p power from the WL1271.

    Thanks, Alan

  • Actually, Alan, this is an OMAP3503 connected to the WL1271.  The SOM-LV is OMAP3503 based.

    The OMAP-L138 is on a different board.  :-)

  • Hi,

    Open source wlan driver (mac802.11) using IW commands to control the driver.

    with IW command and please access  http://linuxwireless.org/en/users/Documentation/iw to get more information.

    You can set the txpower by using either the device interface name of the respective phy.

    iw dev <devname> set txpower <auto|fixed|limit> [<tx power in mBm>]

    iw phy <phyname> set txpower <auto|fixed|limit> [<tx power in mBm>]

    Regards,

    Eyal

     

  • Additional info. Customer has a solid relationship with MontaVista, and they have engaged with MontaVista to integrate the wireless dirvers and libraries into their current OMAP3503 bsp. They are running Kernel 2.6.29.

    Latest from the customer:

     

    The MontaVista Linux distribution does not appear to contain support for generic netlink (libnl, libnl-genl) and therefore does not include support for iw. In order to get iw for this system I will need to obtain source, configure, cross-compile, install and test the libnl, libnl-dev, and pkgconfig libraries.

     

    I have been working on getting the libnl-2.0 library to compile for a little over a week and have not yet obtained a successful build against our kernel sources. The documentation for the iw source suggests that only libnl-1 is needed. I was able to obtain and compile the source code for libnl-1 but it does not work (test-genl fails) when loaded on the target.

     

    I have not yet attempted the build for iw since without the libnl working the iw tool will obviously not work.

    Any help you can offer would be appreciated.

  • Hi,

    In that case, there is no straight API to perform it, i guess the best way is to go down the IW command and see how it reflect the mac802.11 driver and to access that API with different application.

    Regards,

    Eyal