Bug 15934

Summary: Power management not working in ath5k
Product: Drivers Reporter: varnavruz
Component: network-wirelessAssignee: Bob Copeland (me)
Status: RESOLVED INSUFFICIENT_DATA    
Severity: low CC: alan, kai.huuhko, linville, mickflemm, remusry, saurav.barik
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.32-21-generic #32-Ubuntu SMP Subsystem:
Regression: Yes Bisected commit-id:

Description varnavruz 2010-05-07 13:14:33 UTC
You will get an error when trying to adjust any of the "power" parameters using iwconfig.

For example:

# iwconfig wlan0 power on
Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device wlan0 ; Operation not permitted.

Using Atheros AR2425 chip
Comment 1 John W. Linville 2010-05-07 14:05:52 UTC
ath5k simply doesn't support that command at this time.  I'm not sure what (if any) plans there are for that in the near future.  Bob?
Comment 2 Saurav Barik 2010-07-19 11:18:45 UTC
Does the latest stable kernel(2.6.35-rc5) or compat-wireless(2.6.35-rc4.tar.bz2)
support power management for ath5k? Going by the code it seems they don't have it. Could somebody confirm, please?
Comment 3 Bob Copeland 2010-07-19 11:59:08 UTC
No, it does not support it yet.  No one is actively working on it yet but it is definitely something worth doing...
Comment 4 remusry 2011-09-02 04:57:00 UTC
I get this on the 3.0.X Kernel, could I get one version of power setting done: iwconfig wlan0 power off? The reason is I can't even use my wlan0 because of this error.
Comment 5 Bob Copeland 2011-09-02 11:45:19 UTC
(In reply to comment #4)
> I get this on the 3.0.X Kernel, could I get one version of power setting
> done:
> iwconfig wlan0 power off? The reason is I can't even use my wlan0 because of
> this error.

How does lack of power management prevent you from using it?  Ath5k _always_ operates in 'iwconfig wlan0 power off' mode.  There must be something else wrong.

FWIW I am currently dusting off some patches to implement PS mode.