bluetooth stack ported from NetBSD

Maksim Yevmenkin maksim.yevmenkin at gmail.com
Wed Jul 9 22:26:42 UTC 2008


On Wed, Jul 9, 2008 at 2:58 PM, Alex Keda <admin at lissyara.su> wrote:
>>i took very quick look - good effort :) there are however, few locking
>>issues, and, some utilities are missing.
> hmm, what issues ?

for one - socket's layer is not properly locked. i also suspect (but
not yet 100% sure) there is something fishy might be going on when
packets cross boundary between usb and netbt. usb is giant locked, and
there is very little locking in netbt. i saw the author simply
replaced few splxxx/splx calles with mtx_xxx calls in few places, but
i'm pretty sure this is not all of it.

>>also, original thread seems to be about some bluetooth gps device.
>
> the thread about ported netbt stack to freebsd
> not gps ;)
> why netbt ?
> becouse native stack freebsd not support SCO audio

1) i'm willing to give out the code that i have to anyone who has the
desire to work on this;

2) i'm willing to help with the code and commit all the produced patches;

3) all the credit will go the person how will do the work;

> rfcomm_sppd
> i's first step

that's fine.

furthermore, i want to go on the record here and say that if netgraph
(due to its complexity, etc.) is a big problem here, and, prevents
people from working on bluetooth in freebsd, i'm prepared to seriously
consider netbt stack as alternative. the userspace part of both stacks
has a lot of shared code. also it would be beneficial for all
bsd-family operating systems.

thanks,
max


More information about the freebsd-bluetooth mailing list