Bluetooth PAN support for FreeBSD

Maksim Yevmenkin maksim.yevmenkin at gmail.com
Tue Mar 18 16:24:19 UTC 2008


On 3/18/08, Iain Hibbert <plunky at rya-online.net> wrote:
> On Mon, 17 Mar 2008, Maksim Yevmenkin wrote:
>
>  > i have committed support for bnep based profiles into -current and
>  > have mfc'd it into releng_7 and _6.
>
>
> +struct sdp_nap_profile
>  +{
>  +       uint16_t        security_description;   /* HBO: NAP/GN */
>  +       uint16_t        net_access_type;        /* HBO: NAP */
>  +       uint32_t        max_net_access_rate;    /* HBO: NAP */
>  +};
>
>  what does HBO mean?

host byte order.

> also, why no PSM and load_factor ?
>
>       uint16_t        psm;
>       uint8_t         load_factor;
>
> both would seem useful here..

well, psm comes from assigned numbers specification, i.e. 15. my
initial concern was about "broken" devices, i.e. devices that do not
make sdp query and simply use default psm. however, this is a bogus
argument because if device does not use sdp it really does not matter
what i put in there :)  so, i really do not have very strong opinion
about it. it is trivial to add if people want it.

i did not add load_factor because i was not sure if anybody ever going
to look at it. it is marked as optional. again, it is trivial to add
if people want it.

thanks,
max


More information about the freebsd-bluetooth mailing list