On Mon, 2008-12-08 at 18:18 -0500, Dan E wrote: > > > Userspace tools. I want to proceed as if Wireless Extensions never > > > existed. Is that even possible? > > > > No, it's not. > > My fault for assuming too much about the urgency to get away from WE. Well, nobody seems to really want to work on replacing already working features... I have a patch for scanning with iw though. > > Yes, it should, and nl80211 even supports it, but iw itself doesn't yet. > > That's fairly easy to fix, too, but then iw won't support actually > > telling mac80211 to scan and associate etc. > > Right. I had a few early problems with iw. For instance, the Linux > Wireless web pages say you need "at least" libnl-1.0-pre8, but it won't > build with libnl-1.2 or 2.0. I had to go with libnl-1.1 to make it > happy. iw seems to be like a redheaded stepchild. There's libnl 1.2 and 2.0? That's news to me! Patches welcome. Sorry, I guess it needs 1.0 or 1.1, will fix the page. > That's what I thought but I wasn't seeing any callbacks at all through > my ieee80211_ops pointers. I did see the channel frequency change with > 'iwconfig wlan0', but no callbacks. My fault, again, for not RTFM. I > haven't gotten to the point yet on my driver where I expect 'ip link set > up dev wlan0' (or 'ifconfig wlan0 up', if you prefer) and now I see > that's why the config callback never happened. Ah. Yes, if the hw isn't started mac80211 won't try to configure it :) > If I had RTFM I might > have noticed adding 'commit' at the end of the iwconfig command would > have done it without the 'up'. No, it wouldn't, commit is pointless, don't worry about it, you'll never need to use it with mac80211. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part