| ba8a3e83 |
doc: Add the mgmt interface versions and how the map to kernel releases |
Marcel Holtmann |
12 years ago |
1 file, +21, -4 |
| ca7f6e5f |
tools/l2cap-tester: Add getpeername test case when not connected |
Johan Hedberg |
12 years ago |
1 file, +36, -0 |
| cabb62a1 |
build: Fix make check
Fix not checking for ENOTSOCK while setting priority. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +18, -14 |
| 55c3cacc |
android/hal-audio: Set stream fd to blocking
This makes the stream to block on io operation so it does not return
EAGAIN on syscall such as write. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +22, -1 |
| 0220ba41 |
android/hal-audio: Fix not handling EINTR errors
If the kernel interrupts us while writting just try again. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +13, -6 |
| 0212a969 |
android/AVDTP: Make stream channel priority 5
This makes channel priority 5 so it has higher priority than regular
traffic but less than signalling channel. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +9, -0 |
| 6fe28e35 |
android/AVDTP: Make signalling channel priority 6
This makes signalling priority 6 so it can push commands before the
stream channel, without this the stream channel may be schedule
first and cause the signalling commands to timeout while waiting a slot. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +9, -1 |
| e320320c |
core: Fix rejecting ATT packets greater than the negotiated MTU |
Johan Hedberg |
12 years ago |
1 file, +6, -0 |
| c8791dd8 |
android/pts: PTS test results for GAP |
Sebastian Chlad |
12 years ago |
1 file, +9, -9 |
| 14950186 |
android/pts: PTS test results for DID |
Sebastian Chlad |
12 years ago |
1 file, +1, -1 |
| 3688eb75 |
android/pts: PTS test results for A2DP |
Sebastian Chlad |
12 years ago |
1 file, +11, -9 |
| fa498a0e |
android/pts: Add PTS test results for AVRCP |
Sebastian Chlad |
12 years ago |
1 file, +7, -7 |
| 69637226 |
android/pan: Handle error case properly in NAP registration |
Ravi kumar Veeramally |
12 years ago |
1 file, +10, -3 |
| 1c233022 |
android/pan: Fix control state change callback parameters order
Callback declared in bt_pan.h is
'typedef void (*btpan_control_state_callback)
(btpan_control_state_t state, bt_status_t error, int local_role,
const char* ifname);
But PanService.Java defined it wrong way.
private void onControlStateChanged(int local_role, int state,
int error, String ifname).
First and third parameters are misplaced, so sending data according
to PanService.Java, discard this fix if issue fixed in PanService.Java. |
Ravi kumar Veeramally |
12 years ago |
1 file, +11, -2 |
| c8886711 |
android: Trivial replacement of tabs where spaces are expected |
Anderson Lizardo |
12 years ago |
2 files, +2, -2 |
| 334254e4 |
android: Remove useless extra parenthesis |
Anderson Lizardo |
12 years ago |
3 files, +4, -4 |
| 3badc45e |
android/tester: Fix crash on failure inside setup()
The various setup_* functions were still continuing even though setup()
failed and did not initialize data->if_bluetooth properly.
Also do a little refactoring by moving tester_setup_failed() calls to
the setup() callers, so they stay close to the other failure points and
not hidden deep into a helper function.
Crash detected by Valgrind:
==4959== Invalid read of size 4
==4959== at 0x805967A: setup_base (android-tester.c:2029)
==4959== by 0x8055541: setup_callback (tester.c:373)
==4959== by 0x408348F: g_idle_dispatch (gmain.c:5250)
==4959== by 0x4086A75: g_main_context_dispatch (gmain.c:3065)
==4959== by 0x4086E14: g_main_context_iterate.isra.23 (gmain.c:3712)
==4959== by 0x40872FA: g_main_loop_run (gmain.c:3906)
==4959== by 0x41744D2: (below main) (libc-start.c:226)
==4959== Address 0x4 is not stack'd, malloc'd or (recently) free'd |
Anderson Lizardo |
12 years ago |
1 file, +46, -39 |
| 791e8173 |
core: Rename adapter_remove_device to btd_adapter_remove_device
Allow this symbol to be exported and usable from external plugins. |
Petri Gynther |
12 years ago |
2 files, +10, -7 |
| 1d1f856b |
android/avctp: Trivial cleanup code
Avoid extra header calculation and fix wrong line indentation. |
Andrei Emeltchenko |
12 years ago |
1 file, +2, -3 |
| 93719be1 |
unit/avdtp: trivial: Remove empty line |
Andrei Emeltchenko |
12 years ago |
1 file, +0, -1 |
| db994dac |
unit/ringbuf: Fix memory leak
free allocated memory before exit |
Andrei Emeltchenko |
12 years ago |
1 file, +6, -1 |
| 64bc9653 |
emulator: Fix crash if socket(AF_ALG) is not supported by the kernel
In this situation, smp_stop() was being called with NULL pointer.
Crash detected by valgrind:
==7925== Invalid read of size 4
==7925== at 0x8052F18: smp_stop (smp.c:480)
==7925== by 0x8052542: bthost_stop (bthost.c:2073)
==7925== by 0x805521D: hciemu_unref (hciemu.c:372)
==7925== by 0x8058C65: test_post_teardown (android-tester.c:464)
==7925== by 0x8055DE7: tester_teardown_complete (tester.c:533)
==7925== by 0x8055501: teardown_callback (tester.c:312)
==7925== by 0x408348F: g_idle_dispatch (gmain.c:5250)
==7925== by 0x4086A75: g_main_context_dispatch (gmain.c:3065)
==7925== by 0x4086E14: g_main_context_iterate.isra.23 (gmain.c:3712)
==7925== by 0x40872FA: g_main_loop_run (gmain.c:3906)
==7925== by 0x41744D2: (below main) (libc-start.c:226)
==7925== Address 0x8 is not stack'd, malloc'd or (recently) free'd |
Anderson Lizardo |
12 years ago |
1 file, +4, -2 |
| 39a53c09 |
shared: Fix undefined behavior when calculating next power of two
According to GCC documentation, __builtin_clz() is undefined if argument
is zero. The following problem was detected when compiling with -O0:
ERROR:unit/test-ringbuf.c:70:test_power2: assertion failed: (size1 ==
size2)
Also refactor align_power2() so the internal "find last set bit"
operation is in its own fls() function (similar to how kernel does).
fls() checks if argument is zero before calling __builtin_clz(). |
Anderson Lizardo |
12 years ago |
2 files, +14, -2 |
| d1009b35 |
unit/test-ringbuf: Fix indentation |
Anderson Lizardo |
12 years ago |
1 file, +1, -1 |
| f047cb6a |
android: Fix typo in configure.ac path |
Marcel Holtmann |
12 years ago |
1 file, +1, -1 |
| 2dc5a7df |
android: Second attempt to extrac version number for OSX builds |
Marcel Holtmann |
12 years ago |
1 file, +1, -1 |
| dc675d82 |
android/AVRCP: Add initial socket handling
This adds the initial socket listening and handling incoming connections. |
Luiz Augusto von Dentz |
12 years ago |
2 files, +129, -4 |
| 5826775e |
android/AVCTP: Add avctp_set_destroy_cb
This adds avctp_set_destroy_cb that can be use to set a callback when
the AVCTP has been disconnected. |
Luiz Augusto von Dentz |
12 years ago |
2 files, +16, -0 |
| 538237b2 |
android/AVRCP: Add implementation of SDP record
This adds the following record:
Service Name: AVRCP TG
Service RecHandle: 0x10002
Service Class ID List:
"AV Remote Target" (0x110c)
Protocol Descriptor List:
"L2CAP" (0x0100)
PSM: 23
"AVCTP" (0x0017)
uint16: 0x103
Profile Descriptor List:
"AV Remote" (0x110e)
Version: 0x0100 |
Luiz Augusto von Dentz |
12 years ago |
1 file, +97, -0 |
| 7568d14b |
android/haltest: Add init and cleanup calls to rc methods |
Luiz Augusto von Dentz |
12 years ago |
6 files, +62, -1 |
| 44ef6f0c |
android: Add initial skeleton for AVRCP in the HAL |
Luiz Augusto von Dentz |
12 years ago |
5 files, +94, -0 |
| c466e79d |
android: Add initial skeleton for AVRCP in the daemon |
Luiz Augusto von Dentz |
12 years ago |
5 files, +97, -0 |
| 51753d8e |
android/AVCTP: Strip dependencies
This strips AVCTP code of any dependency of core and btio to make it
transport agnostic. |
Luiz Augusto von Dentz |
12 years ago |
4 files, +134, -702 |
| 7dbdc87e |
android: Add copy of current AVCTP implemention
These files are not added to any makefile on purpose because they still
have external dependencies. |
Luiz Augusto von Dentz |
12 years ago |
2 files, +2183, -0 |
| 5b2c07b1 |
android: Use sed instead of cpp to extract version number |
Marcel Holtmann |
12 years ago |
1 file, +1, -1 |
| 5484736c |
android: Fix leftover src/log.h include |
Marcel Holtmann |
12 years ago |
1 file, +1, -1 |
| c1add0ff |
android: Use src/log.h include instead of just log.h |
Marcel Holtmann |
12 years ago |
7 files, +7, -7 |
| 7f218e37 |
android: Remove unneeded include path for src directory |
Marcel Holtmann |
12 years ago |
1 file, +0, -1 |
| 8ed6c381 |
obexd: Make btio/btio.h include local |
Marcel Holtmann |
12 years ago |
5 files, +7, -5 |
| 6648e011 |
attrib: Make btio/btio.h include local |
Marcel Holtmann |
12 years ago |
4 files, +4, -4 |
| 452eaaa9 |
profiles: Make btio/btio.h include local |
Marcel Holtmann |
12 years ago |
11 files, +12, -12 |
| 926f0d61 |
build: Make btio/btio.h include local |
Marcel Holtmann |
12 years ago |
4 files, +6, -5 |
| 1d2504d8 |
tools: Make btio/btio.h include local |
Marcel Holtmann |
12 years ago |
3 files, +3, -3 |
| fc9c240b |
build: Remove unneeded include directories |
Marcel Holtmann |
12 years ago |
1 file, +1, -2 |
| 61fea278 |
android: Use full include path for header files |
Marcel Holtmann |
12 years ago |
1 file, +1, -1 |
| a6dc9bdd |
tools: Use full include path for header files |
Marcel Holtmann |
12 years ago |
4 files, +6, -6 |
| 3b3e29cb |
core: Use full include path for header files |
Marcel Holtmann |
12 years ago |
1 file, +4, -4 |
| cf458ad2 |
attrib: Use full include path for header files |
Marcel Holtmann |
12 years ago |
2 files, +11, -11 |
| 0b748239 |
plugins: Use full include path for header files |
Marcel Holtmann |
12 years ago |
6 files, +29, -29 |
| 8c45ca3f |
profiles: Use full include path for header files |
Marcel Holtmann |
12 years ago |
44 files, +237, -221 |