35 Commits

Author SHA1 Message Date
Matthias Ringwald
06c6f94c1f libusb: avoid use-after-free by not holding a pointer to next transfer when calling packet handler 2019-06-12 15:51:00 +02:00
Matthias Ringwald
410cddbe55 libusb: fix compile and skip resetting device on freebsd 2019-05-11 22:25:24 +02:00
Matthias Ringwald
e501bae083 Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1) 2019-05-11 19:31:55 +02:00
Matthias Ringwald
2bdb9b6d2e libusb: gracefully disable SCO over HCI if interface 1 cannot be claimed 2019-03-29 22:31:56 +01:00
Matthias Ringwald
d91f788f55 libusb: whitelist vendor/product id from Zephyr running hci_usb example 2019-03-29 16:47:47 +01:00
Matthias Ringwald
6f7dfc693b libusb: check libusb_reset_device result 2019-01-23 09:18:29 +01:00
Milanka Ringwald
6fc6dfec01 libusb: check result of scan_for_bt_endpoints 2018-12-06 21:22:23 +01:00
Milanka Ringwald
696b00c829 libusb: pass libusb_device to scan_for_bt_endpoints 2018-12-06 21:18:46 +01:00
Matthias Ringwald
c77e7c454e initialze other malloc'ed memory 2018-11-23 18:02:27 +01:00
Matthias Ringwald
d2b52257dc libusb/winusb: track open/close state 2018-09-24 09:59:04 +02:00
Matthias Ringwald
bc71fcbb5e libusb/windows-winusb: add BCM20702B0 2018-06-20 12:09:41 +02:00
Matthias Ringwald
6483160777 libusb: use libusb_set_option(..,LIBUSB_OPTION_LOG_LEVEL,..) instead of libusb_set_debug(..) from libusb 1.0.22+ 2018-06-03 20:58:39 +02:00
Matthias Ringwald
8644aff041 libusb: use timeout for hci transfer cancel 2017-08-18 16:30:06 +02:00
Matthias Ringwald
42a4782619 libusb: only cancel valid transfer 2017-08-18 15:58:35 +02:00
Matthias Ringwald
ee6b16138c test: fix compile. libusb: fix warning 2017-07-04 17:38:30 +02:00
Milanka Ringwald
b0920f2551 fix warnings in bluedroid and avdtp 2017-05-27 17:39:23 +02:00
Matthias Ringwald
9786b3a9cd libusb: make iso_packet_size_for_alt_setting private 2017-05-18 15:15:46 +02:00
Matthias Ringwald
ab2c6ae4b7 tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__ 2017-03-24 23:39:20 +01:00
Matthias Ringwald
f64229a083 libusb: use appropriate iso packet size for alternate setting 2017-01-20 22:26:57 +01:00
Matthias Ringwald
c6f9dc916d libusb: pick alt setting based on voice settings/num connections 2017-01-19 18:10:47 +01:00
Matthias Ringwald
2117d3a5b1 libusb: dynamically set alternate setting for interface #1 2017-01-19 17:55:42 +01:00
Matthias Ringwald
56e558dbc2 libusb: start/stop isochronous transfers when SCO connections change 2017-01-19 17:44:52 +01:00
Matthias Ringwald
ee752bb8db hci_transport: add set_sco_config and call when nr. of SCO connections changes 2017-01-19 17:05:43 +01:00
Matthias Ringwald
47184392b9 libusb: remove debug msg for sco cancel on shutdown 2017-01-19 14:09:28 +01:00
Matthias Ringwald
f34d119bfa libusb: use alternate setting 1 for now, add table for iso packet size for each alt setting 2017-01-19 12:12:25 +01:00
Matthias Ringwald
eef5d8269f libusb: fix compile without sco over hci 2017-01-14 22:23:38 +01:00
Matthias Ringwald
ee73ad13c7 libusb: streamline names for different packet types and transfers 2017-01-11 10:29:27 +01:00
Matthias Ringwald
9ec2630ce4 fix unused parameters warning 2016-12-22 22:16:16 +01:00
Matthias Ringwald
1f4116c166 libusb: fix compile 2016-12-05 22:38:19 +01:00
Joep Moritz
a09e374ceb libusb: cancel outstanding SCO transfers, too. 2016-12-05 22:18:32 +01:00
Matthias Ringwald
fd9ea8fd04 libusb: fix compile on windows 2016-11-27 17:01:51 +01:00
Matthias Ringwald
1b2aa976d8 libusb: properly cancel outstanding transfers 2016-11-23 23:15:02 +01:00
Matthias Ringwald
ff964d8e0b libusb: move hci_transport_h2_libusb.c into platform/libusb to fix compile daemon with h2 2016-09-28 09:39:37 +02:00
Matthias Ringwald
8caefee39d separate platform specific code and ports for a particular setup 2015-11-13 10:18:04 +01:00
Matthias Ringwald
1ca3442b09 use singular for root level folders 2015-11-13 09:36:05 +01:00