diff options
author | Matadeen Mishra <matade@codeaurora.org> | 2015-09-18 11:19:43 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:22:15 -0600 |
commit | 9b70a427fa31dc4b6958c5f7c9040ff4812047da (patch) | |
tree | 135e313aab67cbff43c8f3cce0c9b18cb199a8ce /stack/rfcomm/rfc_utils.c | |
parent | 0431fc046f77958fab92989f07933c4bb96384bb (diff) | |
download | android_system_bt-9b70a427fa31dc4b6958c5f7c9040ff4812047da.tar.gz android_system_bt-9b70a427fa31dc4b6958c5f7c9040ff4812047da.tar.bz2 android_system_bt-9b70a427fa31dc4b6958c5f7c9040ff4812047da.zip |
Bluetooth:CoreStack: DUT Stack Logging
DUT stack information logging:
-L2CAP configuration parameter,
-Device role information
-L2CAP flow control and congestion information
-L2CAP State machine and events
-RFCOMM credits count
change-id: I6e74bdb1cda4455c50314f67bbcd19accd3c31e4
CRs-Fixed:602294
Bluetooth:CoreStack: DUT Stack Logging set2
DUT stack information logging:
-L2CAP CIDs, PSM and MTU
-removed RFCOMM credits count from default logs
change-id: I7a25d751b200e8ece87f9e5fd79ab48d736087cb
CRs-Fixed: 602294
Bluetooth: Add debug logs for the remote device information
change-id: I857016c056635907586d8a9d0d577edde4efc34a
Add logs to provide the below remote device information
- Remote device features
- Service class
- LMP version, subversion, manufacturer
- Role changed event
CRs-Fixed: 602291
Change-Id: I99f51841716e27ef7170b7566379b975c99a65e0
Diffstat (limited to 'stack/rfcomm/rfc_utils.c')
-rw-r--r-- | stack/rfcomm/rfc_utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stack/rfcomm/rfc_utils.c b/stack/rfcomm/rfc_utils.c index e2cff2855..63657f814 100644 --- a/stack/rfcomm/rfc_utils.c +++ b/stack/rfcomm/rfc_utils.c @@ -381,7 +381,7 @@ void rfc_port_closed (tPORT *p_port) { tRFC_MCB *p_mcb = p_port->rfc.p_mcb; - RFCOMM_TRACE_DEBUG ("rfc_port_closed"); + RFCOMM_TRACE_WARNING ("rfc_port_closed"); rfc_port_timer_stop (p_port); @@ -441,6 +441,7 @@ void rfc_dec_credit (tPORT *p_port) { if (p_port->credit_tx > 0) p_port->credit_tx--; + RFCOMM_TRACE_EVENT ("rfc_dec_credit:%d", p_port->credit_tx); if (p_port->credit_tx == 0) p_port->tx.peer_fc = TRUE; |