diff options
author | Balraj Selvaraj <bselva@codeaurora.org> | 2015-07-21 20:50:27 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:21:48 -0600 |
commit | 273de486f3b1771be80b83ed30fa7df4449c7eab (patch) | |
tree | d6e6a7e862ff9c5c00794ac1248dfa469376670f /stack/btu/btu_task.c | |
parent | fc0cea9ec50c0b35ddfc28b269980da2ca7dc109 (diff) | |
download | android_system_bt-273de486f3b1771be80b83ed30fa7df4449c7eab.tar.gz android_system_bt-273de486f3b1771be80b83ed30fa7df4449c7eab.tar.bz2 android_system_bt-273de486f3b1771be80b83ed30fa7df4449c7eab.zip |
Bluetooth: LE-L2CAP-COC on M.
LE L2CAP Connection Oriented Channel implementation for
credit based flow control on LE L2CAP.
- This feature is enabled only when BLE feature is enabled.
- Handled signalling commands on channel id 5 to establish
the connection of LE COC.
- Implemented the SM for LE L2CAP channel to handle events
from App layer and hci layer.
- Introduced security levels for LE L2CAP channels.
- Introduced tranport variable for major functions where
BREDR and LE shares common data structures.
- Implemented segmentation and reassembly of LE L2CAP SDU.
- Introduced congestion mechanism for LE L2CAP channel
- As the new LE L2CAP callbacks not required for existing
BREDR services, made it as null for newly introduced
LE L2CAP callbacks.
- New APIs introduced for LE L2CAP connection establishment.
- New APIs provided for LE L2CAP security procedure.
- Relevent L2cap APIs from Test app interface exposed to the
test tool.
- New macros, definitions, structures introduced for LE L2CAP
channel establishment/data tranfer.
CRs-Fixed: 776657
Change-Id: I50a24374659f9802cbc92421db139f75f2790f2e
Diffstat (limited to 'stack/btu/btu_task.c')
-rw-r--r-- | stack/btu/btu_task.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stack/btu/btu_task.c b/stack/btu/btu_task.c index e2b899efd..40132ac87 100644 --- a/stack/btu/btu_task.c +++ b/stack/btu/btu_task.c @@ -324,6 +324,11 @@ void btu_task_shut_down(UNUSED_ATTR void *context) { bta_sys_free(); btu_free_core(); + +#if (defined(LE_L2CAP_CFC_INCLUDED) && (LE_L2CAP_CFC_INCLUDED == TRUE)) + l2c_cleanup(); +#endif + } /******************************************************************************* |