caif: Use link layer MTU instead of fixed MTU
authorSjur Braendeland <sjur.brandeland@stericsson.com>
Thu, 17 Jun 2010 06:55:40 +0000 (06:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jun 2010 02:46:06 +0000 (19:46 -0700)
commit2aa40aef9debc77d55cc87a50d335b6fe97fbeb0
tree0dccf47cf6cb861c7efa72601fab9511760c7e74
parenta7da1f55a826c621251874e7684c234972fc3216
caif: Use link layer MTU instead of fixed MTU

Previously CAIF supported maximum transfer size of ~4050.
The transfer size is now calculated dynamically based on the
link layers mtu size.

Signed-off-by: Sjur Braendeland@stericsson.com
Signed-off-by: David S. Miller <davem@davemloft.net>
15 files changed:
drivers/net/caif/caif_serial.c
include/net/caif/caif_dev.h
include/net/caif/caif_layer.h
include/net/caif/cfcnfg.h
net/caif/caif_dev.c
net/caif/caif_socket.c
net/caif/cfcnfg.c
net/caif/cfctrl.c
net/caif/cfdgml.c
net/caif/cfpkt_skbuff.c
net/caif/cfserl.c
net/caif/cfsrvl.c
net/caif/cfutill.c
net/caif/cfveil.c
net/caif/chnl_net.c