|
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 |