Disclaimer: I wrote Tadpole's closed-source PRISM wireless LAN driver (PRISM 
2.5 miniPCI only).  I was looking at pcwl to see what it would take to migrate 
some of our drivers and tools to the new Solaris wificonfig framework.

I noticed that in pcwl, there is a delay() call done in pcwl_getset (for the 
site survey scan), which is called from ioctl.  As this ioctl is a STREAMs 
routine, it poor form (and actually unsafe!) to block/delay.  Unless Solaris 10 
has done something to change the semantics for STREAMs that I'm unaware of.

What needs to happen is this call has to unfortunately be split up and handled 
asynchronously.  Its a royal pain in the neck, but that is the only safe way to 
do this.

Btw, I just "joined" this community, and I hope to be able to participate more 
going forward, including more involvement from my employer (formerly Tadpole, 
now a division of General Dynamics.)
 
 
This message posted from opensolaris.org

Reply via email to