site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi, -- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... On Dec 27, 2008, at 7:49 PM, Paul Bissonnette wrote: I've been picking through the apple80211_ioctl.h and apple80211_var.h files in /System/Library/Frameworks/ Kernel.framework/Headers/IOKit/apple80211/ in my free time. I haven't been able to find much in the way of documentation and the combination of generic error messages and my lack of experience has made it a bit difficult. I have gotten a few of the more basic ioctl() calls in apple80211_ioctl.h to work but I was hoping somebody could show me how to get the scanning calls to work. More specifically if someone knows how to do a directed scan asynchronously I could use some help figuring it out. What I have so far is that if you specify exactly which channel the network is on it will work but if you give it a list of possible channels or don't specify any channels it will fail (using the channels array in the apple80211_scan_data structure that gets passed to the driver when requesting APPLE80211_SCAN_REQ). I also know that /dev/ath0 is where all of the notifications are dumped for various events pertaining to the airport including APPLE80211_M_SCAN_DONE (0xA). An example of what I'm trying to do would be: `/System/Library/PrivateFrameworks/Apple80211.framework/Resources/ airport -s<networkname>` I apologize if this is the wrong list or just a stupid question, I'm new to this. I also realize that the above binary already does what I'm trying to figure out, call me curious (and apparently not very good at reverse engineering). Have you tried looking <http://code.google.com/p/iwidarwin> to see how a wifi driver handles such requests? This email sent to site_archiver@lists.apple.com
participants (1)
-
Terry Lambert