[Prism54-devel] Re: XH8196 pci try
Sebastien B
sebastien.b at swissinfo.org
Wed Mar 9 21:55:10 UTC 2005
Hello,
> In order to go on with this development, i'd need a list of the
> functions called back from the closed-source lib. I think you had to
> compile such a list, Sebastien, could you send it back to me ?
Here you are (not sure this will be really useful according to your next
mails, but I send them anyway). They are also defined in softmac2.h.
void *prism_driver_alloc(uint32_t *context, uint32_t size, uint8_t type)
{
return malloc(size);
}
void prism_driver_free(uint32_t *context, void *buffer)
{
free(buffer);
}
/* Frame management */
struct s_sm_frame *prism_driver_frame_alloc(uint32_t *context, uint32_t
length)
{
return malloc(length);
}
void prism_driver_frame_free(uint32_t *context, struct s_sm_frame *frame)
{
free(frame);
}
/* Timers */
void prism_driver_timer_start(uint32_t *context, uint32_t msec)
{
}
void prism_driver_timer_stop(uint32_t *context)
{
}
uint32_t prism_driver_time(uint32_t *context)
{
return time(NULL);
}
void prism_driver_printf(uint32_t *context, uint8_t level, uint8_t *format,
uint32_t arg0, uint32_t arg1, uint32_t arg2)
{
printf(format, arg0, arg1, arg2);
}
void prism_driver_dump(uint32_t *context, uint8_t level, uint8_t *data,
uint32_t size)
{
}
void prism_driver_assert(uint8_t *error, uint8_t *file, uint32_t line)
{
}
Are you able to use HostAP with this driver ?
BTW, I'm really stuck with ieee80211_input() on FreeBSD, that's why I haven't
updated my code for so long :(
Regards,
Sebastien
More information about the Prism54-devel
mailing list