This closes #206. Merge remote-tracking branch 'rymanluk/fix_l2cap_coc_locking'
* rymanluk/fix_l2cap_coc_locking: nimble/l2cap: Add PTS instructions for LE CoC and run all the testcases nimble/pts: Update pts files due to L2CAP LE CoC nimble/l2cap: Add initial unit tests for LE CoC nimble/l2cap: Fix hs locking issue when sending le_credit_update nimble/l2cap: Fix logs on LE CoC receive data nimble/l2cap: Fix for reject incoming LE CoC channel nimble/l2cap: Fix locking on incoming LE CoC connect request nimble/l2cap: Fix locking on LE CoC connect nimble/l2cap: Fix locking when receiving LE CoC credit update Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/f6605c2a Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/f6605c2a Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/f6605c2a Branch: refs/heads/master Commit: f6605c2ab4a664fee54f13eb0b0fc091baf1fde2 Parents: 0044231 b907e7d Author: Christopher Collins <[email protected]> Authored: Mon Apr 10 17:25:05 2017 -0700 Committer: Christopher Collins <[email protected]> Committed: Mon Apr 10 17:25:05 2017 -0700 ---------------------------------------------------------------------- net/nimble/host/pts/pts-l2cap.txt | 75 +- .../host/pts/tpg/90359-20161220-172100175.tpg | 1022 ----------------- .../host/pts/tpg/90359-20161220-172113981.pts | 288 ----- .../host/pts/tpg/94654-20170317-085122560.tpg | 1026 ++++++++++++++++++ .../host/pts/tpg/94654-20170317-085441153.pts | 289 +++++ net/nimble/host/src/ble_l2cap_coc.c | 21 +- net/nimble/host/src/ble_l2cap_sig.c | 20 +- net/nimble/host/src/ble_l2cap_sig_priv.h | 3 +- net/nimble/host/test/src/ble_hs_test_util.c | 73 ++ net/nimble/host/test/src/ble_hs_test_util.h | 7 + net/nimble/host/test/src/ble_l2cap_test.c | 696 +++++++++++- net/nimble/host/test/syscfg.yml | 1 + 12 files changed, 2174 insertions(+), 1347 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f6605c2a/net/nimble/host/src/ble_l2cap_sig_priv.h ----------------------------------------------------------------------
