Prism2 firmware upload support.
Dirk-Willem van Gulik
dirkx at webweaving.org
Fri Jun 6 03:42:38 PDT 2003
After experimenting with the hostap drivers of linux
(http://hostap.epitest.fi/) I've quite taken a liking of 'prism2_srec'
which allows one to upload (experimental) firmware in the RAM of the
prism2 card. And being able to do this form userland.
Has anyone looked at the existing symbol firmware loading code in freebsd
5.x and looked at generalizing this with some ioctl()'s for
upload/download of firmware (and propalby an extra SIOCGPRISM2INFO to give
userland enough of an idea of the primary/secondary version numbers to be
able to select/check the hex files) ?
I've started coding some of this into the wi driver - but one thing which
worries me is how to properly activate it; i.e. how does one from an ioctl
a clean detach/probe sort of thing ? I take it that one cannot call
wi_generic_detach(), wi_generic_attach() from inside the ioctol handler ?
Thanks,
Dw
More information about the freebsd-mobile
mailing list