btpand problem

Andreas Longwitz longwitz at incore.de
Sun Oct 14 19:02:44 UTC 2012


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








More information about the freebsd-bluetooth mailing list