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

Solomon Peachy <[email protected]> Thu, 4 Jan 2007 09:09:31 -0500
Newsgroups gmane.linux.linux-wlan.user
Message-ID <[email protected]>
--===============1945301810==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7"
Content-Disposition: inline


--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Dec 26, 2006 at 05:02:47PM +0530, [email protected] 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=20
for so-called "private wireless extensions".  linux-wlan-ng does not=20
implemnet anything this way; instead it uses the standard linux=20
ioctl handler to handle its own private ioctls, via the p80211msg=20
framework.

 - Solomon
--=20
Solomon Peachy                        [email protected]
AbsoluteValue Systems                 http://www.linux-wlan.com
721-D North Drive                     +1 (321) 259-0737  (office)
Melbourne, FL 32934                   +1 (321) 259-0286  (fax)

--1yeeQ81UyVL57Vl7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFFnQqahinxHf95MjYRAvUpAJ9Z5zx9b+syHbwgpg0RryqAzR6vWACcCTgg
F0evsIZkgcVbzBhz2a7qKlc=
=wPd5
-----END PGP SIGNATURE-----

--1yeeQ81UyVL57Vl7--

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