Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - custom ioctl command index: (2 Items)
   
custom ioctl command index  
Hi,

I want o create wifi driver custom ioctol command. How can I find which group, number I can use without conflicting with
 the existing ones? 

I searched ioctl.h, ieee80211_ioctl.h, but it is not obvious about the convention of how to define the custom ioctl 
index.

thanks,

Yurong
Re: custom ioctl command index  
Custom driver ioctls should be wrapped in an SIOCSDRVSPEC / SIOCGDRVSPEC ioctl.

Regards,

-seanb

On Thu, Dec 22, 2011 at 12:23:03PM -0500, Yurong Sun wrote:
> Hi,
> 
> I want o create wifi driver custom ioctol command. How can I find which group, number I can use without conflicting 
with the existing ones? 
> 
> I searched ioctl.h, ieee80211_ioctl.h, but it is not obvious about the convention of how to define the custom ioctl 
index.
> 
> thanks,
> 
> Yurong
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post90748
>