1. 08 4月, 2011 1 次提交
    • G
      Bluetooth: Create struct l2cap_chan · 48454079
      Gustavo F. Padovan 提交于
      struct l2cap_chan cames to create a clear separation between what
      properties and data belongs to the L2CAP channel and what belongs to the
      socket. By now we just fold the struct sock * in struct l2cap_chan as all
      the channel info is struct l2cap_pinfo today.
      
      In the next commits we will see a move of channel stuff to struct
      l2cap_chan.
      Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
      48454079
  2. 01 4月, 2011 2 次提交
  3. 17 2月, 2011 4 次提交
  4. 15 2月, 2011 1 次提交
  5. 08 2月, 2011 14 次提交
  6. 02 12月, 2010 2 次提交
  7. 24 9月, 2010 1 次提交
  8. 10 8月, 2010 2 次提交
    • M
      Bluetooth: Use 3-DH5 payload size for default ERTM max PDU size · db12d647
      Mat Martineau 提交于
      The previous value of 672 for L2CAP_DEFAULT_MAX_PDU_SIZE is based on
      the default L2CAP MTU.  That default MTU is calculated from the size
      of two DH5 packets, minus ACL and L2CAP b-frame header overhead.
      
      ERTM is used with newer basebands that typically support larger 3-DH5
      packets, and i-frames and s-frames have more header overhead.  With
      clean RF conditions, basebands will typically attempt to use 1021-byte
      3-DH5 packets for maximum throughput.  Adjusting for 2 bytes of ACL
      headers plus 10 bytes of worst-case L2CAP headers yields 1009 bytes
      of payload.
      
      This PDU size imposes less overhead for header bytes and gives the
      baseband the option to choose 3-DH5 packets, but is small enough for
      ERTM traffic to interleave well with other L2CAP or SCO data.
      672-byte payloads do not allow the most efficient over-the-air
      packet choice, and cannot achieve maximum throughput over BR/EDR.
      Signed-off-by: NMat Martineau <mathewm@codeaurora.org>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      db12d647
    • M
      Bluetooth: Change default L2CAP ERTM retransmit timeout · fa235562
      Mat Martineau 提交于
      The L2CAP specification requires that the ERTM retransmit timeout be at
      least 2 seconds for BR/EDR connections.
      Signed-off-by: NMat Martineau <mathewm@codeaurora.org>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      fa235562
  9. 22 7月, 2010 5 次提交
  10. 10 5月, 2010 8 次提交