matthias.ringwald
|
3a9e0a5899
|
note to myself
|
2010-09-10 19:44:07 +00:00 |
|
matthias.ringwald
|
4e32727e89
|
break after finding the correct channel. fixes issue #76 - thanks to murerten for this fix
|
2010-09-10 19:35:51 +00:00 |
|
matthias.ringwald
|
9775e25bf2
|
consider max acl buffer in Bluetooth module as upper bound for l2cap mtu
|
2010-09-03 20:17:26 +00:00 |
|
matthias.ringwald
|
eb920dbead
|
if l2cap connection fails, drop channel immediately. if connection fails due to security block, drop link key, too
|
2010-08-30 19:06:13 +00:00 |
|
matthias.ringwald
|
80ca58a00d
|
keep baseband connection during authentication
|
2010-08-26 20:26:48 +00:00 |
|
matthias.ringwald
|
2060cf1463
|
don't confuse myself
|
2010-08-23 21:23:17 +00:00 |
|
matthias.ringwald
|
15ec09bb89
|
re-wrote iterate over linked list and delete element code
|
2010-08-23 21:03:40 +00:00 |
|
matthias.ringwald
|
4c744e2140
|
use constant for NR_BUFFERED_ACL_PACKETS and increase to 3
|
2010-08-16 17:04:39 +00:00 |
|
matthias.ringwald
|
7af1ca8593
|
allow for 3- and 5-slot packets
|
2010-08-10 20:51:51 +00:00 |
|
matthias.ringwald
|
15470d2718
|
allow specify MTU for outgoing l2cap connections (was 150 before)
|
2010-08-10 20:43:55 +00:00 |
|
matthias.ringwald
|
fa2b26270d
|
use user specified MTU instead of 150
|
2010-08-10 19:29:16 +00:00 |
|
matthias.ringwald
|
fe35119d8a
|
mark hci cmd templates as const to save RAM
|
2010-08-08 18:10:45 +00:00 |
|
matthias.ringwald
|
91b99603ac
|
grant new credits right after receiving previous packet
|
2010-08-01 09:18:34 +00:00 |
|
matthias.ringwald
|
a59fb47b50
|
removed another log statement
|
2010-07-31 20:38:10 +00:00 |
|
matthias.ringwald
|
8ea03fa513
|
flow control working, disable some dbg msgs
|
2010-07-31 09:07:48 +00:00 |
|
matthias.ringwald
|
0e7bc007cb
|
fix compile
|
2010-07-30 20:23:55 +00:00 |
|
matthias.ringwald
|
c3b820cfe6
|
only grant credits on open connections
|
2010-07-30 20:21:19 +00:00 |
|
matthias.ringwald
|
8d371091e8
|
handle number of completed packets and hand out credits
|
2010-07-30 19:17:41 +00:00 |
|
matthias.ringwald
|
6218e6f12b
|
add counters for flow control, channel credits event, return -1 if no space in BT module
|
2010-07-29 19:35:34 +00:00 |
|
matthias.ringwald
|
11c41d51ae
|
use buffers of size 1021 to fit 3-DH5 ACL packets, check buffer for SDP responses
|
2010-07-25 12:28:23 +00:00 |
|
matthias.ringwald
|
6b296a2712
|
allow to set packet handler for internal l2cap connections
|
2010-07-19 18:02:02 +00:00 |
|
matthias.ringwald
|
36944dff77
|
remove dependency on socket_connection.h in l2cap
|
2010-07-19 17:50:59 +00:00 |
|
matthias.ringwald
|
b502e1b06d
|
use single packet handler per protocol layer: l2cap
|
2010-07-18 17:05:56 +00:00 |
|
matthias.ringwald
|
2718e2e7a1
|
use single packet handler per protocol layer: hci
|
2010-07-18 16:30:16 +00:00 |
|
matthias.ringwald
|
78a6f10031
|
fix unbelievable hard code for deleting items in linked list while iterating over it
|
2010-07-17 18:39:51 +00:00 |
|
matthias.ringwald
|
39ce35a7ca
|
fix list removal while iterating over it
|
2010-07-17 16:59:35 +00:00 |
|
matthias.ringwald
|
10642e45f5
|
fix compile warning - add default clause
|
2010-07-04 16:25:56 +00:00 |
|
matthias.ringwald
|
b7de95da8c
|
fix compile warning
|
2010-07-04 16:23:44 +00:00 |
|
matthias.ringwald
|
3de7c0ca8d
|
correct get mtu from configure request
|
2010-06-18 21:36:14 +00:00 |
|
matthias.ringwald
|
96cbd66294
|
added l2cap_get_remote_mtu_for_local_cid
|
2010-06-18 20:31:05 +00:00 |
|
matthias.ringwald
|
1dc511dea6
|
extrat MTU from configure request if present, send empty config in configure repsonse instead of options from configure request
|
2010-06-18 20:21:52 +00:00 |
|
matthias.ringwald
|
2784b77d47
|
add remote_mtu to l2cap_channel_t, extract l2cap_signaling_handle_configure_request
|
2010-06-18 20:00:05 +00:00 |
|
matthias.ringwald
|
f79ee2445a
|
fix swapped source and destination channel IDs in L2CAP DISCONNECTION_RESPONSE
|
2010-06-16 18:57:58 +00:00 |
|
matthias.ringwald
|
69025de84f
|
streamline deletion code
|
2010-06-13 21:27:47 +00:00 |
|
matthias.ringwald
|
5d5a55f27c
|
really fix unregister service for closed connection
|
2010-06-12 10:06:45 +00:00 |
|
matthias.ringwald
|
f2efebcde5
|
fix service remove from linked list
|
2010-06-09 18:24:06 +00:00 |
|
matthias.ringwald
|
58de561001
|
also dispatch L2CAP DATA packets
|
2010-06-09 16:05:50 +00:00 |
|
matthias.ringwald
|
f8dd2f72bd
|
pass on packet_handler from service to channel struct, pass on local_cid for l2cap events
|
2010-06-09 15:53:07 +00:00 |
|
matthias.ringwald
|
d8497f1904
|
provider param for packet handler in service registry
|
2010-06-09 15:39:55 +00:00 |
|
matthias.ringwald
|
1b0354c019
|
call into internal l2cap handler if specified for events
|
2010-06-09 15:33:55 +00:00 |
|
matthias.ringwald
|
b5a49eb182
|
introduce a packet handler pointer to l2cap services and channels, unset for now
|
2010-06-09 15:31:46 +00:00 |
|
matthias.ringwald
|
00d93d799a
|
handle multiple commands in a L2CAP sinaling packet
|
2010-06-08 18:45:45 +00:00 |
|
matthias.ringwald
|
6cc9dcee8d
|
extract primary l2cap signaling handler
|
2010-05-26 20:06:53 +00:00 |
|
matthias.ringwald
|
4da22db5dc
|
respond to L2CAP ECHO_REQUEST and INFORMATION_REQUEST
|
2010-05-25 20:01:46 +00:00 |
|
matthias.ringwald
|
0d5a78db31
|
Refactor L2CAP data and event send
|
2010-04-05 22:47:52 +00:00 |
|
matthias.ringwald
|
037d6e4837
|
really unregister service
|
2010-03-25 19:19:17 +00:00 |
|
matthias.ringwald
|
8149d2c7c9
|
fix crash on app exit
|
2010-03-14 16:28:18 +00:00 |
|
matthias.ringwald
|
b35f641c7f
|
clarify use of source_cid and dest_cid - use only for signal packets and use local_cid and remote_cid otherwise - fixes bug in incoming l2cap connection handling
|
2010-03-04 23:03:40 +00:00 |
|
matthias.ringwald
|
2b3c6c9bc6
|
add missing include
|
2010-02-13 15:13:07 +00:00 |
|
matthias.ringwald
|
2289ec97a0
|
also log internal l2cap events
|
2010-02-09 21:33:35 +00:00 |
|