freebsd-dev/sys
Maksim Yevmenkin 980b8b89eb Make default RFCOMM session MTU match default L2CAP MTU.
This is just a workaround for a know problem with Motorola E1000
phone. Something is wrong with the configuration of L2CAP/RFCOMM
channel. Even though we set L2CAP MTU to 132 bytes (default RFCOMM
MTU 127 + 5 bytes RFCOMM frame header) and the phone accepts it,
the phone still sends oversized L2CAP packets. It appears that the
phone wants to use bigger (667 bytes) RFCOMM frames, but it does
not segment them according to the configured L2CAP MTU. The 667
bytes RFCOMM frame size corresponds to the default L2CAP MTU of
672 bytes (667 + 5 bytes RFCOMM frame header).

This problem only appears if connection was initiated from the
phone. I'm not sure who is at fault here, so for now just put
workaround in place. Quick look at the spec did not reveal any
anwser.

Tested by:	Jes < jjess at freebsd dot polarhome dot com >
MFC after:	3 days
2005-01-11 01:39:53 +00:00
..
alpha These are no longer relevant. They are scripts for extracting hints 2005-01-07 00:54:35 +00:00
amd64 Introduce bus_dmamap_load_mbuf_sg(). Instead of taking a callback arg, this 2005-01-07 07:57:18 +00:00
arm Add support for ptrace() and gdb breakpoints. 2005-01-10 22:43:16 +00:00
boot Only update the boot sector when there is a valid drive number provided. 2005-01-09 23:30:35 +00:00
cam Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
coda Start each of the license/copyright comments with /*- 2005-01-05 23:35:00 +00:00
compat Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
conf sort more things alphabetically 2005-01-10 05:11:40 +00:00
contrib Elminate 1 LOR (actually a recursive mutex grab) involving ipfilter where 2005-01-08 04:32:02 +00:00
crypto Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
ddb Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
dev Final attempt to make aha 1542A working. If not, oh well, I don't 2005-01-11 01:17:07 +00:00
doc Experimental support for using doxygen to generate kernel documentation. 2004-07-11 16:13:57 +00:00
fs whitespace 2005-01-10 13:09:33 +00:00
gdb /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
geom Increase default synchronization speed. 2005-01-09 14:43:39 +00:00
gnu /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
i4b /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
i386 Fix support for machines with default MP Table configurations: 2005-01-07 18:42:59 +00:00
ia64 /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
isa Make life for owners of Synaptics Touchpads more pleasant :-) 2005-01-10 13:05:58 +00:00
isofs/cd9660 /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
kern Break out of loop earlier if it is not timeout. 2005-01-08 06:57:46 +00:00
libkern /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-07 00:24:33 +00:00
modules Back out previous commits. Installing new share/mk fixes this. 2005-01-03 07:27:17 +00:00
net This change adds reliability for Ethernet trunks built with ng_one2many: 2005-01-08 12:42:03 +00:00
net80211 Correct scan candidate selection logic for dual-band devices: prefer 2005-01-01 17:48:27 +00:00
netatalk /* -> /*- for license, minor formatting changes, insert COPYRIGHT into files 2005-01-07 02:35:34 +00:00
netatm /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netgraph Make default RFCOMM session MTU match default L2CAP MTU. 2005-01-11 01:39:53 +00:00
netinet include "alias.h", not <alias.h> 2005-01-10 10:54:06 +00:00
netinet6 /* -> /*- for license, minor formatting changes, separate for KAME 2005-01-07 02:30:35 +00:00
netipsec /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netipx Mark the IPX netisr as MPSAFE so that inbound IPX traffic is processed 2005-01-09 07:34:55 +00:00
netkey fixed an unexpected addr/port matching failure in IPv6 SA management 2005-01-10 13:06:42 +00:00
netnatm /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netncp /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netsmb /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4client /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfsclient /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfsserver /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
opencrypto /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
pc98 In my last commit, I'd assumed that LINE30 was always defined. It 2005-01-09 22:17:39 +00:00
pccard /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
pci Reimplement the fix in rev. 1.126. 2005-01-10 09:56:47 +00:00
posix4 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
powerpc /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
rpc /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
security Exempt the superuser from mac_seeotheruids checks. 2005-01-03 12:08:18 +00:00
sparc64 Don't panic when we're asked to allocate a resource type that we know 2005-01-09 18:58:08 +00:00
sys Comment typo. 2005-01-07 19:31:43 +00:00
tools /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
ufs /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
vm ISO C requires at least one element in an initialiser list. 2005-01-10 20:30:04 +00:00
Makefile Add a NO_BOOT knob to prevent building the boot blocks and loader. 2004-08-19 09:54:28 +00:00