lkml.org 
[lkml]   [2002]   [Dec]   [25]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
From"hua xu" <>
SubjectProblem: do_ioctl() doesn't work well on setting txpower
DateWed, 25 Dec 2002 17:11:36 +0000
       I have a problem on setting txpower in the kernel module, and I wish 
to be personally CC'ed the answers/comments posted to the list in response. 

       It is the first time for me to make a kernel module in order to 
manage txpower.I am using Vine Linux 2.4.18-0v13 and wireless LAN card is 
CISCO AIRONET 350 whose txpower can be change in 3 levels.  Following is my 
problem in the kernel programming.
	With CISCO LAN card, I can change the txpower by the command: iwconfig, 
however, in my kernel programming, I am using do_ioctl() intending to set 
txpower. There are two aspects on my problem. One aspect is that when I set 
wrq.u.txpower.value which I am intended to change, and do the do_ioctl(). 
After complying the kernel module, the wireless LAN card just turned off 
its txpower but the value is not changed. Then when I set 
wrq.u.txpower.diabled trying to keep txpower on, I got the error message (I 
am using 兎rrno
\
 
 \ /
  Last update: 2005-03-22 11:31    [W:0.133 / U:3.870 seconds]
©2003-2008 Jasper Spaans