commit | 41a0a4a850184c8c936818dc0f2ac4d3ecd9a1c6 | [log] [tgz] |
---|---|---|
author | Nick Pelly <npelly@google.com> | Mon Aug 31 13:33:06 2009 -0700 |
committer | Nick Pelly <npelly@google.com> | Mon Aug 31 13:33:06 2009 -0700 |
tree | a1a68ff6a57bdb348048cf67197e20db38d885cb | |
parent | 66360af891ac1b77fa5a48d668bd848c84b6f041 [diff] |
Set RFCOMM SO_SNDBUF size to 70 KB for large RFCOMM writes. With a 64 KB OBEX MTU, net/rfcomm/sock.c:rfcomm_sock_sendmsg() quietly drops data. The default SO_SNDBUF is 24 KB. Empircally, 36 KB still drops, and 38 KB no longer drops (this is because SO_SNDBUF is doubled in net/core/sock.c and then there is OBEX/RFCOMM overhead). Set to 70 KB so we have plenty of room to spare. See http://b/2090000 to investigate this in more detail later.