Subject: Re: 80211 changes and wpa_supplicant
To: None <tech-net@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: tech-net
Date: 08/09/2005 13:09:20
On Tue, Aug 09, 2005 at 02:24:53PM +0200, Ronald van der Pol wrote:
> After upgrading to the latest -current my wpa_supplicant did not work
> anymore. It failed with a:
> 
> Starting AP scan (broadcast SSID)
> ioctl[SIOCS80211]: Invalid argument
> Failed to initiate AP scan.
> 
> I tracked it down to these defines in net80211/ieee80211_ioctl.h:
> 
> #ifdef __FreeBSD__
> #define IEEE80211_IOC_SSID              1
> #endif /* __FreeBSD__ */
> 
> #ifdef __FreeBSD__
> #define IEEE80211_IOC_BSSID             15
> #endif /* __FreeBSD__ */
> 
> Are these really FreeBSD only or do they work in the NetBSD 80211 too?
> I suppose they work on NetBSD too because last weeks compile of
> wpa_supplicant worked fine. So I guess these #ifdefs should be removed
> or changed to __NetBSD__ .

Ronald,

I removed those ioctls, which have not appeared in any release, because
they duplicate the long-standing NetBSD ioctls SIOCS80211BSSID and
SIOCS80211SSID.  Use those ioctls, instead.

> Does NetBSD support pcap_inject() ?

No.

> Is somebody else working on the WPA stuff?

No.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933