Matthias Ringwald
|
0defadfba9
|
l2cap: handle negative and invalid information requests during ERTM config
|
2019-08-08 12:24:41 +02:00 |
|
Matthias Ringwald
|
b90eac910b
|
l2cap: limit fragments by remote_mps, send first fragment fully
|
2019-08-07 22:43:27 +02:00 |
|
Matthias Ringwald
|
8f4dd6c139
|
l2cap: stop ertm timers in l2cap_free_channel_entry
|
2019-08-06 17:59:22 +02:00 |
|
Matthias Ringwald
|
b5bab9c804
|
l2cap: stop rtx/ertx timer in l2cap_free_channel_entry
|
2019-08-06 17:52:45 +02:00 |
|
Matthias Ringwald
|
c45d6b2caa
|
l2cap: use l2cap_free_channel_entry to free channel entry
|
2019-08-06 17:40:11 +02:00 |
|
Matthias Ringwald
|
eaeabfda24
|
l2cap: avoid reading l2cap signaling command len out of bounds
|
2019-07-17 11:28:06 +02:00 |
|
Matthias Ringwald
|
e501bae083
|
Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1)
|
2019-05-11 19:31:55 +02:00 |
|
Matthias Ringwald
|
dd3bf36f5a
|
l2cap: mark l2cap_handle_channel_closed and l2cap_emit_channel_opened as CLASSIC only
|
2019-02-08 16:07:44 +01:00 |
|
Matthias Ringwald
|
c342091bde
|
l2cap: use void cast to avoid -Wcast-align warning
|
2019-01-10 15:50:37 +01:00 |
|
Matthias Ringwald
|
61c3f6de95
|
l2cap: fix crash when requesting ERTM but remote does not support ERTM at all
|
2019-01-10 15:42:45 +01:00 |
|
Matthias Ringwald
|
c425ea4ad2
|
l2cap: add fcs_option to ERTM config l2cap_ertm_config_t
|
2019-01-08 09:18:09 +01:00 |
|
Matthias Ringwald
|
66a726407a
|
l2cap: emit L2CAP_EVENT_ERTM_BUFFER_RELEASED if ERTM buffer not needed/used anymore
|
2019-01-07 21:47:59 +01:00 |
|
Matthias Ringwald
|
624873c3b8
|
l2cap: wrap l2cap_emit_opened by l2cap_report_channel_open_failed on error
|
2019-01-07 21:33:58 +01:00 |
|
Matthias Ringwald
|
7f1690cf27
|
l2cap: provide channel mode (basic/ertm) and fcs option in L2CAP_EVENT_CHANNEL_OPENED
|
2019-01-07 20:55:28 +01:00 |
|
Milanka Ringwald
|
9700d53b49
|
l2cap: only check for ertm actions when ertm active
|
2018-12-13 14:39:43 +01:00 |
|
Matthias Ringwald
|
6fff232482
|
remove explicit memset call for buffers from btstack_memory
|
2018-11-23 17:41:43 +01:00 |
|
Matthias Ringwald
|
64cb054c86
|
l2cap: fix use after free with ERTM (close issue #181)
|
2018-11-22 21:55:08 +01:00 |
|
Matthias Ringwald
|
ef2faf5658
|
l2cap ertm: extract l2cap_ertm_retransmit_unacknowleded_frames
|
2018-10-23 16:35:37 +02:00 |
|
Matthias Ringwald
|
e288be62e0
|
l2cap ertm: L2CAP_ERTM_SIMULATE_FCS_ERROR_INTERVAL simulates FCS errors
|
2018-10-23 16:35:37 +02:00 |
|
Matthias Ringwald
|
23f7c1d670
|
l2cap ertm: also send fragment if outgoing fragmment queue is full
|
2018-10-23 16:35:37 +02:00 |
|
Matthias Ringwald
|
a8409e807e
|
l2cap ertm: fix outgoing fragment management
|
2018-10-12 22:06:01 +02:00 |
|
Matthias Ringwald
|
3b81f0d3ad
|
l2cap ertm: fix memory corruption triggered if local_mtu > mps
|
2018-10-04 14:15:17 +02:00 |
|
Matthias Ringwald
|
826c39d019
|
l2cap ertm: allow SDU of szie MPS in first packet that contains L2CAP SDU Length
|
2018-10-03 17:21:11 +02:00 |
|
Matthias Ringwald
|
5dcb6ca761
|
Revert "l2cap ertm: allow SDU of szie MPS in first packet that contains L2CAP SDU Length"
This reverts commit f6fb536452573216b8c12692b87b78ef0221df9e.
|
2018-10-03 17:19:22 +02:00 |
|
Matthias Ringwald
|
f6fb536452
|
l2cap ertm: allow SDU of szie MPS in first packet that contains L2CAP SDU Length
|
2018-10-03 17:16:00 +02:00 |
|
Matthias Ringwald
|
ef07b2dc0f
|
l2cap: fix issue with outgoing connection before read remote supported complete when other channels exist
|
2018-10-02 16:17:13 +02:00 |
|
Matthias Ringwald
|
e5ac0afc45
|
l2cap: improve debug output
|
2018-10-02 14:12:55 +02:00 |
|
Milanka Ringwald
|
1ea99aaf8a
|
l2cap: fix prototype
|
2018-09-25 22:40:08 +02:00 |
|
Matthias Ringwald
|
fcfc50220b
|
Revert "l2cap: send request for extended features only once"
This reverts commit 04a731541f3756f03c8bb033103ef60eaa9d89e1.
|
2018-09-25 16:25:01 +02:00 |
|
Matthias Ringwald
|
04a731541f
|
l2cap: send request for extended features only once
|
2018-09-25 15:47:23 +02:00 |
|
Matthias Ringwald
|
93d791b29f
|
l2cap: check can send now before sending extended information request needed for ERTM mode
|
2018-09-25 15:45:35 +02:00 |
|
Matthias Ringwald
|
fe8aebe6c4
|
l2cap: use valid signaling identifier for L2CAP Connection Parameter Update Request
|
2018-09-12 16:21:14 +02:00 |
|
Matthias Ringwald
|
eea99214d9
|
l2cap: evaluate 'can send now' on HCI Disconnect as ACL buffers in Bluetooth Controller have been used for the closed connection are freed implicitly
|
2018-09-11 08:27:33 +02:00 |
|
Matthias Ringwald
|
ece97caeac
|
l2cap: track address of outgoing classic connections and treat error as connection failure
|
2018-09-03 19:20:27 +02:00 |
|
Matthias Ringwald
|
f299206d43
|
l2cap: fix emitted L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST
|
2018-08-23 12:08:14 +02:00 |
|
Matthias Ringwald
|
9909e5e4c9
|
l2cap: add missing switch break
|
2018-05-17 16:42:06 +02:00 |
|
Matthias Ringwald
|
4e6fa3a2bb
|
l2cap: annotate API - prepared buffer can only be used for L2CAP Basic Mode
|
2018-04-30 11:51:28 +02:00 |
|
Matthias Ringwald
|
600cf12d83
|
l2cap: reset num unacked frames on S-REJ
|
2018-04-24 15:55:40 +02:00 |
|
Matthias Ringwald
|
ab43034bb4
|
Merge pull request #125 from andryblack/build_without_ble
Fix build without BLE support
|
2018-04-13 17:11:09 +02:00 |
|
andryblack
|
3e329ddf9d
|
fix build without BLE
|
2018-04-13 01:54:56 +03:00 |
|
Matthias Ringwald
|
e0780573cb
|
l2cap: fix warning about non-existant connection with hande 0x000
|
2018-04-11 12:38:31 +02:00 |
|
Matthias Ringwald
|
15eeb0057d
|
Merge pull request #102 from andryblack/fix_overflow
l2cap: fix buffer overflow for l2cap config options
|
2018-04-07 11:42:54 +02:00 |
|
Matthias Ringwald
|
73cd8a2ad6
|
gap: handle HCI_SUBEVENT_LE_REMOTE_CONNECTION_PARAMETER_REQUEST
|
2018-04-06 14:40:38 +02:00 |
|
Matthias Ringwald
|
13aa3e4b90
|
l2cap: fix compile for LE-only with LE Data Channels
|
2018-04-04 10:39:39 +02:00 |
|
Matthias Ringwald
|
24eb964e4e
|
l2cap: fix compile for le-only
|
2018-02-05 15:57:21 +01:00 |
|
Matthias Ringwald
|
f68b21d788
|
l2cap: remove unnecessarry casts
|
2018-02-05 15:30:55 +01:00 |
|
Matthias Ringwald
|
7740e150a7
|
l2cap: round robin over all channel types (classic, le data channel, fixed)
|
2018-02-05 15:19:00 +01:00 |
|
Matthias Ringwald
|
fad84caf30
|
l2cap: manage fixed channels for ATT, SM, and Connectionless Data in l2cap_fixed_channel_t and keep in unified channels list
|
2018-02-05 15:19:00 +01:00 |
|
Matthias Ringwald
|
421cb1044d
|
l2cap: keep classic and le data channels in single channel list
|
2018-02-05 15:19:00 +01:00 |
|
Matthias Ringwald
|
5d18f62371
|
l2cap: define l2cap_channel_type_t and set for new channels
|
2018-02-05 15:19:00 +01:00 |
|