Bug 9146 - (int-158528) iwconfig reports non-zero transmit power when interface is powered down
(int-158528)
: iwconfig reports non-zero transmit power when interface is powered down
Status: NEW
Product: Connectivity
WiFi
: 5.0/(3.2010.02-8)
: N900 Maemo
: Unspecified normal with 6 votes (vote)
: ---
Assigned To: unassigned
: wifi-bugs
:
:
:
:
  Show dependency tree
 
Reported: 2010-02-19 00:59 UTC by Jon
Modified: 2010-03-02 09:18 UTC (History)
6 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Jon (reporter) 2010-02-19 00:59:40 UTC
SOFTWARE VERSION:
(Settings > General > About product)
3.2010.02-8.002

EXACT STEPS LEADING TO PROBLEM: 
(Explain in detail what you do (e.g. tap on OK) and what you see (e.g. message
Connection Failed appears))
1. Turn the phone on
2. Run "/sbin/iwconfig" in termimal - shows Tx=Power=0 dBm in wlan0 section
(iwconfig is in wireless-tools package)
3. Tap on status area and then tap 'Internet connection' button. A list of
access points is presented.
4. Don't select any (tap outside "Select connection" area to cancel)
5. Run "/sbin/iwconfig" in termimal - shows Tx-Power=20 dBm in wlan0 section
6. Press the power button on phone and select "Offline mode"
7. Run "/sbin/iwconfig" in termimal - still shows Tx-Power=20 dBm in wlan0
section

EXPECTED OUTCOME:
Wireless radio should be disabled. Running "/sbin/iwconfig" should show
Tx-Power=off (this happens when I enable a wifi kill switch or running "sudo
rfkill block 0" on a laptop)

ACTUAL OUTCOME:
Wifi radio appears to be still transmitting signals from the interpretation of 
/sbin/iwconfig showing Tx-Power=(some number) dBm instead if Tx-Power=off.

REPRODUCIBILITY:
always

EXTRA SOFTWARE INSTALLED:

OTHER COMMENTS:
If the radio is transmitting even in offline mode, this may be unacceptable for
use in an aircraft. May also be contributing to battery drainage.


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.7)
Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7
Comment 1 Andre Klapper maemo.org 2010-02-25 23:29:16 UTC
Hi Jon, thanks for reporting this!
Comment 2 Lucas Maneos 2010-02-27 12:20:45 UTC
Confirmed.  An "rmmod wl12xx; modprobe wl12xx" cycle makes it drop back to 0dBm
until it is used again.
Comment 3 ext-jason.rudd@nokia.com nokia 2010-03-01 11:23:48 UTC
This is a cosmetic issue, whilst it appears the radio is still on it has
actually been powered down, hence why the signal strength remains the same. You
can prove this to yourself by moving away from the access point and noting that
the signal strength does not change. 

You might also like to check your syslog, "wlan0 is DOWN" message is emitted to
the log the when the radio is switched off. The "firmware booted" message
appears when the radio is powered back on.

I have tested via this method, with a sniffer and also by measuring the
current.

However I will investigate why iwconfig is reading old values.
Comment 4 Lucas Maneos 2010-03-02 09:18:34 UTC
Thanks, updating summary & keywords accordingly.