Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2012 21:02:47 +0200
From:      Andreas Longwitz <longwitz@incore.de>
To:        Iain Hibbert <plunky@rya-online.net>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: btpand problem
Message-ID:  <507B0C57.7030506@incore.de>
In-Reply-To: <alpine.NEB.2.00.1210140917360.673@galant.ukfsn.org>
References:  <507736A8.4050605@incore.de> <BDA3CA14-92C0-414E-9D55-E96EA7A73312@gmail.com> <5077490F.7010901@incore.de> <CAFPOs6pF51wy9PvKLn4-OnrOqo8hU1S=P5PzTFwgUppBjqAtuA@mail.gmail.com> <alpine.NEB.2.00.1210120949170.628@galant.ukfsn.org> <50782E05.5080005@incore.de> <alpine.NEB.2.00.1210122254010.965@galant.ukfsn.org> <CAFPOs6qWVAcSuPz6%2BB=3uq_KqCXa=YcXwx-PNncGVrbDE8AimQ@mail.gmail.com> <5079E8F7.5050903@incore.de> <alpine.NEB.2.00.1210140843330.548@galant.ukfsn.org> <alpine.NEB.2.00.1210140917360.673@galant.ukfsn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, thanks for the patch.

>> but, btpand should also ensure that the buffer sizes are suitable. The
>> server_init() function already does this in FreeBSD, though I also added
>> some code to increase the RCVBUF size in NetBSD code, and also added (but
>> didn't yet commit) the similar for client code.. I will prepare a patch
>
> patch for btpand attached

I tried your patch and it works, I do not need the kernel patch for the 
default size of NG_BTSOCKET_L2CAP_SENDSPACE anymore.

Now I describe another problem with my ping test, I am not sure if this 
problem concerns btpand too. If the ICMP packet must be fragmented, then 
the first fragment ist lost on the tap interface (and can not be found 
by tcpdump running on this tap) if an ARP request is necessary.
    ping -c 1 -s 1400 panserver
works all the time,
    ping -c 1 -s 1600 panserver
only works if the ip address of panserver is in the arp cache.

I did nothing special with the tap interface, it is included in my 
"cloned_interfaces" in rc.conf and opened by btpand.

Any ideas ?

Andreas Longwitz









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