rtl8761at: support bt remote control wakeup host
authorWeiguo Hu <hwg@rock-chips.com>
Tue, 25 Sep 2018 07:39:20 +0000 (15:39 +0800)
committerWeiguo Hu <hwg@rock-chips.com>
Tue, 25 Sep 2018 07:39:20 +0000 (15:39 +0800)
Change-Id: I463e9c7861c1eded000e4b340b7e7c905f21da96

rtkbt/code/libbt-vendor/src/rtk_heartbeat.c
rtkbt/vendor/firmware_box/rtl8761at_config
rtkbt/vendor/firmware_box/rtl8761at_fw

index a6cb636ea9abc458c713d77b544e32a52f688a94..9a8fe05147d69b6d6b833e9455676519a5a1858f 100755 (executable)
@@ -138,7 +138,7 @@ static void rtkbt_heartbeat_cmpl_cback (void *p_params)
         ALOGE("rtkbt_heartbeat_cmpl_cback: Current SeqNum = %d,should SeqNum=%d, status = %d", seqnum, nextSeqNum, status);
         ALOGE("heartbeat event missing:  restart bluedroid stack\n");
         usleep(1000);
-        kill(getpid(), SIGKILL);
+        //kill(getpid(), SIGKILL);
     }
    
 }
@@ -159,7 +159,7 @@ static void heartbeat_timed_out()//(union sigval arg)
         ALOGE("heartbeat_timed_out: heartbeatCount = %d, expected nextSeqNum = %d",heartbeatCount, nextSeqNum);
         ALOGE("heartbeat_timed_out,controller may be suspend! Now restart bluedroid stack\n");
         usleep(1000);
-        kill(getpid(), SIGKILL);
+        //kill(getpid(), SIGKILL);
         return;
     }
     if(heartbeatFlag)
index 786a44510d678bd8239245e655a9f7f3a55ba82c..30d2eb7115e9cae81c9bb36ed72b2ea3401c837c 100755 (executable)
Binary files a/rtkbt/vendor/firmware_box/rtl8761at_config and b/rtkbt/vendor/firmware_box/rtl8761at_config differ
index 250e7a1e3405699421df99110ad5265f9d619208..f5a2dfc3894571a332894568781348d6d1caa95e 100755 (executable)
Binary files a/rtkbt/vendor/firmware_box/rtl8761at_fw and b/rtkbt/vendor/firmware_box/rtl8761at_fw differ