|
@@ -4145,9 +4145,19 @@ void ex_btc8723b2ant_bt_info_notify(struct btc_coexist *btcoexist,
|
|
|
coex_sta->bt_retry_cnt =
|
|
|
coex_sta->bt_info_c2h[rsp_source][2] & 0xf;
|
|
|
|
|
|
+ if (coex_sta->bt_retry_cnt >= 1)
|
|
|
+ coex_sta->pop_event_cnt++;
|
|
|
+
|
|
|
coex_sta->bt_rssi =
|
|
|
coex_sta->bt_info_c2h[rsp_source][3] * 2 + 10;
|
|
|
|
|
|
+ coex_sta->bt_info_ext = coex_sta->bt_info_c2h[rsp_source][4];
|
|
|
+
|
|
|
+ if (coex_sta->bt_info_c2h[rsp_source][2] & 0x20)
|
|
|
+ coex_sta->c2h_bt_remote_name_req = true;
|
|
|
+ else
|
|
|
+ coex_sta->c2h_bt_remote_name_req = false;
|
|
|
+
|
|
|
if (coex_sta->bt_info_c2h[rsp_source][1] == 0x49)
|
|
|
coex_sta->a2dp_bit_pool =
|
|
|
coex_sta->bt_info_c2h[rsp_source][6];
|
|
@@ -4222,6 +4232,16 @@ void ex_btc8723b2ant_bt_info_notify(struct btc_coexist *btcoexist,
|
|
|
coex_sta->sco_exist = true;
|
|
|
else
|
|
|
coex_sta->sco_exist = false;
|
|
|
+
|
|
|
+ if ((!coex_sta->hid_exist) &&
|
|
|
+ (!coex_sta->c2h_bt_inquiry_page) &&
|
|
|
+ (!coex_sta->sco_exist)) {
|
|
|
+ if (coex_sta->high_priority_tx +
|
|
|
+ coex_sta->high_priority_rx >= 160) {
|
|
|
+ coex_sta->hid_exist = true;
|
|
|
+ bt_info = bt_info | 0x28;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
btc8723b2ant_update_bt_link_info(btcoexist);
|