1. 08 11月, 2011 1 次提交
    • A
      Bluetooth: EFS: implement L2CAP config pending state · 0e8b207e
      Andrei Emeltchenko 提交于
      Add L2CAP Config Pending state for EFS. Currently after receiving
      Config Response Pending respond with Config Response Success.
      
      ...
      > ACL data: handle 1 flags 0x02 dlen 16
          L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
            Connection successful
      > ACL data: handle 1 flags 0x02 dlen 45
          L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 33
            RFC 0x03 (Enhanced Retransmission, TxWin 63, MaxTx 3, RTo 0, MTo 0, MPS 1009)
            EFS (Id 0x01, SerType Best Effort, MaxSDU 0xffff, SDUitime 0xffffffff,
                AccLat 0xffffffff, FlushTO 0x0000ffff)
      < ACL data: handle 1 flags 0x00 dlen 45
          L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 33
            RFC 0x03 (Enhanced Retransmission, TxWin 63, MaxTx 3, RTo 0, MTo 0, MPS 498)
            EFS (Id 0x01, SerType Best Effort, MaxSDU 0xffff, SDUitime 0xffffffff,
                AccLat 0xffffffff, FlushTO 0x0000ffff)
      < ACL data: handle 1 flags 0x00 dlen 47
          L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 4 clen 33
            Pending
            MTU 672
            RFC 0x03 (Enhanced Retransmission, TxWin 63, MaxTx 3, RTo 2000, MTo 12000, MPS 498)
            EFS (Id 0x01, SerType Best Effort, MaxSDU 0xffff, SDUitime 0xffffffff,
                AccLat 0xffffffff, FlushTO 0x0000ffff)
      > ACL data: handle 1 flags 0x02 dlen 47
          L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 4 clen 33
            Pending
            MTU 672
            RFC 0x03 (Enhanced Retransmission, TxWin 63, MaxTx 3, RTo 2000, MTo 12000, MPS 498)
            EFS (Id 0x01, SerType Best Effort, MaxSDU 0xffff, SDUitime 0xffffffff,
                AccLat 0xffffffff, FlushTO 0x0000ffff)
      > ACL data: handle 1 flags 0x02 dlen 14
          L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
            Success
      < ACL data: handle 1 flags 0x00 dlen 14
          L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
            Success
      < ACL data: handle 1 flags 0x00 dlen 510
          L2CAP(d): cid 0x0040 len 506 ext_ctrl 0x00010000 fcs 0xebe0 [psm 4113]
            I-frame: Start (len 672) TxSeq 0 ReqSeq 0
      ...
      Signed-off-by: NAndrei Emeltchenko <andrei.emeltchenko@intel.com>
      Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
      0e8b207e
  2. 18 10月, 2011 5 次提交
  3. 14 10月, 2011 11 次提交
  4. 11 10月, 2011 4 次提交
  5. 07 10月, 2011 1 次提交
  6. 28 9月, 2011 2 次提交
  7. 21 9月, 2011 4 次提交
  8. 12 8月, 2011 1 次提交
  9. 17 7月, 2011 2 次提交
    • I
      Bluetooth: Fix crash with incoming L2CAP connections · 05e9a2f6
      Ilia Kolomisnky 提交于
      Another regression fix considering incomming l2cap connections with
      defer_setup enabled. In situations when incomming connection is
      extracted with l2cap_sock_accept, it's bt_sock info will have
      'parent' member zerroed, but 'parent' may be used unconditionally
      in l2cap_conn_start() and l2cap_security_cfm() when defer_setup
      is enabled.
      
      Backtrace:
      [<bf02d5ac>] (l2cap_security_cfm+0x0/0x2ac [bluetooth]) from [<bf01f01c>] (hci_event_pac
      ket+0xc2c/0x4aa4 [bluetooth])
      [<bf01e3f0>] (hci_event_packet+0x0/0x4aa4 [bluetooth]) from [<bf01a844>] (hci_rx_task+0x
      cc/0x27c [bluetooth])
      [<bf01a778>] (hci_rx_task+0x0/0x27c [bluetooth]) from [<c008eee4>] (tasklet_action+0xa0/
      0x15c)
      [<c008ee44>] (tasklet_action+0x0/0x15c) from [<c008f38c>] (__do_softirq+0x98/0x130)
       r7:00000101 r6:00000018 r5:00000001 r4:efc46000
      [<c008f2f4>] (__do_softirq+0x0/0x130) from [<c008f524>] (do_softirq+0x4c/0x58)
      [<c008f4d8>] (do_softirq+0x0/0x58) from [<c008f5e0>] (run_ksoftirqd+0xb0/0x1b4)
       r4:efc46000 r3:00000001
      [<c008f530>] (run_ksoftirqd+0x0/0x1b4) from [<c009f2a8>] (kthread+0x84/0x8c)
       r7:00000000 r6:c008f530 r5:efc47fc4 r4:efc41f08
      [<c009f224>] (kthread+0x0/0x8c) from [<c008cc84>] (do_exit+0x0/0x5f0)
      Signed-off-by: NIlia Kolomisnky <iliak@ti.com>
      Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      05e9a2f6
    • G
      Bluetooth: Fix regression in L2CAP connection procedure · 9191e6ad
      Gustavo F. Padovan 提交于
      Caused by the following commit, partially revert it.
      
      commit 9fa7e4f7
      Author: Gustavo F. Padovan <padovan@profusion.mobi>
      Date:   Thu Jun 30 16:11:30 2011 -0300
      
          Bluetooth: Fix regression with incoming L2CAP connections
      
          PTS test A2DP/SRC/SRC_SET/TC_SRC_SET_BV_02_I revealed that
          ( probably after the df3c3931 commit ) the l2cap connection
          could not be established in case when the "Auth Complete" HCI
          event does not arive before the initiator send "Configuration
          request", in which case l2cap replies with "Command rejected"
          since the channel is still in BT_CONNECT2 state.
      Signed-off-by: NLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
      Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9191e6ad
  10. 11 7月, 2011 1 次提交
  11. 09 7月, 2011 1 次提交
  12. 08 7月, 2011 3 次提交
  13. 02 7月, 2011 2 次提交
  14. 01 7月, 2011 2 次提交