80211 patch1
Sepherosa Ziehau
sepherosa at gmail.com
Mon Apr 17 05:01:16 PDT 2006
On 4/17/06, Thomas Schlesinger <schlesinger at xxxxxxxxxxxxx> wrote:
> Am Montag, 17. April 2006 03:37 schrieb Sepherosa Ziehau:
>
> <snip>
>
> >
> > My fault, missing a crit_enter(), please change
> > sys/dev/netif/iwi/if_iwi.c
> > iwi_load_firmware()
> > near these lines:
> > ....
> > CSR_WRITE_4(sc, IWI_CSR_CTL, tmp | IWI_CTL_ALLOW_STANDBY);
> >
> > /* wait at most one second for firmware initialization to complete */
> > crit_enter(); <========= add me
> > tsleep_interlock(IWI_FW_INITIALIZED(sc));
> > lwkt_serialize_exit(ifp->if_serializer);
> > ....
> >
> > And give it a try again, thanks
> >
> > Best Regards,
> > sephe
> >
>
> Sepherosa,
>
> how do I build the wpa_supplicant?
>
> I've downloaded http://leaf.dragonflybsd.org/~sephe/wpa/wpa_supp/ and
> http://leaf.dragonflybsd.org/~sephe/wpa/wpa_supplicant/ under an common
> directory. Then, I've cd'd into wpa_supp and did a make. That's the ouput:
>
. ...
> driver_freebsd.c
> driver_freebsd.c: In function `wpa_driver_bsd_get_bssid':
> driver_freebsd.c:160: error: `IEEE80211_IOC_BSSID' undeclared (first use in
> this function)
> driver_freebsd.c:160: error: (Each undeclared identifier is reported only once
> driver_freebsd.c:160: error: for each function it appears in.)
> driver_freebsd.c: In function `wpa_driver_bsd_set_wpa_ie':
> driver_freebsd.c:197: error: `IEEE80211_IOC_OPTIE' undeclared (first use in
> this function)
Sorry, my fault again. I forget to point out that after patching the
system, you will need to buildworld and installworld. After that
wpa_supplicant can be built at any directory as you wish. And you can
just run wpa_supplicant from the building directory :-)
BTW, does iwi(4)'s WEP work well?
Best Regards,
sephe
--
Live Free or Die
More information about the Users
mailing list