380 Commits

Author SHA1 Message Date
matthias.ringwald
75e651ceb3 remove accidental copy and paste 2010-08-26 20:28:16 +00:00
matthias.ringwald
80ca58a00d keep baseband connection during authentication 2010-08-26 20:26:48 +00:00
matthias.ringwald
7fde4af91d keep track of authentication commands and events 2010-08-26 20:12:05 +00:00
matthias.ringwald
3c8915c014 also mkdir -p /bin - thanks rac 2010-08-24 08:37:34 +00:00
matthias.ringwald
811257fe2e use same mode for add/remove runloop source 2010-08-23 22:47:26 +00:00
matthias.ringwald
d50e365c24 try to avoid SIGPIPE 2010-08-23 22:46:53 +00:00
matthias.ringwald
2060cf1463 don't confuse myself 2010-08-23 21:23:17 +00:00
matthias.ringwald
8d408fe22c fix type 2010-08-23 21:05:56 +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
8a485f27d7 set local name to hostname 2010-08-21 22:33:09 +00:00
matthias.ringwald
2c4a8e6a17 put h4_reader_process into USE_HCI_READER_THREAD part 2010-08-20 18:55:25 +00:00
matthias.ringwald
0c806b9a9e implemented HCI reader thread to handle fd where select doesn't work - work in progress 2010-08-19 22:54:20 +00:00
matthias.ringwald
556c0f73d1 get transport-speed from IORegistry and use it if baudrate == 0 2010-08-19 18:39:17 +00:00
matthias.ringwald
b90ae666ea don't return error when write fails, just wait and try again - kudos to Eric for pointing out this flaw 2010-08-16 17:26:46 +00:00
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