Bug 12288
Summary: | txpower off doesn't work for ath5k driver | ||
---|---|---|---|
Product: | Drivers | Reporter: | shen cathy (shenhaixia) |
Component: | network-wireless | Assignee: | drivers_network-wireless (drivers_network-wireless) |
Status: | CLOSED INSUFFICIENT_DATA | ||
Severity: | normal | CC: | daniel.folkers, linville, mcgrof, me |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.28.rc7 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
txpower off
txpower 10dBm txpower 20dBm |
Description
shen cathy
2008-12-24 19:53:36 UTC
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 Tx-Power=20 dBm Retry min limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management: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]
txpower off
Created attachment 23596 [details]
txpower 10dBm
Created attachment 23597 [details]
txpower 20dBm
(In reply to comment #7) > Created an attachment (id=23597) [details] > txpower 20dBm Hi Daniel, I think this older bug is the same as http://bugzilla.kernel.org/show_bug.cgi?id=14567 which we fixed by 2eb2fa67e5462a36e98172fb92c78bc405b3035f "ath5k: allow setting txpower to 0". Do you agree it's fixed and this bug can be closed? Closed due to lack of response... |