Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2008 15:26:41 -0700
From:      "Maksim Yevmenkin" <maksim.yevmenkin@gmail.com>
To:        "Alex Keda" <admin@lissyara.su>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: bluetooth stack ported from NetBSD
Message-ID:  <bb4a86c70807091526q1d35a215sd2b3b2c65a87749@mail.gmail.com>
In-Reply-To: <48753475.5040402@lissyara.su>
References:  <48751292.7080902@lissyara.su> <bb4a86c70807091357t29f95203wac692a08baef0061@mail.gmail.com> <bb4a86c70807091417x2170212av3351c8ebd6e7c7b8@mail.gmail.com> <48753475.5040402@lissyara.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 9, 2008 at 2:58 PM, Alex Keda <admin@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70807091526q1d35a215sd2b3b2c65a87749>