|
Thanks Peachy.
we have a range 8BE0-8BEF for the private
IOCTLs as mnetioned in wireless.h file.
Is this range for .private entry
point or .do_ioctl entry point ?? The only problem is If I implement 32 IOCTLs
in .do_ioctl entry point of net_device structure, then will I be able to
implement any IOCTLs in .private entry point ??
This is confusing as iwpriv wireless
extension application uses the IOCTLs defined in .private entry
point.
Please reply.
Thanks,
Rasmit
From: Solomon Peachy
[mailto:solomon linux-wlan.com] Sent: Thu 1/4/2007 7:39
PM To: Rasmit Ranjan (WT01 - Semiconductors & Consumer
Electronics) Cc:
linux-wlan-user lists.linux-wlan.com Subject: Re: [lwlan-user]
do_ioctl of net_devce and .private entry point of
iw_handler_def
On Tue, Dec 26, 2006 at 05:02:47PM
+0530, rasmit.ranjan wipro.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
solomon linux-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)
|