Bug 451 - can't turn off txpower by 'iwconfig eth1 txpower off'
: can't turn off txpower by 'iwconfig eth1 txpower off'
Status: VERIFIED FIXED
: IPW2200
Wireless Tools
: 0.16
: Dell Fedora Core 2
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-12-05 23:16 by
Modified: 2005-10-05 12:20 (History)


Attachments
dmesg output afer setting debug to 0x3fff (9.69 KB, text/plain)
2004-12-09 17:57, Yan Nan
Details


Note

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


Description From 2004-12-05 23:16:58
Did this test on Dell D505,FC2,2.6.7 kernel.

currently, we can't turn off txpower by "iwconfig eth1 txpower off".
------- Comment #1 From 2004-12-09 15:44:28 -------
Are there any errors from the command. Also, please attach dmesg output.
------- Comment #2 From 2004-12-09 17:57:18 -------
Created an attachment (id=152) [details]
dmesg output afer setting debug to 0x3fff


there is no error message when doing "iwconfig eth1 txpower off".
attached is the dmesg output afer setting debug to 0x3fff.
the steps i did are:
1, % ./unload
2, % dmesg -c
3, % ./load debug=0x3fff
4, % iwconfig
   i can see txpower is default to 20dBm.
5, % iwconfig eth1 txpower off
6, % iwconfig
i can see txpower is still 20dBm.
------- Comment #3 From 2004-12-10 00:48:39 -------
Reopen the bug. 
------- Comment #4 From 2004-12-13 14:09:16 -------
Looks like it just isn't reporting the power disabled bit to the wireless tools.
 You can verify that the power is being shut off via:

cat /sys/bus/pci/drivers/ipw2200/*/rf_kill 

I've put in a fix for 0.18 that will report the state of the radio power to user
space.

James
------- Comment #5 From 2004-12-14 23:06:21 -------
verified in 0.18