element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum RT3070 wireless adapter adjust tx power??
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 27 replies
  • Subscribers 709 subscribers
  • Views 8442 views
  • Users 0 members are here
Related

RT3070 wireless adapter adjust tx power??

wallarug
wallarug over 13 years ago

I seem to be unable to adjust the tx power above 20dbm.  I have tried: 'iwconfig wlan0 txpower 22' but this does not change the txpower.

 

I have also disabled the power-management.

 

The adapter claims that it can hit 5800mW of power which aquates to about 37dBm.

 

Does anyone know how I can get the txpower up? (I can put it down, just not up)

 

root@raspberrypi:~# lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.

Bus 001 Device 004: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

root@raspberrypi:~# iwconfig wlan0 txpower 30

Error for wireless request "Set Tx Power" (8B26) :

    SET failed on device wlan0 ; Invalid argument.

root@raspberrypi:~#

  • Sign in to reply
  • Cancel
  • mcb1
    mcb1 over 13 years ago in reply to M0DCD

    Cian

    I think you should be able to work out that the manufacturer is not using english as a first language.

    The descriptions are gramatically incorrect for a start.

     

    Your calculations are based on solid reasoning , but the fact still remains that it has to be two way, so even if you were pumping 10kw out, the link wouldn't work.

    just a minor note though ..

     

    The next set of results are using some facts:

      i.  Most networks I can pickup have a rx sensitity between -53 to -79 dBm.  So lets pick a number in between: -71

      ii.  RX antenna - most corperate networks do not have 2dBm antenna gain  So I will say about 0.5 dBm for internal gain and such.

     

    i      this is the Received signal strength at YOUR end.

    II      See below. 3dBi gain isn't unreasonable. You are mixing terms. (dBm which is a measure of power, and gain which is in dB.)

     

     

    The NZ Radio Spectrum Services has some info about maximum radiated (that includes antenna gain) at

    http://www.rsm.govt.nz/cms/licensees/types-of-licence/general-user-licences/short-range-devices

    I'm picking that the Australian equivalent is similar.

     

     

    If you are interested in getting signal from a site, then you should be able to use a suitable device and directional antenna (Antenna gain is compared to a dipole radiating 360deg, and while you can get some gain from the design, its generally because its directional).

     

    My setup uses a 800mW Ubquiti Bullet

    http://www.gowifi.co.nz/wisp-client-radios/ubiquiti-bullet2hp-802.11b/g-800mw-outdoor-ap/bridge.html

     

    24dBi Grid pack antenna

    http://www.gowifi.co.nz/antennas/2.4-ghz/directional/2.4-ghz-24-dbi-die-cast-wireless-grid-antenna.html

     

    The range to the site is 32km, and the Rx signal (at this end) is currently -64dBm (but drops to -74 if the hedge grows).

    The site survey sees a few others, with a noise floor of -97dBm.

    I think -81dBm Rx is a little low, and its quite feasible for the 'site' to use an antenna with 3dB gain. (3dBi)

     

    Obviously with any frequency above about 50MHz its line of site, ie you need to see it.

    2.4 GHz and lower will tend to bounce around off hard surfaces, but they don't really follow the earths curvature, so its approx 11mile (17km), unless you have some elevation.

    Buildings and other materials will attenuate the signal, so careful placement is important.

     

    regarding the USB.

    5v at 500mA gives 2.5 watts.

    I note a 500mW (27dBm) devices with 5dBi antenna is available as a USB device.

     

     

    I think as Shabaz has indicated, that the 5800mW is the eirp (Effective Isotropic Radiated Power) ie the equivalent power required if you had a dipole...

     

    I seem to recall some similar claims about audio power. The marketing department invented this peak power measurement, which of course is a mathmatically anomoly.

    It made the speakers and amplifiers look great though.

     

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to mcb1

    So I guess that the end of the story is this:

     

    DO NOT PUT 5800mW into the adapter!!!!  It Will Explode (or therabouts)!!!

     

    Should I try it?  I know how to get rid of the software limits.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to mcb1

    Hi Mike.

     

    I have looked into EIRP and dicovered this:

     

    http://en.wikipedia.org/wiki/Equivalent_isotropically_radiated_power

     

    If you use the formula on the top of the page:  answer = P - L + G

     

    If:

          Power (P) = 1000mW (30dBm)

         Loss (L)  = 1 dBm

         Gain (G) = 21 dBi

     

    Then you end up with 58dBm total power.

     

    Now what does the 5800mW (37.635dBm) relate to?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mcb1
    mcb1 over 13 years ago in reply to wallarug

    Cain

     

    Common myth.

    Power is consumed or used, not put in.

    Bit like a loaded trailer on a car, it requires x amount of power to move it.

    if you stick a 1000Hp car on the front the trailer still requires the same power to move it.

     

     

    However they derived the figures it doesn't really matter.

    Is the device working for you.?

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to mcb1

    It works great!  I was just interested in the accual power usage.

     

    Thanks for all help!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 13 years ago

    YOU ARE GETTING THE ERROR BECAUSE YOUR COUNTRY SETTING ONLY ALLOW TXPOWER TO BE SET AT THAT LEVEL TO CHANGE TXPOWER YOU NEEED TODO AS FOLLOWS  iw reg set BO ..this change your setting to country Bolivia which allows higher txpower trannsmission .next do iwconfig wlan0 txpower 30 ..then iwconfig wlan0 now you should see that txpower is 30 dbm ..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to e14 Contributor

    zero dark wrote:

     

    YOU ARE GETTING THE ERROR BECAUSE YOUR COUNTRY SETTING ONLY ALLOW TXPOWER TO BE SET AT THAT LEVEL TO CHANGE TXPOWER YOU NEEED TODO AS FOLLOWS  iw reg set BO ..this change your setting to country Bolivia which allows higher txpower trannsmission .next do iwconfig wlan0 txpower 30 ..then iwconfig wlan0 now you should see that txpower is 30 dbm ..

    If you read the rest of the topic, you would understand that I have established this ages ago.  Please (as I can see you are new here) remember to read the whole topic before posting a reply in capital letters.

     

    Last message:

    From wallarug:

     

    It works great!  I was just interested in the accual power usage.

     

    Thanks for all help!

     

    Thank you for your reply anyway.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube