airport ioctls
airport ioctls
- Subject: airport ioctls
- From: Paul Bissonnette <email@hidden>
- Date: Sat, 27 Dec 2008 21:49:15 -0600
Hi,
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).
Thanks,
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden