A problem with iwconfig command. (though I give correct command but still it comes out to be invalid)

Submitted by Anonymous
on February 25, 2009 - 12:36am

Hi all,

I am using wireless tools version 29. I am finding it difficult to use iwconfig power command.
I give:
iwconfig [wlanif] power off -- this works
./iwconfig eth1 power 500m unicast --this also works
but when I try to set the value of timeout or period..
------------------------------------------------
# ./iwconfig eth1 power timeout 300
Error for wireless request "Set Power Management" (8B2C) :
invalid argument "300".

# ./iwconfig eth1 power timeout 300ms
Error for wireless request "Set Power Management" (8B2C) :
invalid argument "300ms".

# ./iwconfig eth1 power min period 2 power max period 4
Error for wireless request "Set Power Management" (8B2C) :
invalid argument "2"
________________________________________________
_________________________________________________

I do not think this has anything to do with WLAN driver. I have tried these commands in both associated and unassociated states.

Can you provide some insight?

With best regards
Zat

what hardware / driver?

sileNT (not verified)
on
February 26, 2009 - 4:54am

what hardware / driver do you use?

Re:silent

zat
on
February 27, 2009 - 8:21pm

I have p54 chipset and I am writing driver with my friends.

--As the prints are of iwconfig so I don't think that control reaches the driver. I have checked that.
But again if the driver is faulty, how can I correct it. actually I am just having print statements in place of the function body of ioctl corresponding to set power and get power.

Thanks again

With Regards
Zat

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.