616 Commits

Author SHA1 Message Date
matthias.ringwald
622d0de9a0 streamline hci_transport interface: only have single send_packet(type,data,size) 2010-08-16 17:23:22 +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
d960624e9e really use l2cap_create_channel_mtu 2010-08-10 21:04:44 +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
df33c7a6dc add const to hci_cmd_t for bt_send_cmd, too. Add C++ link protection to public headers 2010-08-08 18:17:48 +00:00
matthias.ringwald
fe35119d8a mark hci cmd templates as const to save RAM 2010-08-08 18:10:45 +00:00
matthias.ringwald
856c7144e5 added bzero for embedded systems 2010-08-08 17:59:59 +00:00
matthias.ringwald
2f6c30e14b correct custom init calling code 2010-08-05 20:37:33 +00:00
matthias.ringwald
f9a30166ed removed bt_control_t null_control 2010-08-05 20:23:06 +00:00
matthias.ringwald
9091920332 send custom init code if nececessary 2010-08-05 20:13:02 +00:00
matthias.ringwald
77c915711e add function to allow custom BT module initialization 2010-08-05 20:04:03 +00:00
matthias.ringwald
866d626ba4 add bzero for embedded targets 2010-08-03 19:57:39 +00:00
matthias.ringwald
65793526c2 fully noop dump timers 2010-08-03 19:47:36 +00:00
matthias.ringwald
b114010b51 send output to correct stream, fix C99 compile problem 2010-08-03 19:46:08 +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
59ebb2f8a4 implement draft of socket_connection_retry_parked 2010-07-29 20:02:52 +00:00
matthias.ringwald
6a38fc08d9 added linked_list_empty 2010-07-29 19:46:12 +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
19ea7a646d park connection, if dispatch fails 2010-07-29 18:38:41 +00:00
matthias.ringwald
8dd67f0fa9 add list of parked conenctions 2010-07-29 18:31:55 +00:00
matthias.ringwald
7cd486c7a1 added linked_list_add_tail to append at end of list 2010-07-29 18:23:08 +00:00
matthias.ringwald
1e67635ac4 defined socket_connection_retry_parked_random() to re-dispatch packets previously received 2010-07-28 21:20:42 +00:00
matthias.ringwald
998906cd83 track number of outgoing packets in BT module 2010-07-28 19:12:39 +00:00
matthias.ringwald
56cf178b4d keep track of ACL packets in controller 2010-07-25 15:51:03 +00:00
matthias.ringwald
e2edc0c398 read buffer size on hci init 2010-07-25 15:11:33 +00:00
matthias.ringwald
3ba22b71f3 use buffers of size 1021 to fit 3-DH5 ACL packets 2010-07-25 14:34:10 +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
47f1a3c4d8 also dump strings in service records 2010-07-25 12:25:30 +00:00
matthias.ringwald
6b296a2712 allow to set packet handler for internal l2cap connections 2010-07-19 18:02:02 +00:00
matthias.ringwald
81aa29cbfd remove dependency on socket_connection.h in sdp 2010-07-19 17:53:46 +00:00
matthias.ringwald
36944dff77 remove dependency on socket_connection.h in l2cap 2010-07-19 17:50:59 +00:00
matthias.ringwald
3b1127e247 re-route hci event handling 2010-07-18 17:14:11 +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
10e830c982 use single packet handler per protocol layer: hci_transport 2010-07-18 16:14:55 +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
eaf0c42fae keep some test code 2010-07-17 16:58:54 +00:00
matthias.ringwald
94173b5450 prevent segfault by only copying strlen(ptr) for Bluetooth name - thanks to akolhlsmith for detecting this 2010-07-06 18:13:54 +00:00
matthias.ringwald
ad888e05a6 prevent segfault by only copying strlen(ptr) for Bluetooth name - thanks to akolhlsmith for detecting this 2010-07-06 18:10:25 +00:00
matthias.ringwald
524c7189ed include config.h to get HAVE_SDP 2010-07-06 16:39:30 +00:00
matthias.ringwald
8f7e9afb15 include config.h to get HAVE_SDP 2010-07-06 16:37:46 +00:00
matthias.ringwald
abf7f7c6bf fix attribute list traversal 2010-07-05 20:58:26 +00:00