do_ioctl of net_devce and .private entry point of iw_handler_def

<[email protected]> Tue, 26 Dec 2006 17:02:47 +0530
Newsgroups gmane.linux.linux-wlan.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============1440554240==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C728E1.9152887D"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C728E1.9152887D
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


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 ?
=20
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 ?
=20
Please Suggest.
=20
Regards,
Rasmit Ranjan Swain
Semicoductor and Consumer Electronics
Wipro Technologies,Pune.
Contact no# 09881403740



The information contained in this electronic message and any attachments to=
 this message are intended for the exclusive use of the addressee(s) and=
 may contain proprietary, confidential or privileged information. If you=
 are not the intended recipient, you should not disseminate, distribute or=
 copy this e-mail. Please notify the sender immediately and destroy all=
 copies of this message and any attachments.=20

WARNING: Computer viruses can be transmitted via email. The recipient=
 should check this email and any attachments for the presence of viruses.=
 The company accepts no liability for any damage caused by any virus=
 transmitted by this email.
=20
www.wipro.com
------_=_NextPart_001_01C728E1.9152887D
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=
=3Dltr><HEAD><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html;=
 charset=3Diso-8859-1"></HEAD><BODY>
<DIV id=3DidOWAReplyText85974 dir=3Dltr>
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>Hi,</FONT></DIV>
<DIV dir=3Dltr><FONT face=3DArial size=3D2>&nbsp;I have a doubt regarding=
 the=20
<STRONG>do_ioctl</STRONG> entry point of <STRONG>net_device</STRONG>=
 structure=20
and <STRONG>.private</STRONG> entry point of=
 <STRONG>iw_handler_def</STRONG>=20
structure. I went through the wireless drivers in Linux. Some of them have=
=20
implemented <STRONG>do_ioctl</STRONG> entry point of net_device structure=
 to=20
define their private IOCTLS ( from SIOCIWFIRSTPRIV to SIOCIWFIRSTPRIV+31)=
 where=20
some drivers have used <STRONG>.private</STRONG> entry point of=20
<STRONG>iw_handler_def</STRONG> structure for the same. So&nbsp;are these=
 two=20
interfaces for private IOCTLs same ?</FONT></DIV>
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Secondly <STRONG>private_args=20
</STRONG>of<STRONG> iw_handler_def </STRONG>is for the arguments to the=20
<STRONG>private</STRONG> handlers. Does that mean, if I use do_ioctl then I=
 dont=20
need to fill private_args of iw_handler_def ?</FONT></DIV>
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Please Suggest.</FONT></DIV>
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=
=3D2></FONT>&nbsp;</DIV></DIV>
<DIV id=3DidSignature71835 dir=3Dltr>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>Rasmit Ranjan=
 Swain</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>Semicoductor and Consumer=
=20
Electronics</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>Wipro=
 Technologies,Pune.</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>Contact no#=20
09881403740</FONT></DIV></DIV></BODY></HTML>
<table><tr><td bgcolor=3D#ffffff><font color=3D#000000><br>
The information contained in this electronic message and any attachments to=
 this message are intended for the exclusive use of the addressee(s) and=
 may contain proprietary, confidential or privileged information. If you=
 are not the intended recipient, you should not disseminate, distribute or=
 copy this e-mail. Please notify the sender immediately and destroy all=
 copies of this message and any attachments. <br>
<br>
WARNING: Computer viruses can be transmitted via email. The recipient=
 should check this email and any attachments for the presence of viruses.=
 The company accepts no liability for any damage caused by any virus=
 transmitted by this email.<br>
 <br>
www.wipro.com<br>
</font></td></tr></table>
------_=_NextPart_001_01C728E1.9152887D--

--===============1440554240==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Linux-wlan-user mailing list
[email protected]
http://lists.linux-wlan.com/mailman/listinfo/linux-wlan-user
--===============1440554240==--