List Info

Thread: do_ioctl of net_devce and .private entry point of iw_handler_def




do_ioctl of net_devce and .private entry point of iw_handler_def
user name
2006-12-26 11:32:47
Hi,
 I have a doubt regarding the do_ioctl entry point of net_device structure and .private entry point of iw_handler_def structure. I went through the wireless drivers in Linux. Some of them have implemented do_ioctl entry point of net_device structure to define their private IOCTLS ( from SIOCIWFIRSTPRIV to SIOCIWFIRSTPRIV+31) where some drivers have used .private entry point of iw_handler_def structure for the same. So are these two interfaces for private IOCTLs same ?
 
Secondly private_args of iw_handler_def is for the arguments to the private handlers. Does that mean, if I use do_ioctl then I dont need to fill private_args of iw_handler_def ?
 
Please Suggest.
 
Regards,
Rasmit Ranjan Swain
Semicoductor and Consumer Electronics
Wipro Technologies,Pune.
Contact no# 09881403740
do_ioctl of net_devce and .private entry point of iw_handler_def
user name
2007-01-04 14:09:31
On Tue, Dec 26, 2006 at 05:02:47PM +0530, rasmit.ranjanwipro.com
wrote:
>  I have a doubt regarding the do_ioctl entry point of
net_device
>  structure and .private entry point of iw_handler_def
structure. I
>  went through the wireless drivers in Linux. Some of
them have
>  implemented do_ioctl entry point of net_device
structure to define
>  their private IOCTLS ( from SIOCIWFIRSTPRIV to
SIOCIWFIRSTPRIV+31)
>  where some drivers have used .private entry point of
iw_handler_def
>  structure for the same. So are these two interfaces
for private
>  IOCTLs same ?

No, they are not the same.  the '.private' entry point for
IW_HANDLER is 
for so-called "private wireless extensions". 
linux-wlan-ng does not 
implemnet anything this way; instead it uses the standard
linux 
ioctl handler to handle its own private ioctls, via the
p80211msg 
framework.

 - Solomon
-- 
Solomon Peachy                        solomonlinux-wlan.com
AbsoluteValue Systems                 http://www.linux-wlan.com
721-D North Drive                     +1 (321) 259-0737 
(office)
Melbourne, FL 32934                   +1 (321) 259-0286 
(fax)
_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )