Matthias Ringwald
|
dae76da43b
|
l2cap: use next signaling id for echo request
|
2021-02-22 17:28:38 +01:00 |
|
Matthias Ringwald
|
d7f7a5c374
|
l2cap: make handling of hci disconnect more robust
|
2021-02-03 17:34:55 +01:00 |
|
Matthias Ringwald
|
298c2fec55
|
l2cap: split l2cap_hci_event_handler
|
2021-02-01 19:11:19 +01:00 |
|
Matthias Ringwald
|
1dbbb889f1
|
l2cap: push state check into l2cap_handle_disconnect_request
|
2021-02-01 18:44:36 +01:00 |
|
Matthias Ringwald
|
9305033e02
|
MISRAC2012-Rule-14.4_c: compare against 0 or NULL
|
2021-02-01 15:15:55 +01:00 |
|
Matthias Ringwald
|
b5bbcbf411
|
fix build
|
2021-01-19 10:51:31 +01:00 |
|
Matthias Ringwald
|
a0549bf12c
|
l2cap: support de-init
|
2021-01-18 21:34:56 +01:00 |
|
Matthias Ringwald
|
47a155880c
|
l2cap: support ENABLE_EXPLICIT_CONNECTABLE_MODE_CONTROL
|
2020-12-18 15:17:31 +01:00 |
|
Matthias Ringwald
|
17b0e9ff31
|
l2cap: fix packet size check for incoming classic basic channels (regression introduced in v1.2.1)
|
2020-12-11 17:09:45 +01:00 |
|
Matthias Ringwald
|
e883851f1d
|
fix warnings for log_info/printf
|
2020-11-30 11:59:26 +01:00 |
|
Matthias Ringwald
|
0763891b99
|
l2cap: check packet size against local mtu for classic basic channels
|
2020-11-25 09:30:13 +01:00 |
|
Matthias Ringwald
|
4fc83f45ae
|
l2cap: forward data only in open state
|
2020-11-25 09:30:13 +01:00 |
|
Matthias Ringwald
|
7d5c2f20da
|
l2cap: use connection handle for channel lookup
|
2020-11-25 09:30:13 +01:00 |
|
Matthias Ringwald
|
18ef5dfc3c
|
l2cap.c, hfp_ag.c: remove duplicate function defintions
|
2020-11-20 09:21:49 +01:00 |
|
Matthias Ringwald
|
48f33f37eb
|
fix unused warnings
|
2020-11-07 17:31:32 +01:00 |
|
Matthias Ringwald
|
5cc4b88585
|
l2cap: trigger pairing for outgoing LE Data Channels if security level insufficient
|
2020-11-02 12:33:17 +01:00 |
|
Milanka Ringwald
|
7bbeb3ad8c
|
add missing default switch cases
|
2020-10-27 13:44:55 +01:00 |
|
Matthias Ringwald
|
24fd61d9d3
|
l2cap: streamline security level request for outgoing classic connections
|
2020-10-26 18:28:26 +01:00 |
|
Matthias Ringwald
|
4ea43905e8
|
MISRAC2012-Rule-10.4_a: append 'u' to constant literals when used in unsigned expressions or comparisons
|
2020-07-23 12:36:33 +02:00 |
|
Matthias Ringwald
|
9192020a66
|
remove <stdio.h>, <stdlib.h> and printf from most core files
|
2020-07-07 22:52:12 +02:00 |
|
Matthias Ringwald
|
3aabc0d9d2
|
l2cap: trigger connection also read remote extended features complete event
|
2020-06-03 12:27:16 +02:00 |
|
Matthias Ringwald
|
0d1523fec6
|
fix warnings
|
2020-05-14 14:41:17 +02:00 |
|
Matthias Ringwald
|
78315a5857
|
GAP: gap_set_security_level sets required security level for incoming and outgoing connections
|
2020-05-08 15:49:50 +02:00 |
|
Matthias Ringwald
|
da4c2b27ab
|
l2cap: append new created channel entries at the end of the list to preserve order of first signaling response
|
2020-05-06 16:30:57 +02:00 |
|
Matthias Ringwald
|
0ad3603fa1
|
l2cap: send extended features request only once per hci connection
|
2020-05-06 15:54:44 +02:00 |
|
Matthias Ringwald
|
6ddb7e9c36
|
l2cap: revert 5fe48d6 due to regression
|
2020-05-05 19:46:59 +02:00 |
|
Matthias Ringwald
|
59607b77e5
|
l2cap: revert 5fe48d6 due to regression
|
2020-04-16 15:51:23 +02:00 |
|
Matthias Ringwald
|
273692f274
|
l2cap: fix unused var in l2cap_run
|
2020-04-14 15:44:58 +02:00 |
|
Matthias Ringwald
|
c80ea152d7
|
l2cap: extract l2cap_run_for_classic_channel_ertm
|
2020-04-14 11:59:03 +02:00 |
|
Matthias Ringwald
|
5fe48d63a1
|
l2cap: move can send acl packet now check in front of switch of l2cap_run_for_classic_channel
|
2020-04-14 11:59:02 +02:00 |
|
Matthias Ringwald
|
ea6a43fa4b
|
l2cap: split l2cap_run into sub statemachines
|
2020-04-14 11:59:02 +02:00 |
|
Matthias Ringwald
|
b4eb44208c
|
hci: gap_set_allow_role_switch allows to prevent role switch in outgoing classic ACL connections
|
2020-04-02 21:51:56 +02:00 |
|
Matthias Ringwald
|
bbc80a48cd
|
l2cap: request security level 2 for both SSP and non-SSP connections
|
2020-04-01 10:34:46 +02:00 |
|
Matthias Ringwald
|
8d783ab1e6
|
l2cap: fix compile
|
2020-01-23 11:07:27 +01:00 |
|
Matthias Ringwald
|
0b667d4199
|
l2cap: extract l2cap_acl_classic_handler_for_channel
|
2020-01-13 17:21:10 +01:00 |
|
Matthias Ringwald
|
a3b9c6207b
|
l2cap: remove unneccessary break
|
2020-01-13 17:12:52 +01:00 |
|
Matthias Ringwald
|
3a600bd4d7
|
l2cap: extract l2cap_run_for_classic_channel
|
2020-01-13 16:54:03 +01:00 |
|
Matthias Ringwald
|
951d9d0781
|
l2cap: reduce level in l2cap_run for ertm handling
|
2020-01-13 16:54:03 +01:00 |
|
Matthias Ringwald
|
817374d931
|
l2cap: use remove channel from linked list without iterator
|
2020-01-13 16:54:03 +01:00 |
|
Matthias Ringwald
|
75e67d8a2b
|
l2cap: avoid read-after-free on decline of incoming connection with ERTM enabled
|
2020-01-13 16:54:03 +01:00 |
|
Matthias Ringwald
|
57a9eeaef5
|
l2cap: fix creation of multiple outgoing l2cap channels (pull request #205)
|
2019-12-09 11:43:26 +01:00 |
|
Matthias Ringwald
|
ff3cc4a537
|
MISRAC2012-Rule-14.4_d: use while(true) instead of while(1)
|
2019-12-03 12:52:10 +01:00 |
|
Matthias Ringwald
|
6535961a1f
|
ignore memcpy return value (always returns first parameter)
|
2019-12-02 18:17:20 +01:00 |
|
Matthias Ringwald
|
e53a3388dc
|
ISRAC2012-Rule-12.1: add suggested parentheses
|
2019-11-19 16:37:16 +01:00 |
|
Matthias Ringwald
|
505f1c302f
|
ISRAC2012-Rule-12.1: add suggested parentheses
|
2019-11-19 16:04:15 +01:00 |
|
Matthias Ringwald
|
c1ab6cc1be
|
MISRAC2012-Rule-12.1: add suggested parentheses
|
2019-11-19 14:31:48 +01:00 |
|
Milanka Ringwald
|
9dd26175d6
|
l2cap: fix build
|
2019-11-15 11:51:30 +01:00 |
|
Milanka Ringwald
|
c8b2b78562
|
l2cap: return ERROR_CODE_SUCCESS instead of 0 as status [a2378]
|
2019-11-15 11:51:30 +01:00 |
|
Matthias Ringwald
|
d89ab698de
|
l2cap: send ertm i-frames round robin with other data packets
|
2019-11-08 15:49:43 +01:00 |
|
Matthias Ringwald
|
6774d5c927
|
l2cap: send le data channel sdus round robin with att packets
|
2019-11-08 11:58:36 +01:00 |
|