Kernel Bug Tracker – Bug 12288
txpower off doesn't work for ath5k driver
Last modified: 2010-06-07 19:42:12 UTC
Latest working kernel version: N/A
Earliest failing kernel version:N/A
Hardware Environment: AspireOne
Software Environment: 2.6.28.rc7
Problem Description: when use "iwconfig wlan0 txpower off" still can associate with other AP or wireless machine.
Steps to reproduce:
1. associate with one AP in managed mode and g band without WEP
2. use "iwconfig wlan0 txpower off" to disable radio
3. still can ping AP
Looks like the ath5k hw_config mac80211 op needs to account for conf->radio_enabled, similar to what b43/main.c does in b43_op_config.
Exactly right - some rfkill support is forthcoming and this will be part of it.
Can you retest latest kernel? Rfkill and txpower support was added for 2.6.31.
I have very recently done some testing with the 2.6.30 kernel and a R52H mini PCI card (RouterBoard), with a Atheros AR5414 chipset in it.
I connected the antenna output to a spectrum analyser and did a multicast ping with a duty cycle of 80% (using MGen).
wlan1 IEEE 802.11abg ESSID:"HENK"
Mode:Ad-Hoc Frequency:2.462 GHz Cell: Not-Associated
Retry min limit:7 RTS thr:off Fragment thr:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Not just putting txpower on and off does not work, also setting the txpower does not work. See attachments (screenshots of my spectrum analyser).
Created attachment 23595 [details]
Created attachment 23596 [details]
Created attachment 23597 [details]
(In reply to comment #7)
> Created an attachment (id=23597) [details]
> txpower 20dBm
I think this older bug is the same as
which we fixed by 2eb2fa67e5462a36e98172fb92c78bc405b3035f
"ath5k: allow setting txpower to 0". Do you agree it's fixed
and this bug can be closed?
Daniel, please respond to comment 8?
Closed due to lack of response...