[Prism54-devel] Re: Prism54 wpa update
Jeff Garzik
jgarzik at pobox.com
Tue Jun 29 20:22:10 UTC 2004
On Tue, Jun 29, 2004 at 03:21:01PM -0400, Luis R. Rodriguez wrote:
>
> I'll keep my latest wpa work/patch at the following URL:
>
> http://prism54.org/~mcgrof/prism54-wpa.diff
>
> I've nuked module params and am relying on private ioctls now since,
>
> * we already have a [s|g]et_wpa priv iotcl, and
> * in preperation for the WPA patch for Wireless Extensions.
>
> I'll work on wpa ie scans tonight and try to fix mgt for
> handling traps in extended mode. This is not related to wpa, but
> I also made the firmware load at probe time. I turned the radio
> off at probe after firmware load time too since the device is
> not technically up yet.
Patch seems sane, though I vaguely recall xchg() not being atomic on all
platforms (such as i386?). Maybe I'm wrong, an expert should speak up :)
I also worry that the following is a race, but I have not traced the
code to verify or discount my guess:
+ u32 mlme, authen, dot1x, filter, wep;
+
+
+ if (islpci_get_state(priv) < PRV_STATE_INIT)
+ return 0;
down_write(&priv->mib_sem);
More information about the Prism54-devel
mailing list